13 : theCounts(nTDC), theWire(wire), theNumber(
number), theTDCBase(
base) {
20 : theCounts(static_cast<
int>(tdrift / 25. *
base)), theWire(wire), theNumber(
number), theTDCBase(
base) {
50 cout <<
"Wire " <<
wire() <<
" Digi # " <<
number() <<
" Drift time (ns) " <<
time() << endl;
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.
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.