Persistable copy of missing Et measured at Level-1. More...
#include <L1GctEtMiss.h>
Public Types | |
enum | numberOfBits { kEtMissNBits = 12, kEtMissOFlowBit = 1 << kEtMissNBits, kEtMissMaxValue = kEtMissOFlowBit - 1, kEtMissPhiShift = 16, kEtMissPhiNBits = 7, kETMissPhiMask = (1 << kEtMissPhiNBits) - 1, kEtMissPhiNBins = 72, kRawCtorMask = (kETMissPhiMask << kEtMissPhiShift) | kEtMissOFlowBit | kEtMissMaxValue } |
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... | |
L1GctEtMiss () | |
L1GctEtMiss (uint32_t rawData) | |
For use with raw data from the unpacker. More... | |
L1GctEtMiss (uint32_t rawData, int16_t bx) | |
For use with raw data from the unpacker. More... | |
L1GctEtMiss (unsigned et, unsigned phi, bool oflow) | |
L1GctEtMiss (unsigned et, unsigned phi, bool oflow, int16_t bx) | |
std::string | name () const |
name method More... | |
int | operator!= (const L1GctEtMiss &e) const |
inequality operator More... | |
int | operator== (const L1GctEtMiss &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 | ~L1GctEtMiss () |
Private Attributes | |
int16_t | m_bx |
uint32_t | m_data |
Persistable copy of missing Et measured at Level-1.
Definition at line 17 of file L1GctEtMiss.h.
To match the RAW format, EtMiss is on bits 11:0, Overflow flag on bit 12, and Phi is on bits 22:16. All other bits will be be zero.
Enumerator | |
---|---|
kEtMissNBits | |
kEtMissOFlowBit | |
kEtMissMaxValue | |
kEtMissPhiShift | |
kEtMissPhiNBits | |
kETMissPhiMask | |
kEtMissPhiNBins | |
kRawCtorMask |
Definition at line 21 of file L1GctEtMiss.h.
L1GctEtMiss::L1GctEtMiss | ( | ) |
Definition at line 4 of file L1GctEtMiss.cc.
L1GctEtMiss::L1GctEtMiss | ( | uint32_t | rawData | ) |
L1GctEtMiss::L1GctEtMiss | ( | uint32_t | rawData, |
int16_t | bx | ||
) |
L1GctEtMiss::L1GctEtMiss | ( | unsigned | et, |
unsigned | phi, | ||
bool | oflow | ||
) |
Definition at line 14 of file L1GctEtMiss.cc.
References et(), kEtMissMaxValue, kEtMissOFlowBit, kETMissPhiMask, kEtMissPhiNBins, kEtMissPhiShift, m_data, and phi().
L1GctEtMiss::L1GctEtMiss | ( | unsigned | et, |
unsigned | phi, | ||
bool | oflow, | ||
int16_t | bx | ||
) |
Definition at line 22 of file L1GctEtMiss.cc.
References et(), kEtMissMaxValue, kEtMissOFlowBit, kETMissPhiMask, kEtMissPhiNBins, kEtMissPhiShift, m_data, and phi().
|
virtual |
Definition at line 30 of file L1GctEtMiss.cc.
|
inline |
|
inline |
empty method (= false; missing Et is always calculated)
Definition at line 50 of file L1GctEtMiss.h.
|
inline |
get the magnitude
Definition at line 56 of file L1GctEtMiss.h.
References kEtMissMaxValue, and m_data.
Referenced by L1GtPatternGenerator::analyze(), HLTGetDigi::analyze(), L1GtEnergySumCondition::evaluateCondition(), L1GctEtMiss(), and L1GlobalTriggerPSB::printGctObjectData().
|
inline |
name method
Definition at line 47 of file L1GctEtMiss.h.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
inequality operator
Definition at line 71 of file L1GctEtMiss.h.
References MillePedeFileConverter_cfg::e, and m_data.
|
inline |
equality operator
Definition at line 68 of file L1GctEtMiss.h.
References MillePedeFileConverter_cfg::e, and m_data.
|
inline |
get the overflow
Definition at line 59 of file L1GctEtMiss.h.
References kEtMissOFlowBit, and m_data.
Referenced by L1GtEnergySumCondition::evaluateCondition().
|
inline |
get the Et
Definition at line 62 of file L1GctEtMiss.h.
References kETMissPhiMask, kEtMissPhiShift, and m_data.
Referenced by Particle.Particle::__str__(), L1GtPatternGenerator::analyze(), HLTGetDigi::analyze(), L1GtEnergySumCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), L1GctEtMiss(), ntupleDataFormat.Track::phiPull(), and L1GlobalTriggerPSB::printGctObjectData().
|
inline |
get the data
Definition at line 53 of file L1GctEtMiss.h.
References m_data.
Referenced by L1GlobalTriggerPSB::fillPsbBlock().
|
private |
Definition at line 75 of file L1GctEtMiss.h.
Referenced by bx().
|
private |
Definition at line 74 of file L1GctEtMiss.h.
Referenced by et(), L1GctEtMiss(), operator!=(), operator==(), overFlow(), phi(), and raw().