#include <PMTDSimAccumulator.h>
Public Member Functions | |
Data () | |
Data (unsigned short ei, unsigned short si, unsigned short d) | |
unsigned int | data () const |
unsigned int | energyIndex () const |
unsigned int | sampleIndex () const |
Static Public Attributes | |
static constexpr unsigned | dataMask = 0xffff |
static constexpr unsigned | energyMask = 0x3 |
static constexpr unsigned | energyOffset = 4 |
static constexpr 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().
|
static |
Definition at line 35 of file PMTDSimAccumulator.h.
Referenced by data(), mtd_digitizer::loadSimHitAccumulator(), and mtd_digitizer::saveSimHitAccumulator().
|
static |
Definition at line 33 of file PMTDSimAccumulator.h.
Referenced by mtd_digitizer::loadSimHitAccumulator(), and mtd_digitizer::saveSimHitAccumulator().
|
static |
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().
|
static |
Definition at line 34 of file PMTDSimAccumulator.h.
Referenced by mtd_digitizer::loadSimHitAccumulator(), sampleIndex(), and mtd_digitizer::saveSimHitAccumulator().