#include <PMTDSimAccumulator.h>
Classes | |
class | const_iterator |
class | Data |
class | DetIdSize |
class | TmpElem |
Public Member Functions | |
TmpElem | back () const |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
void | emplace_back (unsigned int detId, unsigned char row, unsigned char column, unsigned short energyIndex, unsigned short sampleIndex, unsigned short data) |
const_iterator | end () const |
PMTDSimAccumulator ()=default | |
void | reserve (size_t size) |
void | shrink_to_fit () |
~PMTDSimAccumulator ()=default | |
Private Attributes | |
std::vector< Data > | data_ |
std::vector< DetIdSize > | detIdSize_ |
Definition at line 9 of file PMTDSimAccumulator.h.
|
default |
|
default |
|
inline |
Definition at line 141 of file PMTDSimAccumulator.h.
References PMTDSimAccumulator::DetIdSize::column(), data_, PMTDSimAccumulator::DetIdSize::detId(), detIdSize_, and PMTDSimAccumulator::DetIdSize::row().
|
inline |
|
inline |
Definition at line 146 of file PMTDSimAccumulator.h.
Referenced by begin().
|
inline |
Definition at line 148 of file PMTDSimAccumulator.h.
References data_, and detIdSize_.
Referenced by end().
|
inline |
Adds data for a given detId, energyIndex, and sampleIndex.
It is the caller's responsibility to ensure that energyIndex, sampleIndex, and data fit in the space reserved for them in the Data bitfield above.
Definition at line 71 of file PMTDSimAccumulator.h.
References PMTDSimAccumulator::DetIdSize::column(), data_, and detIdSize_.
Referenced by mtd_digitizer::saveSimHitAccumulator().
|
inline |
Definition at line 149 of file PMTDSimAccumulator.h.
References cend().
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 54 of file PMTDSimAccumulator.h.
References data_, and detIdSize_.
Referenced by mtd_digitizer::saveSimHitAccumulator().
|
inline |
Definition at line 59 of file PMTDSimAccumulator.h.
References data_, and detIdSize_.
|
private |
Definition at line 153 of file PMTDSimAccumulator.h.
Referenced by back(), cend(), PMTDSimAccumulator::Data::data(), PMTDSimAccumulator::TmpElem::data(), emplace_back(), PMTDSimAccumulator::Data::energyIndex(), PMTDSimAccumulator::TmpElem::energyIndex(), reserve(), PMTDSimAccumulator::Data::sampleIndex(), PMTDSimAccumulator::TmpElem::sampleIndex(), and shrink_to_fit().
|
private |
Definition at line 152 of file PMTDSimAccumulator.h.
Referenced by back(), cend(), emplace_back(), reserve(), and shrink_to_fit().