1 #ifndef DTDigi_DTDigi_h 2 #define DTDigi_DTDigi_h 15 #include <boost/cstdint.hpp> 82 return o <<
" " << digi.
wire()
void print() const
Print content of digi.
bool operator==(const DTDigi &digi) const
Digis are equal if they are on the same cell and have same TDC count.
int wire() const
Return wire number.
void setCountsTDC(int nTDC)
Set with a TDC count.
double time() const
Get time in ns.
DTDigi()
Default construction.
uint32_t countsTDC() const
Get raw TDC count.
void setTime(double time)
Set with a time in ns.
std::ostream & operator<<(std::ostream &o, const DTDigi &digi)
int number() const
Identifies different digis within the same.