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_);
unsigned short errorFlag() const
void setTrailingEdge(unsigned int tedgt_)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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
unsigned int leadingEdge() const
Return digi values number.
void setHPTDCErrorFlags(const HPTDCErrorFlags &hptdcerror_)
bool operator<(DTCELinkId const &lhs, DTCELinkId const &rhs)
unsigned int thresholdVoltage() const
HPTDCErrorFlags hptdcErrorFlags() const
void setThresholdVoltage(unsigned int threvolt_)
void setLeadingEdge(unsigned int ledgt_)
Set digi values.