2#ifndef TRACKING_EVENT_SISTRIPHIT_H_
3#define TRACKING_EVENT_SISTRIPHIT_H_
Abstract base class for a silicon strip detector hit.
SiStripHit()=default
Default constructor.
long time_
The hit time stamp in units of ns.
std::vector< short > getSamples() const
Get the digitized (ADC) samples composing this hit.
virtual ~SiStripHit()=default
Destructor.
void clearBase()
Clear the fields owned by the base class.
virtual void clear()=0
Clear the data in the object.
ClassDef(SiStripHit, 1)
Class declaration needed by the ROOT dictionary.
SiStripHit(std::vector< short > samples, long time)
Constructor used by derived classes to initialize the shared fields.
long getTime() const
Get the time stamp of this hit.
bool operator<(const SiStripHit &rhs) const
When the less than operator is used for comparison, return true if this hit's time is less than the h...
std::vector< short > samples_
16 bit ADC samples associated with this hit.