#include <CTPPSDiamondDigi.h>
Public Member Functions | |
CTPPSDiamondDigi () | |
CTPPSDiamondDigi (unsigned int ledgt_, unsigned int tedgt_, unsigned int threvolt, bool mhit_, unsigned short hptdcerror_) | |
HPTDCErrorFlags | hptdcErrorFlags () const |
unsigned int | leadingEdge () const |
Return digi values number. More... | |
bool | multipleHit () const |
bool | operator== (const CTPPSDiamondDigi &digi) const |
Digis are equal if they are have same ledt and tedt, threshold voltage, multihit flag, hptdcerror flags. More... | |
void | setHPTDCErrorFlags (const HPTDCErrorFlags &hptdcerror_) |
void | setLeadingEdge (unsigned int ledgt_) |
Set digi values. More... | |
void | setMultipleHit (bool mhit_) |
void | setThresholdVoltage (unsigned int threvolt_) |
void | setTrailingEdge (unsigned int tedgt_) |
unsigned int | thresholdVoltage () const |
unsigned int | trailingEdge () const |
~CTPPSDiamondDigi () | |
Private Attributes | |
HPTDCErrorFlags | hptdcerror |
unsigned int | ledgt |
bool | mhit |
unsigned int | tedgt |
unsigned int | threvolt |
Digi Class for CTPPS Timing Detector
Definition at line 16 of file CTPPSDiamondDigi.h.
CTPPSDiamondDigi::CTPPSDiamondDigi | ( | unsigned int | ledgt_, |
unsigned int | tedgt_, | ||
unsigned int | threvolt, | ||
bool | mhit_, | ||
unsigned short | hptdcerror_ | ||
) |
Definition at line 11 of file CTPPSDiamondDigi.cc.
CTPPSDiamondDigi::CTPPSDiamondDigi | ( | ) |
Definition at line 15 of file CTPPSDiamondDigi.cc.
|
inline |
Definition at line 21 of file CTPPSDiamondDigi.h.
|
inline |
Definition at line 36 of file CTPPSDiamondDigi.h.
References hptdcerror.
Referenced by operator<<(), and operator==().
|
inline |
Return digi values number.
Definition at line 28 of file CTPPSDiamondDigi.h.
References ledgt.
Referenced by operator<<(), and operator==().
|
inline |
Definition at line 34 of file CTPPSDiamondDigi.h.
References mhit.
Referenced by operator<<(), and operator==().
bool CTPPSDiamondDigi::operator== | ( | const CTPPSDiamondDigi & | digi | ) | const |
Digis are equal if they are have same ledt and tedt, threshold voltage, multihit flag, hptdcerror flags.
Definition at line 18 of file CTPPSDiamondDigi.cc.
References HPTDCErrorFlags::errorFlag(), hptdcerror, hptdcErrorFlags(), leadingEdge(), ledgt, mhit, multipleHit(), tedgt, thresholdVoltage(), threvolt, and trailingEdge().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 32 of file CTPPSDiamondDigi.h.
References threvolt.
Referenced by operator<<(), and operator==().
|
inline |
Definition at line 30 of file CTPPSDiamondDigi.h.
References tedgt.
Referenced by operator<<(), and operator==().
|
private |
Definition at line 54 of file CTPPSDiamondDigi.h.
Referenced by hptdcErrorFlags(), operator==(), and setHPTDCErrorFlags().
|
private |
Definition at line 47 of file CTPPSDiamondDigi.h.
Referenced by leadingEdge(), operator==(), and setLeadingEdge().
|
private |
Definition at line 53 of file CTPPSDiamondDigi.h.
Referenced by multipleHit(), operator==(), and setMultipleHit().
|
private |
Definition at line 49 of file CTPPSDiamondDigi.h.
Referenced by operator==(), setTrailingEdge(), and trailingEdge().
|
private |
Definition at line 51 of file CTPPSDiamondDigi.h.
Referenced by operator==(), setThresholdVoltage(), and thresholdVoltage().