![]() |
![]() |
#include <EcalEBTriggerPrimitiveDigi.h>
Public Types | |
typedef EBDetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
int | compressedEt () const |
get the encoded/compressed Et of interesting sample More... | |
EcalEBTriggerPrimitiveDigi () | |
EcalEBTriggerPrimitiveDigi (const EBDetId &id) | |
bool | fineGrain () const |
get the fine-grain bit of interesting sample More... | |
const EBDetId & | id () const |
bool | isDebug () const |
True if debug mode (# of samples > 1) More... | |
int | l1aSpike () const |
const EcalTriggerPrimitiveSample & | operator[] (int i) const |
const EcalTriggerPrimitiveSample & | sample (int i) const |
int | sampleOfInterest () const |
Gets the interesting sample. More... | |
void | setSample (int i, const EcalTriggerPrimitiveSample &sam) |
void | setSampleValue (int i, uint16_t value) |
void | setSize (int size) |
int | sFGVB () const |
int | size () const |
void | swap (EcalEBTriggerPrimitiveDigi &rh) |
int | ttFlag () const |
get the Trigger tower Flag of interesting sample More... | |
Static Public Attributes | |
static const int | MAXSAMPLES = 20 |
Private Attributes | |
std::vector < EcalTriggerPrimitiveSample > | data_ |
EBDetId | id_ |
int | size_ |
Definition at line 17 of file EcalEBTriggerPrimitiveDigi.h.
For the sorted collection.
Definition at line 19 of file EcalEBTriggerPrimitiveDigi.h.
EcalEBTriggerPrimitiveDigi::EcalEBTriggerPrimitiveDigi | ( | ) |
Definition at line 5 of file EcalEBTriggerPrimitiveDigi.cc.
EcalEBTriggerPrimitiveDigi::EcalEBTriggerPrimitiveDigi | ( | const EBDetId & | id | ) |
Definition at line 11 of file EcalEBTriggerPrimitiveDigi.cc.
int EcalEBTriggerPrimitiveDigi::compressedEt | ( | ) | const |
get the encoded/compressed Et of interesting sample
Definition at line 34 of file EcalEBTriggerPrimitiveDigi.cc.
References data_, sample(), and sampleOfInterest().
Referenced by EcalEBTrigPrimAnalyzer::analyze().
bool EcalEBTriggerPrimitiveDigi::fineGrain | ( | ) | const |
get the fine-grain bit of interesting sample
Definition at line 44 of file EcalEBTriggerPrimitiveDigi.cc.
References data_, sample(), and sampleOfInterest().
|
inline |
Definition at line 31 of file EcalEBTriggerPrimitiveDigi.h.
References id_.
Referenced by EcalEBTrigPrimAnalyzer::analyze(), and operator<<().
bool EcalEBTriggerPrimitiveDigi::isDebug | ( | ) | const |
True if debug mode (# of samples > 1)
Definition at line 71 of file EcalEBTriggerPrimitiveDigi.cc.
References size_.
|
inline |
Gets the L1A spike detection flag. Beware the flag is inverted. Deprecated, use instead sFGVB() method, whose name is less missleading
Definition at line 62 of file EcalEBTriggerPrimitiveDigi.h.
References sFGVB().
|
inline |
Definition at line 34 of file EcalEBTriggerPrimitiveDigi.h.
|
inline |
Definition at line 35 of file EcalEBTriggerPrimitiveDigi.h.
Referenced by compressedEt(), fineGrain(), operator<<(), sFGVB(), and ttFlag().
int EcalEBTriggerPrimitiveDigi::sampleOfInterest | ( | ) | const |
Gets the interesting sample.
Definition at line 23 of file EcalEBTriggerPrimitiveDigi.cc.
References size_.
Referenced by compressedEt(), fineGrain(), sFGVB(), and ttFlag().
void EcalEBTriggerPrimitiveDigi::setSample | ( | int | i, |
const EcalTriggerPrimitiveSample & | sam | ||
) |
Definition at line 15 of file EcalEBTriggerPrimitiveDigi.cc.
Referenced by EcalEBTrigPrimTestAlgo::run().
|
inline |
Definition at line 39 of file EcalEBTriggerPrimitiveDigi.h.
void EcalEBTriggerPrimitiveDigi::setSize | ( | int | size | ) |
Definition at line 80 of file EcalEBTriggerPrimitiveDigi.cc.
References MAXSAMPLES, size(), and size_.
Referenced by EcalEBTrigPrimTestAlgo::run().
int EcalEBTriggerPrimitiveDigi::sFGVB | ( | ) | const |
Gets the "strip fine grain veto bit" (sFGVB) used as L1A spike detection
Definition at line 62 of file EcalEBTriggerPrimitiveDigi.cc.
References data_, sample(), and sampleOfInterest().
Referenced by l1aSpike().
|
inline |
Definition at line 32 of file EcalEBTriggerPrimitiveDigi.h.
References size_.
Referenced by ntuple._Collection::__iter__(), ntuple._Collection::__len__(), operator<<(), EcalEBTrigPrimTestAlgo::run(), and setSize().
|
inline |
Definition at line 25 of file EcalEBTriggerPrimitiveDigi.h.
References data_, id_, size_, and std::swap().
Referenced by swap().
int EcalEBTriggerPrimitiveDigi::ttFlag | ( | ) | const |
get the Trigger tower Flag of interesting sample
Definition at line 53 of file EcalEBTriggerPrimitiveDigi.cc.
References data_, sample(), and sampleOfInterest().
|
private |
Definition at line 73 of file EcalEBTriggerPrimitiveDigi.h.
Referenced by compressedEt(), fineGrain(), operator[](), sample(), setSample(), setSampleValue(), sFGVB(), swap(), and ttFlag().
|
private |
Definition at line 71 of file EcalEBTriggerPrimitiveDigi.h.
|
static |
Definition at line 41 of file EcalEBTriggerPrimitiveDigi.h.
Referenced by setSize().
|
private |
Definition at line 72 of file EcalEBTriggerPrimitiveDigi.h.
Referenced by isDebug(), sampleOfInterest(), setSize(), size(), and swap().