26 theCounts(static_cast<int>(tdrift/reso)),
78 if (nTDC<0)
cout <<
"WARNING: DTDigi::setCountsTDC: negative TDC count not supported "
90 <<
" Drift time (ns) " <<
time() << endl;
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.
int wire() const
Return wire number.
void setCountsTDC(int nTDC)
Set with a TDC count.
double time() const
Get time in ns.
DTDigi()
Default construction.
uint32_t countsTDC() const
Get raw TDC count.
void setTime(double time)
Set with a time in ns.
int number() const
Identifies different digis within the same.