#include <EcalTriggerPrimitiveSample.h>
Public Member Functions | |
int | compressedEt () const |
get the encoded/compressed Et (8 bits) More... | |
EcalTriggerPrimitiveSample () | |
EcalTriggerPrimitiveSample (uint16_t data) | |
EcalTriggerPrimitiveSample (int encodedEt, bool finegrain, int triggerFlag) | |
EcalTriggerPrimitiveSample (int encodedEt, bool finegrain, int stripFGVB, int triggerFlag) | |
bool | fineGrain () const |
get the fine-grain bit (1 bit) More... | |
int | l1aSpike () const |
uint16_t | operator() () |
for streaming More... | |
uint16_t | raw () const |
get the raw word More... | |
void | setValue (uint16_t data) |
Set data. More... | |
int | sFGVB () const |
int | ttFlag () const |
get the Trigger tower Flag (3 bits) More... | |
Private Attributes | |
uint16_t | theSample |
Definition at line 14 of file EcalTriggerPrimitiveSample.h.
EcalTriggerPrimitiveSample::EcalTriggerPrimitiveSample | ( | ) |
Definition at line 5 of file EcalTriggerPrimitiveSample.cc.
EcalTriggerPrimitiveSample::EcalTriggerPrimitiveSample | ( | uint16_t | data | ) |
Definition at line 6 of file EcalTriggerPrimitiveSample.cc.
EcalTriggerPrimitiveSample::EcalTriggerPrimitiveSample | ( | int | encodedEt, |
bool | finegrain, | ||
int | triggerFlag | ||
) |
Definition at line 8 of file EcalTriggerPrimitiveSample.cc.
References theSample.
EcalTriggerPrimitiveSample::EcalTriggerPrimitiveSample | ( | int | encodedEt, |
bool | finegrain, | ||
int | stripFGVB, | ||
int | triggerFlag | ||
) |
Definition at line 13 of file EcalTriggerPrimitiveSample.cc.
References theSample, and globals_cff::x1.
|
inline |
get the encoded/compressed Et (8 bits)
Definition at line 26 of file EcalTriggerPrimitiveSample.h.
References theSample.
Referenced by operator<<().
|
inline |
get the fine-grain bit (1 bit)
Definition at line 28 of file EcalTriggerPrimitiveSample.h.
References theSample.
Referenced by operator<<().
|
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 36 of file EcalTriggerPrimitiveSample.h.
References theSample.
|
inline |
|
inline |
get the raw word
Definition at line 24 of file EcalTriggerPrimitiveSample.h.
References theSample.
Referenced by L1EmulBias::ModifyCollection().
|
inline |
Set data.
Definition at line 22 of file EcalTriggerPrimitiveSample.h.
References data, and theSample.
Referenced by Vispa.Views.PropertyView.StringProperty::buttonClicked(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Vispa.Views.PropertyView.FileVectorProperty::buttonClicked(), Vispa.Views.PropertyView.TextEditWithButtonProperty::keyPressEvent(), and Vispa.Views.PropertyView.TextEditWithButtonProperty::setMultiline().
|
inline |
Gets the "strip fine grain veto bit" (sFGVB) used as L1A spike detection
Definition at line 41 of file EcalTriggerPrimitiveSample.h.
References theSample.
Referenced by operator<<().
|
inline |
get the Trigger tower Flag (3 bits)
Definition at line 30 of file EcalTriggerPrimitiveSample.h.
References theSample.
Referenced by operator<<().
|
private |
Definition at line 47 of file EcalTriggerPrimitiveSample.h.
Referenced by compressedEt(), EcalTriggerPrimitiveSample(), fineGrain(), l1aSpike(), operator()(), raw(), setValue(), sFGVB(), and ttFlag().