Persistable copy of missing Et measured at Level-1. More...
#include <L1GctHtMiss.h>
Public Types | |
enum | numberOfBits { kHtMissPhiNBits = 5, kHtMissMagNBits = 7, kHtMissPhiMask = (1 << kHtMissPhiNBits) - 1, kHtMissMagMask = (1 << kHtMissMagNBits) - 1, kHtMissPhiShift = 0, kHtMissMagShift = kHtMissPhiNBits, kHtMissOFlowBit = (1 << (kHtMissPhiNBits + kHtMissMagNBits)), kHtMissPhiNBins = 18, kRawCtorMask = kHtMissOFlowBit | (kHtMissMagMask << kHtMissMagShift) | (kHtMissPhiMask << kHtMissPhiShift) } |
Public Member Functions | |
int16_t | bx () const |
get bunch-crossing index More... | |
bool | empty () const |
empty method (= false; missing Et is always calculated) More... | |
unsigned | et () const |
get the magnitude More... | |
L1GctHtMiss () | |
L1GctHtMiss (uint32_t rawData) | |
For use with raw data from the unpacker. More... | |
L1GctHtMiss (uint32_t rawData, int16_t bx) | |
For use with raw data from the unpacker. More... | |
L1GctHtMiss (unsigned et, unsigned phi, bool oflow) | |
L1GctHtMiss (unsigned et, unsigned phi, bool oflow, int16_t bx) | |
std::string | name () const |
name method More... | |
int | operator!= (const L1GctHtMiss &e) const |
inequality operator More... | |
int | operator== (const L1GctHtMiss &e) const |
equality operator More... | |
bool | overFlow () const |
get the overflow More... | |
unsigned | phi () const |
get the Et More... | |
uint32_t | raw () const |
get the data More... | |
virtual | ~L1GctHtMiss () |
Private Attributes | |
int16_t | m_bx |
uint32_t | m_data |
Persistable copy of missing Et measured at Level-1.
Definition at line 16 of file L1GctHtMiss.h.
To match the RAW format: HtMissPhi is on bits 4:0, HtMissMagnitude is on bits 11:5, Overflow flag on bit 12, All other bits will be be zero.
Enumerator | |
---|---|
kHtMissPhiNBits | |
kHtMissMagNBits | |
kHtMissPhiMask | |
kHtMissMagMask | |
kHtMissPhiShift | |
kHtMissMagShift | |
kHtMissOFlowBit | |
kHtMissPhiNBins | |
kRawCtorMask |
Definition at line 24 of file L1GctHtMiss.h.
L1GctHtMiss::L1GctHtMiss | ( | ) |
Definition at line 4 of file L1GctHtMiss.cc.
L1GctHtMiss::L1GctHtMiss | ( | uint32_t | rawData | ) |
For use with raw data from the unpacker.
Definition at line 11 of file L1GctHtMiss.cc.
L1GctHtMiss::L1GctHtMiss | ( | uint32_t | rawData, |
int16_t | bx | ||
) |
For use with raw data from the unpacker.
Definition at line 13 of file L1GctHtMiss.cc.
L1GctHtMiss::L1GctHtMiss | ( | unsigned | et, |
unsigned | phi, | ||
bool | oflow | ||
) |
Definition at line 15 of file L1GctHtMiss.cc.
References kHtMissMagMask, kHtMissMagShift, kHtMissOFlowBit, kHtMissPhiMask, kHtMissPhiNBins, kHtMissPhiShift, and m_data.
L1GctHtMiss::L1GctHtMiss | ( | unsigned | et, |
unsigned | phi, | ||
bool | oflow, | ||
int16_t | bx | ||
) |
Definition at line 28 of file L1GctHtMiss.cc.
References kHtMissMagMask, kHtMissMagShift, kHtMissOFlowBit, kHtMissPhiMask, kHtMissPhiNBins, kHtMissPhiShift, and m_data.
|
virtual |
Definition at line 41 of file L1GctHtMiss.cc.
|
inline |
|
inline |
empty method (= false; missing Et is always calculated)
Definition at line 54 of file L1GctHtMiss.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
get the magnitude
Definition at line 60 of file L1GctHtMiss.h.
References kHtMissMagMask, kHtMissMagShift, and m_data.
Referenced by L1GtEnergySumCondition::evaluateCondition(), operator<<(), L1GlobalTriggerPSB::printGctObjectData(), and GctFormatTranslateMCLegacy::writeGctOutJetBlock().
|
inline |
name method
Definition at line 51 of file L1GctHtMiss.h.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
inequality operator
Definition at line 75 of file L1GctHtMiss.h.
References MillePedeFileConverter_cfg::e.
|
inline |
|
inline |
get the overflow
Definition at line 63 of file L1GctHtMiss.h.
References kHtMissOFlowBit, and m_data.
Referenced by L1GtEnergySumCondition::evaluateCondition(), operator<<(), and GctFormatTranslateMCLegacy::writeGctOutJetBlock().
|
inline |
get the Et
Definition at line 66 of file L1GctHtMiss.h.
References kHtMissPhiMask, kHtMissPhiShift, and m_data.
Referenced by Particle.Particle::__str__(), L1GtEnergySumCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), operator<<(), L1GlobalTriggerPSB::printGctObjectData(), and GctFormatTranslateMCLegacy::writeGctOutJetBlock().
|
inline |
get the data
Definition at line 57 of file L1GctHtMiss.h.
References m_data.
Referenced by L1GtPatternGenerator::analyze(), and operator==().
|
private |
Definition at line 80 of file L1GctHtMiss.h.
Referenced by bx().
|
private |
Definition at line 79 of file L1GctHtMiss.h.
Referenced by et(), L1GctHtMiss(), operator==(), overFlow(), phi(), and raw().