#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 13 of file EcalPseudoStripInputDigi.h.
For the sorted collection.
Definition at line 15 of file EcalPseudoStripInputDigi.h.
EcalPseudoStripInputDigi::EcalPseudoStripInputDigi | ( | ) |
Definition at line 3 of file EcalPseudoStripInputDigi.cc.
|
explicit |
Definition at line 5 of file EcalPseudoStripInputDigi.cc.
bool EcalPseudoStripInputDigi::fineGrain | ( | ) | const |
get the fine-grain bit of interesting sample
Definition at line 27 of file EcalPseudoStripInputDigi.cc.
References data_, sample(), and sampleOfInterest().
|
inline |
Definition at line 20 of file EcalPseudoStripInputDigi.h.
References id_.
Referenced by operator<<().
bool EcalPseudoStripInputDigi::isDebug | ( | ) | const |
True if debug mode (# of samples > 1)
Definition at line 35 of file EcalPseudoStripInputDigi.cc.
References size_.
|
inline |
Definition at line 23 of file EcalPseudoStripInputDigi.h.
References data_, and mps_fire::i.
int EcalPseudoStripInputDigi::pseudoStripInput | ( | ) | const |
get the encoded/compressed Et of interesting sample
get the pseudoStrip input of interesting sample
Definition at line 18 of file EcalPseudoStripInputDigi.cc.
References data_, sample(), and sampleOfInterest().
|
inline |
Definition at line 24 of file EcalPseudoStripInputDigi.h.
References data_, and mps_fire::i.
Referenced by fineGrain(), operator<<(), and pseudoStripInput().
int EcalPseudoStripInputDigi::sampleOfInterest | ( | ) | const |
Gets the interesting sample.
Definition at line 8 of file EcalPseudoStripInputDigi.cc.
References size_.
Referenced by fineGrain(), and pseudoStripInput().
|
inline |
Definition at line 27 of file EcalPseudoStripInputDigi.h.
References data_, and mps_fire::i.
Referenced by EcalElectronicsMapper::fillMaps().
|
inline |
Definition at line 28 of file EcalPseudoStripInputDigi.h.
References data_, and mps_fire::i.
Referenced by DCCEETCCBlock::addTriggerPrimitivesToCollection().
void EcalPseudoStripInputDigi::setSize | ( | int | size | ) |
Definition at line 43 of file EcalPseudoStripInputDigi.cc.
References MAXSAMPLES, size(), and size_.
Referenced by EcalElectronicsMapper::fillMaps().
|
inline |
Definition at line 21 of file EcalPseudoStripInputDigi.h.
References size_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), operator<<(), and setSize().
|
private |
Definition at line 47 of file EcalPseudoStripInputDigi.h.
Referenced by fineGrain(), operator[](), pseudoStripInput(), sample(), setSample(), and setSampleValue().
|
private |
Definition at line 45 of file EcalPseudoStripInputDigi.h.
Referenced by id().
|
static |
Definition at line 30 of file EcalPseudoStripInputDigi.h.
Referenced by setSize().
|
private |
Definition at line 46 of file EcalPseudoStripInputDigi.h.
Referenced by isDebug(), sampleOfInterest(), setSize(), and size().