#include <CTPPSDiamondDigi.h>
Public Member Functions | |
CTPPSDiamondDigi (unsigned int ledgt_, unsigned int tedgt_, unsigned int threvolt, bool mhit_, unsigned short hptdcerror_) | |
CTPPSDiamondDigi () | |
HPTDCErrorFlags | getHPTDCErrorFlags () const |
unsigned int | getLeadingEdge () const |
Return digi values number. More... | |
bool | getMultipleHit () const |
unsigned int | getThresholdVoltage () const |
unsigned int | getTrailingEdge () 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_) |
~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 |
|
inline |
Definition at line 49 of file CTPPSDiamondDigi.h.
References hptdcerror.
Referenced by operator<(), operator<<(), and operator==().
|
inline |
Return digi values number.
Definition at line 29 of file CTPPSDiamondDigi.h.
References ledgt.
Referenced by operator<(), operator<<(), and operator==().
|
inline |
Definition at line 44 of file CTPPSDiamondDigi.h.
References mhit.
Referenced by operator<(), operator<<(), and operator==().
|
inline |
Definition at line 39 of file CTPPSDiamondDigi.h.
References threvolt.
Referenced by operator<(), operator<<(), and operator==().
|
inline |
Definition at line 34 of file CTPPSDiamondDigi.h.
References tedgt.
Referenced by operator<(), 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 21 of file CTPPSDiamondDigi.cc.
References HPTDCErrorFlags::getErrorFlag(), getHPTDCErrorFlags(), getLeadingEdge(), getMultipleHit(), getThresholdVoltage(), getTrailingEdge(), hptdcerror, ledgt, mhit, tedgt, and threvolt.
Referenced by ~CTPPSDiamondDigi().
|
inline |
|
inline |
|
inline |
Definition at line 67 of file CTPPSDiamondDigi.h.
References mhit.
|
inline |
Definition at line 63 of file CTPPSDiamondDigi.h.
|
inline |
|
private |
Definition at line 86 of file CTPPSDiamondDigi.h.
Referenced by getHPTDCErrorFlags(), operator==(), and setHPTDCErrorFlags().
|
private |
Definition at line 79 of file CTPPSDiamondDigi.h.
Referenced by getLeadingEdge(), operator==(), and setLeadingEdge().
|
private |
Definition at line 85 of file CTPPSDiamondDigi.h.
Referenced by getMultipleHit(), operator==(), and setMultipleHit().
|
private |
Definition at line 81 of file CTPPSDiamondDigi.h.
Referenced by getTrailingEdge(), operator==(), and setTrailingEdge().
|
private |
Definition at line 83 of file CTPPSDiamondDigi.h.
Referenced by getThresholdVoltage(), and operator==().