Persistable copy of total Et measured at Level-1. More...
#include <L1GctEtTotal.h>
Public Types | |
enum | numberOfBits { kEtTotalNBits = 12, kEtTotalOFlowBit = 1 << kEtTotalNBits, kEtTotalMaxValue = kEtTotalOFlowBit - 1, kRawCtorMask = kEtTotalOFlowBit | kEtTotalMaxValue } |
Public Member Functions | |
int16_t | bx () const |
get bunch-crossing index More... | |
bool | empty () const |
empty method (= false; total Et is always calculated) More... | |
unsigned | et () const |
get the Et More... | |
L1GctEtTotal () | |
L1GctEtTotal (uint16_t rawData) | |
L1GctEtTotal (uint16_t rawData, int16_t bx) | |
L1GctEtTotal (unsigned et, bool oflow) | |
L1GctEtTotal (unsigned et, bool oflow, int16_t bx) | |
std::string | name () const |
name method More... | |
int | operator!= (const L1GctEtTotal &e) const |
inequality operator More... | |
int | operator== (const L1GctEtTotal &e) const |
equality operator More... | |
bool | overFlow () const |
get the overflow More... | |
uint16_t | raw () const |
get the data More... | |
virtual | ~L1GctEtTotal () |
Private Attributes | |
int16_t | m_bx |
uint16_t | m_data |
Persistable copy of total Et measured at Level-1.
Definition at line 18 of file L1GctEtTotal.h.
Enumerator | |
---|---|
kEtTotalNBits | |
kEtTotalOFlowBit | |
kEtTotalMaxValue | |
kRawCtorMask |
Definition at line 21 of file L1GctEtTotal.h.
L1GctEtTotal::L1GctEtTotal | ( | ) |
Definition at line 4 of file L1GctEtTotal.cc.
L1GctEtTotal::L1GctEtTotal | ( | uint16_t | rawData | ) |
Definition at line 6 of file L1GctEtTotal.cc.
L1GctEtTotal::L1GctEtTotal | ( | uint16_t | rawData, |
int16_t | bx | ||
) |
Definition at line 8 of file L1GctEtTotal.cc.
L1GctEtTotal::L1GctEtTotal | ( | unsigned | et, |
bool | oflow | ||
) |
Definition at line 10 of file L1GctEtTotal.cc.
References kEtTotalMaxValue, kEtTotalOFlowBit, and m_data.
L1GctEtTotal::L1GctEtTotal | ( | unsigned | et, |
bool | oflow, | ||
int16_t | bx | ||
) |
Definition at line 16 of file L1GctEtTotal.cc.
References kEtTotalMaxValue, kEtTotalOFlowBit, and m_data.
|
virtual |
Definition at line 22 of file L1GctEtTotal.cc.
|
inline |
|
inline |
empty method (= false; total Et is always calculated)
Definition at line 39 of file L1GctEtTotal.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
get the Et
Definition at line 45 of file L1GctEtTotal.h.
References kEtTotalMaxValue, and m_data.
Referenced by L1GtEnergySumCondition::evaluateCondition(), operator<<(), and L1GlobalTriggerPSB::printGctObjectData().
|
inline |
name method
Definition at line 36 of file L1GctEtTotal.h.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), BeautifulSoup.Tag::_invert(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
|
inline |
|
inline |
get the overflow
Definition at line 48 of file L1GctEtTotal.h.
References kEtTotalOFlowBit, and m_data.
Referenced by L1GtEnergySumCondition::evaluateCondition(), and operator<<().
|
inline |
get the data
Definition at line 42 of file L1GctEtTotal.h.
References m_data.
Referenced by L1GtPatternGenerator::analyze(), L1GlobalTriggerPSB::fillPsbBlock(), operator!=(), and operator==().
|
private |
Definition at line 62 of file L1GctEtTotal.h.
Referenced by bx().
|
private |
Definition at line 61 of file L1GctEtTotal.h.
Referenced by et(), L1GctEtTotal(), operator!=(), operator==(), overFlow(), and raw().