Go to the documentation of this file. 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_);
60 if (
one.leadingEdge() <
other.leadingEdge())
62 if (
one.leadingEdge() >
other.leadingEdge())
64 if (
one.trailingEdge() <
other.trailingEdge())
66 if (
one.trailingEdge() >
other.trailingEdge())
68 if (
one.multipleHit() <
other.multipleHit())
70 if (
one.multipleHit() >
other.multipleHit())
72 if (
one.hptdcErrorFlags().errorFlag() <
other.hptdcErrorFlags().errorFlag())
74 if (
one.hptdcErrorFlags().errorFlag() >
other.hptdcErrorFlags().errorFlag())
76 if (
one.thresholdVoltage() <
other.thresholdVoltage())
78 if (
one.thresholdVoltage() >
other.thresholdVoltage())
unsigned short errorFlag() const
void setHPTDCErrorFlags(const HPTDCErrorFlags &hptdcerror_)
bool operator<(const CTPPSDiamondDigi &one, const CTPPSDiamondDigi &other)
void setThresholdVoltage(unsigned int threvolt_)
unsigned int thresholdVoltage() const
void setLeadingEdge(unsigned int ledgt_)
Set digi values.
unsigned int leadingEdge() const
Return digi values number.
std::ostream & operator<<(std::ostream &o, const CTPPSDiamondDigi &digi)
void setTrailingEdge(unsigned int tedgt_)
bool operator==(const CTPPSDiamondDigi &digi) const
Digis are equal if they are have same ledt and tedt, threshold voltage, multihit flag,...
void setMultipleHit(bool mhit_)
unsigned int trailingEdge() const
HPTDCErrorFlags hptdcerror
HPTDCErrorFlags hptdcErrorFlags() const