1 #ifndef CTPPSDigi_CTPPSDiamondDigi_h 2 #define CTPPSDigi_CTPPSDiamondDigi_h 19 unsigned int ledgt_,
unsigned int tedgt_,
unsigned int threvolt,
bool mhit_,
unsigned short hptdcerror_);
bool operator<(const CTPPSDiamondDigi &one, const CTPPSDiamondDigi &other)
unsigned short errorFlag() const
void setTrailingEdge(unsigned int tedgt_)
void setMultipleHit(bool mhit_)
bool operator==(const CTPPSDiamondDigi &digi) const
Digis are equal if they are have same ledt and tedt, threshold voltage, multihit flag, hptdcerror flags.
unsigned int trailingEdge() const
HPTDCErrorFlags hptdcerror
std::ostream & operator<<(std::ostream &o, const CTPPSDiamondDigi &digi)
unsigned int leadingEdge() const
Return digi values number.
void setHPTDCErrorFlags(const HPTDCErrorFlags &hptdcerror_)
unsigned int thresholdVoltage() const
HPTDCErrorFlags hptdcErrorFlags() const
void setThresholdVoltage(unsigned int threvolt_)
void setLeadingEdge(unsigned int ledgt_)
Set digi values.