2#ifndef TRACKING_EVENT_RAWSISTRIPHIT_H_
3#define TRACKING_EVENT_RAWSISTRIPHIT_H_
111 friend std::ostream &
operator<<(std::ostream &output,
Implementation of a raw digitized hit from a silicon strip detector.
long getTime() const
Get the time stamp of this hit.
long time_
The hit time stamp in units of ns.
RawSiStripHit()=default
Default constructor.
void clear()
Clear the vector of samples and set the timestamp to 0.
virtual ~RawSiStripHit()
Destructor.
std::vector< short > samples_
16 bit ADC samples associated with this hit.
std::vector< short > getSamples() const
Get the digitized (ADC) samples composing this hit.
bool operator<(const RawSiStripHit &rhs) const
When the less than operator is used for comparison, return true if this hit's time is less than the h...
ClassDef(RawSiStripHit, 2)
Class declaration needed by the ROOT dictionary.
friend std::ostream & operator<<(std::ostream &o, const RawSiStripHit &d)
Print the string representation of this object.