1 #ifndef DTDigi_DTDigi_h 2 #define DTDigi_DTDigi_h 78 return o <<
" " << digi.
wire() <<
" " << digi.
time() <<
" " << digi.
number();
int wire() const
Return wire number.
int32_t countsTDC() const
Get raw TDC count.
double time() const
Get time in ns.
int tdcBase() const
Get the TDC base (counts per BX)
DTDigi()
Default construction.
int number() const
Identifies different digis within the same cell.
std::ostream & operator<<(std::ostream &o, const DTDigi &digi)
void print() const
Print content of digi.
bool operator==(const DTDigi &digi) const
Digis are equal if they are on the same cell and have same TDC count.
double tdcUnit() const
Get the TDC unit value in ns.