#include <EcalPseudoStripInputDigi.h>
Public Types | |
typedef EcalTriggerElectronicsId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
EcalPseudoStripInputDigi () | |
EcalPseudoStripInputDigi (const EcalTriggerElectronicsId &id) | |
bool | fineGrain () const |
get the fine-grain bit of interesting sample More... | |
const EcalTriggerElectronicsId & | id () const |
bool | isDebug () const |
True if debug mode (# of samples > 1) More... | |
const EcalPseudoStripInputSample & | operator[] (int i) const |
int | pseudoStripInput () const |
get the encoded/compressed Et of interesting sample More... | |
const EcalPseudoStripInputSample & | sample (int i) const |
int | sampleOfInterest () const |
Gets the interesting sample. More... | |
void | setSample (int i, const EcalPseudoStripInputSample &sam) |
void | setSampleValue (int i, uint16_t value) |
void | setSize (int size) |
int | size () const |
Static Public Attributes | |
static const int | MAXSAMPLES = 20 |
Private Attributes | |
std::vector< EcalPseudoStripInputSample > | data_ |
EcalTriggerElectronicsId | id_ |
int | size_ |
Definition at line 15 of file EcalPseudoStripInputDigi.h.
For the sorted collection.
Definition at line 17 of file EcalPseudoStripInputDigi.h.
EcalPseudoStripInputDigi::EcalPseudoStripInputDigi | ( | ) |
Definition at line 4 of file EcalPseudoStripInputDigi.cc.
|
explicit |
Definition at line 7 of file EcalPseudoStripInputDigi.cc.
bool EcalPseudoStripInputDigi::fineGrain | ( | ) | const |
get the fine-grain bit of interesting sample
Definition at line 32 of file EcalPseudoStripInputDigi.cc.
References data_, sample(), and sampleOfInterest().
|
inline |
Definition at line 22 of file EcalPseudoStripInputDigi.h.
References id_.
Referenced by operator<<().
bool EcalPseudoStripInputDigi::isDebug | ( | ) | const |
True if debug mode (# of samples > 1)
Definition at line 41 of file EcalPseudoStripInputDigi.cc.
References size_.
|
inline |
Definition at line 25 of file EcalPseudoStripInputDigi.h.
int EcalPseudoStripInputDigi::pseudoStripInput | ( | ) | const |
get the encoded/compressed Et of interesting sample
get the pseudoStrip input of interesting sample
Definition at line 22 of file EcalPseudoStripInputDigi.cc.
References data_, sample(), and sampleOfInterest().
|
inline |
Definition at line 26 of file EcalPseudoStripInputDigi.h.
References data_, i, setSize(), and size().
Referenced by fineGrain(), operator<<(), and pseudoStripInput().
int EcalPseudoStripInputDigi::sampleOfInterest | ( | ) | const |
Gets the interesting sample.
Definition at line 11 of file EcalPseudoStripInputDigi.cc.
References size_.
Referenced by fineGrain(), and pseudoStripInput().
|
inline |
Definition at line 29 of file EcalPseudoStripInputDigi.h.
Referenced by EcalElectronicsMapper::fillMaps().
|
inline |
Definition at line 30 of file EcalPseudoStripInputDigi.h.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection().
void EcalPseudoStripInputDigi::setSize | ( | int | size | ) |
Definition at line 50 of file EcalPseudoStripInputDigi.cc.
References MAXSAMPLES, size(), and size_.
Referenced by EcalElectronicsMapper::fillMaps(), and sample().
|
inline |
Definition at line 23 of file EcalPseudoStripInputDigi.h.
References size_.
Referenced by ntuple._Collection::__iter__(), ntuple._Collection::__len__(), operator<<(), sample(), and setSize().
|
private |
Definition at line 51 of file EcalPseudoStripInputDigi.h.
Referenced by fineGrain(), operator[](), pseudoStripInput(), sample(), setSample(), and setSampleValue().
|
private |
Definition at line 49 of file EcalPseudoStripInputDigi.h.
Referenced by id().
|
static |
Definition at line 32 of file EcalPseudoStripInputDigi.h.
Referenced by setSize().
|
private |
Definition at line 50 of file EcalPseudoStripInputDigi.h.
Referenced by isDebug(), sampleOfInterest(), setSize(), and size().