#include <PMTDSimAccumulator.h>
Public Member Functions | |
Data () | |
unsigned int | data () const |
Data (unsigned short ei, unsigned short si, unsigned short d) | |
unsigned int | energyIndex () const |
unsigned int | sampleIndex () const |
Static Public Attributes | |
constexpr static unsigned | dataMask = 0xffff |
constexpr static unsigned | energyMask = 0x3 |
constexpr static unsigned | energyOffset = 4 |
constexpr static unsigned | sampleMask = 0xf |
Private Attributes | |
unsigned short | data_ |
unsigned char | indices_ |
Definition at line 30 of file PMTDSimAccumulator.h.
|
inline |
Definition at line 37 of file PMTDSimAccumulator.h.
|
inline |
Definition at line 38 of file PMTDSimAccumulator.h.
|
inline |
Definition at line 42 of file PMTDSimAccumulator.h.
References data_, and dataMask.
Referenced by PMTDSimAccumulator::TmpElem::data().
|
inline |
Definition at line 40 of file PMTDSimAccumulator.h.
References energyOffset, and indices_.
Referenced by PMTDSimAccumulator::TmpElem::energyIndex().
|
inline |
Definition at line 41 of file PMTDSimAccumulator.h.
References indices_, and sampleMask.
Referenced by PMTDSimAccumulator::TmpElem::sampleIndex().
|
private |
Definition at line 45 of file PMTDSimAccumulator.h.
Referenced by data().
|
staticconstexpr |
Definition at line 35 of file PMTDSimAccumulator.h.
Referenced by data(), mtd_digitizer::loadSimHitAccumulator(), and mtd_digitizer::saveSimHitAccumulator().
|
staticconstexpr |
Definition at line 33 of file PMTDSimAccumulator.h.
Referenced by mtd_digitizer::loadSimHitAccumulator(), and mtd_digitizer::saveSimHitAccumulator().
|
staticconstexpr |
Definition at line 32 of file PMTDSimAccumulator.h.
Referenced by energyIndex().
|
private |
Definition at line 46 of file PMTDSimAccumulator.h.
Referenced by energyIndex(), and sampleIndex().
|
staticconstexpr |
Definition at line 34 of file PMTDSimAccumulator.h.
Referenced by mtd_digitizer::loadSimHitAccumulator(), sampleIndex(), and mtd_digitizer::saveSimHitAccumulator().