1 #ifndef CTPPSDigi_CTPPSDiamondDigi_h
2 #define CTPPSDigi_CTPPSDiamondDigi_h
20 CTPPSDiamondDigi(
unsigned int ledgt_,
unsigned int tedgt_,
unsigned int threvolt,
bool mhit_,
unsigned short hptdcerror_);
unsigned short getErrorFlag() const
void setTrailingEdge(unsigned int tedgt_)
unsigned int getThresholdVoltage() const
HPTDCErrorFlags getHPTDCErrorFlags() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void setMultipleHit(bool mhit_)
unsigned int getLeadingEdge() const
Return digi values number.
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
bool operator==(const CTPPSDiamondDigi &digi) const
Digis are equal if they are have same ledt and tedt, threshold voltage, multihit flag, hptdcerror flags.
HPTDCErrorFlags hptdcerror
void setHPTDCErrorFlags(const HPTDCErrorFlags &hptdcerror_)
bool getMultipleHit() const
unsigned int getTrailingEdge() const
void setThresholdVoltage(unsigned int threvolt_)
void setLeadingEdge(unsigned int ledgt_)
Set digi values.