12 unsigned int ledgt_,
unsigned int tedgt_,
unsigned int threvolt_,
bool mhit_,
unsigned short hptdcerror_)
13 : ledgt(ledgt_), tedgt(tedgt_), threvolt(threvolt_), mhit(mhit_), hptdcerror(
HPTDCErrorFlags(hptdcerror_)) {}
unsigned int thresholdVoltage() const
unsigned int leadingEdge() const
Return digi values number.
unsigned int trailingEdge() const
unsigned short errorFlag() const
bool operator==(const CTPPSDiamondDigi &digi) const
Digis are equal if they are have same ledt and tedt, threshold voltage, multihit flag, hptdcerror flags.
HPTDCErrorFlags hptdcErrorFlags() const
HPTDCErrorFlags hptdcerror