#include <L1GtFdlWord.h>
Public Member Functions | |
const cms_uint16_t | boardId () const |
get/set board ID More... | |
const int | bxInEvent () const |
get/set bunch cross in the GT event record More... | |
const cms_uint16_t | bxNr () const |
get/set BxNr - bunch cross number of the actual bx More... | |
const cms_uint32_t | eventNr () const |
get/set event number since last L1 reset generated in FDL More... | |
const cms_uint16_t | finalOR () const |
get/set "Final OR" bits More... | |
const unsigned int | getSize () const |
get the size of the FDL block in GT DAQ record (in multiple of 8 bits) More... | |
const bool | globalDecision () const |
const DecisionWord & | gtDecisionWord () const |
get/set/print algorithms bits (decision word) More... | |
const DecisionWordExtended & | gtDecisionWordExtended () const |
get/set extended algorithms bits (extended decision word) More... | |
const cms_uint16_t | gtPrescaleFactorIndexAlgo () const |
const cms_uint16_t | gtPrescaleFactorIndexTech () const |
get/set index of the set of prescale factors More... | |
const TechnicalTriggerWord & | gtTechnicalTriggerWord () const |
get/set technical trigger bits More... | |
L1GtFdlWord () | |
constructors More... | |
L1GtFdlWord (cms_uint16_t boardIdValue, int bxInEventValue, cms_uint16_t bxNrValue, cms_uint32_t eventNrValue, const TechnicalTriggerWord >TechnicalTriggerWordValue, const DecisionWord >DecisionWordValue, const DecisionWordExtended >DecisionWordExtendedValue, cms_uint16_t gtPrescaleFactorIndexTechValue, cms_uint16_t gtPrescaleFactorIndexAlgoValue, cms_uint16_t noAlgoValue, cms_uint16_t finalORValue, cms_uint32_t orbitNrValue, cms_uint16_t lumiSegmentNrValue, cms_uint16_t localBxNrValue) | |
const cms_uint16_t | localBxNr () const |
get/set local bunch cross number of the actual bx More... | |
const cms_uint16_t | lumiSegmentNr () const |
get/set luminosity segment number of the actual bx More... | |
const cms_uint16_t | noAlgo () const |
get/set NoAlgo More... | |
bool | operator!= (const L1GtFdlWord &) const |
unequal operator More... | |
bool | operator== (const L1GtFdlWord &) const |
equal operator More... | |
const cms_uint32_t | orbitNr () const |
get/set orbit number More... | |
const cms_uint16_t | physicsDeclared () const |
get/set "physics declared" bit More... | |
void | print (std::ostream &myCout) const |
pretty print the content of a L1GtFdlWord More... | |
void | printGtDecisionWord (std::ostream &myCout) const |
void | printGtDecisionWordExtended (std::ostream &myCout) const |
void | printGtTechnicalTriggerWord (std::ostream &myCout) const |
void | reset () |
reset the content of a L1GtFdlWord More... | |
void | setBoardId (const cms_uint16_t &boardIdValue) |
set BoardId from a BoardId value More... | |
void | setBoardId (const cms_uint64_t &word64) |
set the BoardId value from a 64-bits word More... | |
void | setBoardIdWord64 (cms_uint64_t &word64, const int iWord) |
void | setBxInEvent (const int bxInEventValue) |
void | setBxInEvent (const cms_uint64_t &word64) |
set the BxInEvent value from a 64-bits word More... | |
void | setBxInEventWord64 (cms_uint64_t &word64, const int iWord) |
void | setBxNr (const cms_uint16_t &bxNrValue) |
void | setBxNr (const cms_uint64_t &word64) |
set the BxNr value from a 64-bits word More... | |
void | setBxNrWord64 (cms_uint64_t &word64, const int iWord) |
void | setEventNr (const cms_uint32_t &eventNrValue) |
void | setEventNr (const cms_uint64_t &word64) |
set the EventNr value from a 64-bits word More... | |
void | setEventNrWord64 (cms_uint64_t &word64, const int iWord) |
void | setFinalOR (const cms_uint16_t &finalORValue) |
void | setFinalOR (const cms_uint64_t &word64) |
set the "Final OR" bits from a 64-bits word More... | |
void | setFinalORWord64 (cms_uint64_t &word64, const int iWord) |
void | setGtDecisionWord (const DecisionWord >DecisionWordValue) |
void | setGtDecisionWordA (const cms_uint64_t &word64) |
void | setGtDecisionWordAWord64 (cms_uint64_t &word64, const int iWord) |
void | setGtDecisionWordB (const cms_uint64_t &word64) |
void | setGtDecisionWordBWord64 (cms_uint64_t &word64, const int iWord) |
void | setGtDecisionWordExtended (const DecisionWordExtended >DecisionWordExtendedValue) |
void | setGtDecisionWordExtended (const cms_uint64_t &word64) |
set the extended algorithms bits from a 64-bits word More... | |
void | setGtDecisionWordExtendedWord64 (cms_uint64_t &word64, const int iWord) |
void | setGtPrescaleFactorIndexAlgo (const cms_uint16_t >PrescaleFactorIndexAlgoValue) |
void | setGtPrescaleFactorIndexAlgo (const cms_uint64_t &word64) |
set the GtPrescaleFactorIndexAlgo from a 64-bits word More... | |
void | setGtPrescaleFactorIndexAlgoWord64 (cms_uint64_t &word64, const int iWord) |
void | setGtPrescaleFactorIndexTech (const cms_uint16_t >PrescaleFactorIndexTechValue) |
void | setGtPrescaleFactorIndexTech (const cms_uint64_t &word64) |
set the GtPrescaleFactorIndexTech from a 64-bits word More... | |
void | setGtPrescaleFactorIndexTechWord64 (cms_uint64_t &word64, const int iWord) |
void | setGtTechnicalTriggerWord (const TechnicalTriggerWord >TechnicalTriggerWordValue) |
void | setGtTechnicalTriggerWord (const cms_uint64_t &word64) |
set the technical trigger bits from a 64-bits word More... | |
void | setGtTechnicalTriggerWordWord64 (cms_uint64_t &word64, const int iWord) |
void | setLocalBxNr (const cms_uint16_t &localBxNrValue) |
void | setLocalBxNr (const cms_uint64_t &word64) |
set the local bunch cross number bits from a 64-bits word More... | |
void | setLocalBxNrWord64 (cms_uint64_t &word64, const int iWord) |
void | setLumiSegmentNr (const cms_uint16_t &lumiSegmentNrValue) |
void | setLumiSegmentNr (const cms_uint64_t &word64) |
set the luminosity segment number bits from a 64-bits word More... | |
void | setLumiSegmentNrWord64 (cms_uint64_t &word64, const int iWord) |
void | setNoAlgo (const cms_uint16_t &noAlgoValue) |
void | setNoAlgo (const cms_uint64_t &word64) |
set the NoAlgo from a 64-bits word More... | |
void | setNoAlgoWord64 (cms_uint64_t &word64, const int iWord) |
void | setOrbitNr (const cms_uint32_t &orbitNrValue) |
void | setOrbitNr (const cms_uint64_t &word64) |
set the orbit number bits from a 64-bits word More... | |
void | setOrbitNrWord64 (cms_uint64_t &word64, const int iWord) |
void | setPhysicsDeclared (const cms_uint16_t &physicsDeclaredValue) |
void | setPhysicsDeclared (const cms_uint64_t &word64) |
set the "physics declared" bit from a 64-bits word More... | |
void | setPhysicsDeclaredWord64 (cms_uint64_t &word64, const int iWord) |
void | unpack (const unsigned char *fdlPtr) |
virtual | ~L1GtFdlWord () |
destructor More... | |
Private Attributes | |
cms_uint16_t | m_boardId |
board identifier More... | |
int | m_bxInEvent |
bunch cross in the GT event record More... | |
cms_uint16_t | m_bxNr |
bunch cross number of the actual bx More... | |
cms_uint32_t | m_eventNr |
event number since last L1 reset generated in FDL More... | |
cms_uint16_t | m_finalOR |
DecisionWord | m_gtDecisionWord |
algorithm bits More... | |
DecisionWordExtended | m_gtDecisionWordExtended |
extended algorithm bits, in addition to 128 More... | |
cms_uint16_t | m_gtPrescaleFactorIndexAlgo |
cms_uint16_t | m_gtPrescaleFactorIndexTech |
TechnicalTriggerWord | m_gtTechnicalTriggerWord |
technical trigger bits More... | |
cms_uint16_t | m_localBxNr |
cms_uint16_t | m_lumiSegmentNr |
luminosity segment number More... | |
cms_uint16_t | m_noAlgo |
true if no algorithm (from a defined group - default all) triggered More... | |
cms_uint32_t | m_orbitNr |
orbit number More... | |
cms_uint16_t | m_physicsDeclared |
set to true when physics declared More... | |
Static Private Attributes | |
static const int | BlockSize = 7 |
static const cms_uint64_t | BoardIdMask = 0xFFFF000000000000ULL |
static const int | BoardIdShift = 48 |
static const int | BoardIdWord = 0 |
static const cms_uint64_t | BxInEventMask = 0x0000F00000000000ULL |
static const int | BxInEventShift = 44 |
static const int | BxInEventWord = 0 |
static const cms_uint64_t | BxNrMask = 0x00000FFF00000000ULL |
static const int | BxNrShift = 32 |
static const int | BxNrWord = 0 |
static const cms_uint64_t | EventNrMask = 0x0000000000FFFFFFULL |
static const int | EventNrShift = 0 |
static const int | EventNrWord = 0 |
static const cms_uint64_t | FinalORMask = 0x00000000000000FFULL |
static const int | FinalORShift = 0 |
static const int | FinalORWord = 5 |
static const cms_uint64_t | GtDecisionWordAMask = 0xFFFFFFFFFFFFFFFFULL |
static const int | GtDecisionWordAShift = 0 |
static const int | GtDecisionWordAWord = 2 |
static const cms_uint64_t | GtDecisionWordBMask = 0xFFFFFFFFFFFFFFFFULL |
static const int | GtDecisionWordBShift = 0 |
static const int | GtDecisionWordBWord = 3 |
static const cms_uint64_t | GtDecisionWordExtendedMask = 0xFFFFFFFFFFFFFFFFULL |
static const int | GtDecisionWordExtendedShift = 0 |
static const int | GtDecisionWordExtendedWord = 4 |
static const cms_uint64_t | GtPrescaleFactorIndexAlgoMask = 0x000000FF00000000ULL |
static const int | GtPrescaleFactorIndexAlgoShift = 32 |
static const int | GtPrescaleFactorIndexAlgoWord = 5 |
static const cms_uint64_t | GtPrescaleFactorIndexTechMask = 0x00FF000000000000ULL |
static const int | GtPrescaleFactorIndexTechShift = 48 |
static const int | GtPrescaleFactorIndexTechWord = 5 |
static const cms_uint64_t | GtTechnicalTriggerWordMask = 0xFFFFFFFFFFFFFFFFULL |
static const int | GtTechnicalTriggerWordShift = 0 |
static const int | GtTechnicalTriggerWordWord = 1 |
static const cms_uint64_t | LocalBxNrMask = 0x0000000000000FFFULL |
static const int | LocalBxNrShift = 0 |
static const int | LocalBxNrWord = 6 |
static const cms_uint64_t | LumiSegmentNrMask = 0x00000000FFFF0000ULL |
static const int | LumiSegmentNrShift = 16 |
static const int | LumiSegmentNrWord = 6 |
static const cms_uint64_t | NoAlgoMask = 0x0000000000000100ULL |
static const int | NoAlgoShift = 8 |
static const int | NoAlgoWord = 5 |
static const cms_uint64_t | OrbitNrMask = 0xFFFFFFFF00000000ULL |
static const int | OrbitNrShift = 32 |
static const int | OrbitNrWord = 6 |
static const cms_uint64_t | PhysicsDeclaredMask = 0x8000000000000000ULL |
static const int | PhysicsDeclaredShift = 63 |
static const int | PhysicsDeclaredWord = 5 |
Description: L1 Global Trigger - FDL block in the readout record.
Implementation: <TODO: enter implementation details>
Description: see header file.
Implementation: <TODO: enter implementation details>
Definition at line 29 of file L1GtFdlWord.h.
L1GtFdlWord::L1GtFdlWord | ( | ) |
constructors
Definition at line 32 of file L1GtFdlWord.cc.
References m_boardId, m_bxInEvent, m_bxNr, m_eventNr, m_finalOR, m_gtDecisionWord, m_gtDecisionWordExtended, m_gtPrescaleFactorIndexAlgo, m_gtPrescaleFactorIndexTech, m_gtTechnicalTriggerWord, m_localBxNr, m_lumiSegmentNr, m_noAlgo, m_orbitNr, m_physicsDeclared, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GlobalTriggerReadoutSetup::NumberPhysTriggersExtended, and L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers.
L1GtFdlWord::L1GtFdlWord | ( | cms_uint16_t | boardIdValue, |
int | bxInEventValue, | ||
cms_uint16_t | bxNrValue, | ||
cms_uint32_t | eventNrValue, | ||
const TechnicalTriggerWord & | gtTechnicalTriggerWordValue, | ||
const DecisionWord & | gtDecisionWordValue, | ||
const DecisionWordExtended & | gtDecisionWordExtendedValue, | ||
cms_uint16_t | gtPrescaleFactorIndexTechValue, | ||
cms_uint16_t | gtPrescaleFactorIndexAlgoValue, | ||
cms_uint16_t | noAlgoValue, | ||
cms_uint16_t | finalORValue, | ||
cms_uint32_t | orbitNrValue, | ||
cms_uint16_t | lumiSegmentNrValue, | ||
cms_uint16_t | localBxNrValue | ||
) |
Definition at line 64 of file L1GtFdlWord.cc.
References m_physicsDeclared.
|
virtual |
|
inline |
get/set board ID
get BoardId value
Definition at line 63 of file L1GtFdlWord.h.
References m_boardId.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get/set bunch cross in the GT event record
Definition at line 76 of file L1GtFdlWord.h.
References m_bxInEvent.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get/set BxNr - bunch cross number of the actual bx
Definition at line 88 of file L1GtFdlWord.h.
References m_bxNr.
Referenced by L1TGT::analyze(), L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get/set event number since last L1 reset generated in FDL
Definition at line 100 of file L1GtFdlWord.h.
References m_eventNr.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get/set "Final OR" bits
Definition at line 221 of file L1GtFdlWord.h.
References m_finalOR.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get the size of the FDL block in GT DAQ record (in multiple of 8 bits)
Definition at line 271 of file L1GtFdlWord.h.
References BlockSize, and L1GlobalTriggerReadoutSetup::UnitLength.
Referenced by L1GTDigiToRaw::packFDL(), L1GTEvmDigiToRaw::packFDL(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), L1GlobalTriggerEvmRawToDigi::produce(), and L1GlobalTriggerRawToDigi::produce().
|
inline |
|
inline |
get/set/print algorithms bits (decision word)
Definition at line 128 of file L1GtFdlWord.h.
References m_gtDecisionWord.
Referenced by TrackerDpgAnalysis::analyze(), L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get/set extended algorithms bits (extended decision word)
Definition at line 153 of file L1GtFdlWord.h.
References m_gtDecisionWordExtended.
Referenced by TrackerDpgAnalysis::analyze(), L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
Definition at line 195 of file L1GtFdlWord.h.
References m_gtPrescaleFactorIndexAlgo.
Referenced by L1TGT::analyze(), L1GtHwValidation::compareFDL(), and HLTPrescaler::filter().
|
inline |
get/set index of the set of prescale factors
Definition at line 182 of file L1GtFdlWord.h.
References m_gtPrescaleFactorIndexTech.
|
inline |
get/set technical trigger bits
Definition at line 112 of file L1GtFdlWord.h.
References m_gtTechnicalTriggerWord.
Referenced by TrackerDpgAnalysis::analyze(), L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get/set local bunch cross number of the actual bx
Definition at line 259 of file L1GtFdlWord.h.
References m_localBxNr.
Referenced by L1TGT::analyze(), L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
|
inline |
get/set luminosity segment number of the actual bx
Definition at line 247 of file L1GtFdlWord.h.
References m_lumiSegmentNr.
Referenced by L1TGT::analyze(), L1GlobalTriggerEvmRawToDigi::produce(), and L1GlobalTriggerRawToDigi::produce().
|
inline |
get/set NoAlgo
Definition at line 209 of file L1GtFdlWord.h.
References m_noAlgo.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().
bool L1GtFdlWord::operator!= | ( | const L1GtFdlWord & | result | ) | const |
bool L1GtFdlWord::operator== | ( | const L1GtFdlWord & | result | ) | const |
equal operator
Definition at line 105 of file L1GtFdlWord.cc.
References m_boardId, m_bxInEvent, m_bxNr, m_eventNr, m_finalOR, m_gtDecisionWord, m_gtDecisionWordExtended, m_gtPrescaleFactorIndexAlgo, m_gtPrescaleFactorIndexTech, m_gtTechnicalTriggerWord, m_localBxNr, m_lumiSegmentNr, m_noAlgo, m_orbitNr, m_physicsDeclared, and mps_fire::result.
|
inline |
get/set orbit number
Definition at line 235 of file L1GtFdlWord.h.
References m_orbitNr.
Referenced by L1TGT::analyze(), and TrackerDpgAnalysis::analyze().
|
inline |
get/set "physics declared" bit
Definition at line 169 of file L1GtFdlWord.h.
References m_physicsDeclared.
Referenced by TriggerHelper::acceptGtLogicalExpression(), GenericTriggerEventFlag::acceptGtLogicalExpression(), TrackerDpgAnalysis::analyze(), HLTPhysicsDeclared::filter(), PhysDecl::filter(), and pat::PATTriggerEventProducer::produce().
void L1GtFdlWord::print | ( | std::ostream & | myCout | ) | const |
pretty print the content of a L1GtFdlWord
Definition at line 593 of file L1GtFdlWord.cc.
References TauDecayModes::dec, m_boardId, m_bxInEvent, m_bxNr, m_eventNr, m_finalOR, m_gtPrescaleFactorIndexAlgo, m_gtPrescaleFactorIndexTech, m_localBxNr, m_lumiSegmentNr, m_noAlgo, m_orbitNr, m_physicsDeclared, printGtDecisionWord(), printGtDecisionWordExtended(), and printGtTechnicalTriggerWord().
Referenced by L1GtPackUnpackAnalyzer::analyzeGT(), L1GtDataEmulAnalyzer::compareFDL(), L1GtHwValidation::compareFDL(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), L1GlobalTriggerEvmRawToDigi::produce(), and L1GlobalTriggerRawToDigi::produce().
void L1GtFdlWord::printGtDecisionWord | ( | std::ostream & | myCout | ) | const |
Definition at line 286 of file L1GtFdlWord.cc.
References m_gtDecisionWord, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), L1GtHwValidation::compareFDL(), and print().
void L1GtFdlWord::printGtDecisionWordExtended | ( | std::ostream & | myCout | ) | const |
Definition at line 411 of file L1GtFdlWord.cc.
References m_gtDecisionWordExtended.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), L1GtHwValidation::compareFDL(), and print().
void L1GtFdlWord::printGtTechnicalTriggerWord | ( | std::ostream & | myCout | ) | const |
Definition at line 227 of file L1GtFdlWord.cc.
References m_gtTechnicalTriggerWord.
Referenced by L1GtDataEmulAnalyzer::compareFDL(), L1GtHwValidation::compareFDL(), and print().
void L1GtFdlWord::reset | ( | void | ) |
reset the content of a L1GtFdlWord
Definition at line 565 of file L1GtFdlWord.cc.
References m_boardId, m_bxInEvent, m_bxNr, m_eventNr, m_finalOR, m_gtDecisionWord, m_gtDecisionWordExtended, m_gtPrescaleFactorIndexAlgo, m_gtPrescaleFactorIndexTech, m_gtTechnicalTriggerWord, m_localBxNr, m_lumiSegmentNr, m_noAlgo, m_orbitNr, m_physicsDeclared, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GlobalTriggerReadoutSetup::NumberPhysTriggersExtended, and L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers.
Referenced by L1GlobalTriggerEvmRawToDigi::produce(), L1GlobalTriggerRawToDigi::produce(), and L1GlobalTriggerFDL::reset().
|
inline |
set BoardId from a BoardId value
Definition at line 66 of file L1GtFdlWord.h.
References m_boardId.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setBoardId | ( | const cms_uint64_t & | word64 | ) |
set the BoardId value from a 64-bits word
Definition at line 175 of file L1GtFdlWord.cc.
References BoardIdMask, BoardIdShift, and m_boardId.
void L1GtFdlWord::setBoardIdWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the BoardId value in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 179 of file L1GtFdlWord.cc.
References BoardIdShift, BoardIdWord, and m_boardId.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 78 of file L1GtFdlWord.h.
References m_bxInEvent.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setBxInEvent | ( | const cms_uint64_t & | word64 | ) |
set the BxInEvent value from a 64-bits word
Definition at line 186 of file L1GtFdlWord.cc.
References BxInEventMask, BxInEventShift, and m_bxInEvent.
void L1GtFdlWord::setBxInEventWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the BxInEvent value in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 194 of file L1GtFdlWord.cc.
References BxInEventShift, BxInEventWord, and m_bxInEvent.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 90 of file L1GtFdlWord.h.
References m_bxNr.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setBxNr | ( | const cms_uint64_t & | word64 | ) |
set the BxNr value from a 64-bits word
Definition at line 203 of file L1GtFdlWord.cc.
References BxNrMask, BxNrShift, and m_bxNr.
void L1GtFdlWord::setBxNrWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the BxNr value in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 207 of file L1GtFdlWord.cc.
References BxNrShift, BxNrWord, and m_bxNr.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 102 of file L1GtFdlWord.h.
References m_eventNr.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setEventNr | ( | const cms_uint64_t & | word64 | ) |
set the EventNr value from a 64-bits word
Definition at line 214 of file L1GtFdlWord.cc.
References EventNrMask, EventNrShift, and m_eventNr.
void L1GtFdlWord::setEventNrWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the EventNr value in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 218 of file L1GtFdlWord.cc.
References EventNrShift, EventNrWord, and m_eventNr.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 223 of file L1GtFdlWord.h.
References m_finalOR.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setFinalOR | ( | const cms_uint64_t & | word64 | ) |
set the "Final OR" bits from a 64-bits word
Definition at line 519 of file L1GtFdlWord.cc.
References FinalORMask, FinalORShift, and m_finalOR.
void L1GtFdlWord::setFinalORWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the "Final OR" bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 523 of file L1GtFdlWord.cc.
References FinalORShift, FinalORWord, and m_finalOR.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 130 of file L1GtFdlWord.h.
References m_gtDecisionWord.
Referenced by L1GlobalTriggerFDL::run().
void L1GtFdlWord::setGtDecisionWordA | ( | const cms_uint64_t & | word64 | ) |
set the algorithms bits from two 64-bits words WordA: bits 0-63
Definition at line 330 of file L1GtFdlWord.cc.
References GtDecisionWordAMask, GtDecisionWordAShift, and m_gtDecisionWord.
Referenced by unpack().
void L1GtFdlWord::setGtDecisionWordAWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the algorithms bits in two 64-bits word, having the first index iWord in the GTFE raw record WordA: bits 0-63
Definition at line 359 of file L1GtFdlWord.cc.
References GtDecisionWordAShift, GtDecisionWordAWord, and m_gtDecisionWord.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
void L1GtFdlWord::setGtDecisionWordB | ( | const cms_uint64_t & | word64 | ) |
set the algorithms bits from two 64-bits words WordB: bits 64-128
Definition at line 343 of file L1GtFdlWord.cc.
References GtDecisionWordBMask, GtDecisionWordBShift, and m_gtDecisionWord.
Referenced by unpack().
void L1GtFdlWord::setGtDecisionWordBWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the algorithms bits in two 64-bits word, having the first index iWord in the GTFE raw record WordB: bits 64-128
Definition at line 386 of file L1GtFdlWord.cc.
References GtDecisionWordBShift, GtDecisionWordBWord, and m_gtDecisionWord.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 155 of file L1GtFdlWord.h.
References m_gtDecisionWordExtended.
Referenced by unpack().
void L1GtFdlWord::setGtDecisionWordExtended | ( | const cms_uint64_t & | word64 | ) |
set the extended algorithms bits from a 64-bits word
Definition at line 431 of file L1GtFdlWord.cc.
References GtDecisionWordExtendedMask, GtDecisionWordExtendedShift, and m_gtDecisionWordExtended.
void L1GtFdlWord::setGtDecisionWordExtendedWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the extended algorithms bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 444 of file L1GtFdlWord.cc.
References GtDecisionWordExtendedShift, GtDecisionWordExtendedWord, and m_gtDecisionWordExtended.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 197 of file L1GtFdlWord.h.
References m_gtPrescaleFactorIndexAlgo.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setGtPrescaleFactorIndexAlgo | ( | const cms_uint64_t & | word64 | ) |
set the GtPrescaleFactorIndexAlgo from a 64-bits word
Definition at line 495 of file L1GtFdlWord.cc.
References GtPrescaleFactorIndexAlgoMask, GtPrescaleFactorIndexAlgoShift, and m_gtPrescaleFactorIndexAlgo.
void L1GtFdlWord::setGtPrescaleFactorIndexAlgoWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the GtPrescaleFactorIndexAlgo bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 501 of file L1GtFdlWord.cc.
References GtPrescaleFactorIndexAlgoShift, GtPrescaleFactorIndexAlgoWord, and m_gtPrescaleFactorIndexAlgo.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 184 of file L1GtFdlWord.h.
References m_gtPrescaleFactorIndexTech.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setGtPrescaleFactorIndexTech | ( | const cms_uint64_t & | word64 | ) |
set the GtPrescaleFactorIndexTech from a 64-bits word
Definition at line 482 of file L1GtFdlWord.cc.
References GtPrescaleFactorIndexTechMask, GtPrescaleFactorIndexTechShift, and m_gtPrescaleFactorIndexTech.
void L1GtFdlWord::setGtPrescaleFactorIndexTechWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the GtPrescaleFactorIndexTech bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 488 of file L1GtFdlWord.cc.
References GtPrescaleFactorIndexTechShift, GtPrescaleFactorIndexTechWord, and m_gtPrescaleFactorIndexTech.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 114 of file L1GtFdlWord.h.
References m_gtTechnicalTriggerWord.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setGtTechnicalTriggerWord | ( | const cms_uint64_t & | word64 | ) |
set the technical trigger bits from a 64-bits word
Definition at line 247 of file L1GtFdlWord.cc.
References GtTechnicalTriggerWordMask, GtTechnicalTriggerWordShift, and m_gtTechnicalTriggerWord.
void L1GtFdlWord::setGtTechnicalTriggerWordWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the technical trigger bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 259 of file L1GtFdlWord.cc.
References GtTechnicalTriggerWordShift, GtTechnicalTriggerWordWord, and m_gtTechnicalTriggerWord.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 261 of file L1GtFdlWord.h.
References m_localBxNr.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setLocalBxNr | ( | const cms_uint64_t & | word64 | ) |
set the local bunch cross number bits from a 64-bits word
Definition at line 554 of file L1GtFdlWord.cc.
References LocalBxNrMask, LocalBxNrShift, and m_localBxNr.
void L1GtFdlWord::setLocalBxNrWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the local bunch cross number bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 558 of file L1GtFdlWord.cc.
References LocalBxNrShift, LocalBxNrWord, and m_localBxNr.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 249 of file L1GtFdlWord.h.
References m_lumiSegmentNr.
Referenced by L1GlobalTriggerEvmRawToDigi::produce(), L1GlobalTriggerRawToDigi::produce(), L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setLumiSegmentNr | ( | const cms_uint64_t & | word64 | ) |
set the luminosity segment number bits from a 64-bits word
Definition at line 541 of file L1GtFdlWord.cc.
References LumiSegmentNrMask, LumiSegmentNrShift, and m_lumiSegmentNr.
void L1GtFdlWord::setLumiSegmentNrWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the luminosity segment number bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 547 of file L1GtFdlWord.cc.
References LumiSegmentNrShift, LumiSegmentNrWord, and m_lumiSegmentNr.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 211 of file L1GtFdlWord.h.
References m_noAlgo.
Referenced by unpack().
void L1GtFdlWord::setNoAlgo | ( | const cms_uint64_t & | word64 | ) |
set the NoAlgo from a 64-bits word
Definition at line 508 of file L1GtFdlWord.cc.
References m_noAlgo, NoAlgoMask, and NoAlgoShift.
void L1GtFdlWord::setNoAlgoWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the NoAlgo bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 512 of file L1GtFdlWord.cc.
References m_noAlgo, NoAlgoShift, and NoAlgoWord.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 237 of file L1GtFdlWord.h.
References m_orbitNr.
Referenced by L1GlobalTriggerFDL::run(), and unpack().
void L1GtFdlWord::setOrbitNr | ( | const cms_uint64_t & | word64 | ) |
set the orbit number bits from a 64-bits word
Definition at line 530 of file L1GtFdlWord.cc.
References m_orbitNr, OrbitNrMask, and OrbitNrShift.
void L1GtFdlWord::setOrbitNrWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the orbit number bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 534 of file L1GtFdlWord.cc.
References m_orbitNr, OrbitNrShift, and OrbitNrWord.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
|
inline |
Definition at line 171 of file L1GtFdlWord.h.
References m_physicsDeclared.
Referenced by unpack().
void L1GtFdlWord::setPhysicsDeclared | ( | const cms_uint64_t & | word64 | ) |
set the "physics declared" bit from a 64-bits word
Definition at line 469 of file L1GtFdlWord.cc.
References m_physicsDeclared, PhysicsDeclaredMask, and PhysicsDeclaredShift.
void L1GtFdlWord::setPhysicsDeclaredWord64 | ( | cms_uint64_t & | word64, |
const int | iWord | ||
) |
set the "physics declared" bit bits in a 64-bits word, having the index iWord in the GTFE raw record
Definition at line 475 of file L1GtFdlWord.cc.
References m_physicsDeclared, PhysicsDeclaredShift, and PhysicsDeclaredWord.
Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().
void L1GtFdlWord::unpack | ( | const unsigned char * | fdlPtr | ) |
unpack FDL fdlPtr pointer to the beginning of the FDL block in the raw data
Definition at line 687 of file L1GtFdlWord.cc.
References BlockSize, BoardIdWord, BxInEventWord, BxNrWord, runTheMatrix::const, TauDecayModes::dec, EventNrWord, FinalORWord, GtDecisionWordAWord, GtDecisionWordBWord, GtDecisionWordExtendedWord, GtPrescaleFactorIndexAlgoWord, GtPrescaleFactorIndexTechWord, GtTechnicalTriggerWordWord, edm::isDebugEnabled(), LocalBxNrWord, LogDebug, LogTrace, LumiSegmentNrWord, NoAlgoWord, OrbitNrWord, jetsAK4_Puppi_cff::payload, PhysicsDeclaredWord, setBoardId(), setBxInEvent(), setBxNr(), setEventNr(), setFinalOR(), setGtDecisionWordA(), setGtDecisionWordB(), setGtDecisionWordExtended(), setGtPrescaleFactorIndexAlgo(), setGtPrescaleFactorIndexTech(), setGtTechnicalTriggerWord(), setLocalBxNr(), setLumiSegmentNr(), setNoAlgo(), setOrbitNr(), and setPhysicsDeclared().
Referenced by L1GlobalTriggerEvmRawToDigi::produce(), and L1GlobalTriggerRawToDigi::produce().
|
staticprivate |
Definition at line 292 of file L1GtFdlWord.h.
|
staticprivate |
Definition at line 303 of file L1GtFdlWord.h.
Referenced by setBoardId().
|
staticprivate |
Definition at line 309 of file L1GtFdlWord.h.
Referenced by setBoardId(), and setBoardIdWord64().
|
staticprivate |
Definition at line 297 of file L1GtFdlWord.h.
Referenced by setBoardIdWord64(), and unpack().
|
staticprivate |
Definition at line 304 of file L1GtFdlWord.h.
Referenced by setBxInEvent().
|
staticprivate |
Definition at line 310 of file L1GtFdlWord.h.
Referenced by setBxInEvent(), and setBxInEventWord64().
|
staticprivate |
Definition at line 298 of file L1GtFdlWord.h.
Referenced by setBxInEventWord64(), and unpack().
|
staticprivate |
Definition at line 305 of file L1GtFdlWord.h.
Referenced by setBxNr().
|
staticprivate |
Definition at line 311 of file L1GtFdlWord.h.
Referenced by setBxNr(), and setBxNrWord64().
|
staticprivate |
Definition at line 299 of file L1GtFdlWord.h.
Referenced by setBxNrWord64(), and unpack().
|
staticprivate |
Definition at line 306 of file L1GtFdlWord.h.
Referenced by setEventNr().
|
staticprivate |
Definition at line 312 of file L1GtFdlWord.h.
Referenced by setEventNr(), and setEventNrWord64().
|
staticprivate |
Definition at line 300 of file L1GtFdlWord.h.
Referenced by setEventNrWord64(), and unpack().
|
staticprivate |
Definition at line 348 of file L1GtFdlWord.h.
Referenced by setFinalOR().
|
staticprivate |
Definition at line 354 of file L1GtFdlWord.h.
Referenced by setFinalOR(), and setFinalORWord64().
|
staticprivate |
Definition at line 342 of file L1GtFdlWord.h.
Referenced by setFinalORWord64(), and unpack().
|
staticprivate |
Definition at line 323 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordA().
|
staticprivate |
Definition at line 324 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordA(), and setGtDecisionWordAWord64().
|
staticprivate |
Definition at line 322 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordAWord64(), and unpack().
|
staticprivate |
Definition at line 329 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordB().
|
staticprivate |
Definition at line 330 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordB(), and setGtDecisionWordBWord64().
|
staticprivate |
Definition at line 328 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordBWord64(), and unpack().
|
staticprivate |
Definition at line 334 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordExtended().
|
staticprivate |
Definition at line 335 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordExtended(), and setGtDecisionWordExtendedWord64().
|
staticprivate |
Definition at line 333 of file L1GtFdlWord.h.
Referenced by setGtDecisionWordExtendedWord64(), and unpack().
|
staticprivate |
Definition at line 346 of file L1GtFdlWord.h.
Referenced by setGtPrescaleFactorIndexAlgo().
|
staticprivate |
Definition at line 352 of file L1GtFdlWord.h.
Referenced by setGtPrescaleFactorIndexAlgo(), and setGtPrescaleFactorIndexAlgoWord64().
|
staticprivate |
Definition at line 340 of file L1GtFdlWord.h.
Referenced by setGtPrescaleFactorIndexAlgoWord64(), and unpack().
|
staticprivate |
Definition at line 345 of file L1GtFdlWord.h.
Referenced by setGtPrescaleFactorIndexTech().
|
staticprivate |
Definition at line 351 of file L1GtFdlWord.h.
Referenced by setGtPrescaleFactorIndexTech(), and setGtPrescaleFactorIndexTechWord64().
|
staticprivate |
Definition at line 339 of file L1GtFdlWord.h.
Referenced by setGtPrescaleFactorIndexTechWord64(), and unpack().
|
staticprivate |
Definition at line 317 of file L1GtFdlWord.h.
Referenced by setGtTechnicalTriggerWord().
|
staticprivate |
Definition at line 318 of file L1GtFdlWord.h.
Referenced by setGtTechnicalTriggerWord(), and setGtTechnicalTriggerWordWord64().
|
staticprivate |
Definition at line 316 of file L1GtFdlWord.h.
Referenced by setGtTechnicalTriggerWordWord64(), and unpack().
|
staticprivate |
Definition at line 363 of file L1GtFdlWord.h.
Referenced by setLocalBxNr().
|
staticprivate |
Definition at line 367 of file L1GtFdlWord.h.
Referenced by setLocalBxNr(), and setLocalBxNrWord64().
|
staticprivate |
Definition at line 359 of file L1GtFdlWord.h.
Referenced by setLocalBxNrWord64(), and unpack().
|
staticprivate |
Definition at line 362 of file L1GtFdlWord.h.
Referenced by setLumiSegmentNr().
|
staticprivate |
Definition at line 366 of file L1GtFdlWord.h.
Referenced by setLumiSegmentNr(), and setLumiSegmentNrWord64().
|
staticprivate |
Definition at line 358 of file L1GtFdlWord.h.
Referenced by setLumiSegmentNrWord64(), and unpack().
|
private |
board identifier
Definition at line 371 of file L1GtFdlWord.h.
Referenced by boardId(), L1GtFdlWord(), operator==(), print(), reset(), setBoardId(), and setBoardIdWord64().
|
private |
bunch cross in the GT event record
Definition at line 374 of file L1GtFdlWord.h.
Referenced by bxInEvent(), L1GtFdlWord(), operator==(), print(), reset(), setBxInEvent(), and setBxInEventWord64().
|
private |
bunch cross number of the actual bx
Definition at line 377 of file L1GtFdlWord.h.
Referenced by bxNr(), L1GtFdlWord(), operator==(), print(), reset(), setBxNr(), and setBxNrWord64().
|
private |
event number since last L1 reset generated in FDL
Definition at line 380 of file L1GtFdlWord.h.
Referenced by eventNr(), L1GtFdlWord(), operator==(), print(), reset(), setEventNr(), and setEventNrWord64().
|
private |
FINOR (7:0) Final OR bits. FINOR(i) is connected to Partition (i);
Definition at line 407 of file L1GtFdlWord.h.
Referenced by finalOR(), globalDecision(), L1GtFdlWord(), operator==(), print(), reset(), setFinalOR(), and setFinalORWord64().
|
private |
algorithm bits
Definition at line 388 of file L1GtFdlWord.h.
Referenced by gtDecisionWord(), L1GtFdlWord(), operator==(), printGtDecisionWord(), reset(), setGtDecisionWord(), setGtDecisionWordA(), setGtDecisionWordAWord64(), setGtDecisionWordB(), and setGtDecisionWordBWord64().
|
private |
extended algorithm bits, in addition to 128
Definition at line 391 of file L1GtFdlWord.h.
Referenced by gtDecisionWordExtended(), L1GtFdlWord(), operator==(), printGtDecisionWordExtended(), reset(), setGtDecisionWordExtended(), and setGtDecisionWordExtendedWord64().
|
private |
Definition at line 400 of file L1GtFdlWord.h.
Referenced by gtPrescaleFactorIndexAlgo(), L1GtFdlWord(), operator==(), print(), reset(), setGtPrescaleFactorIndexAlgo(), and setGtPrescaleFactorIndexAlgoWord64().
|
private |
index of the set of prescale factors in the DB/EventSetup for algorithm triggers and technical triggers
Definition at line 399 of file L1GtFdlWord.h.
Referenced by gtPrescaleFactorIndexTech(), L1GtFdlWord(), operator==(), print(), reset(), setGtPrescaleFactorIndexTech(), and setGtPrescaleFactorIndexTechWord64().
|
private |
technical trigger bits
Definition at line 385 of file L1GtFdlWord.h.
Referenced by gtTechnicalTriggerWord(), L1GtFdlWord(), operator==(), printGtTechnicalTriggerWord(), reset(), setGtTechnicalTriggerWord(), and setGtTechnicalTriggerWordWord64().
|
private |
local bunch cross number of the actual bx bx number at which the data were written into the ringbuffer
Definition at line 419 of file L1GtFdlWord.h.
Referenced by L1GtFdlWord(), localBxNr(), operator==(), print(), reset(), setLocalBxNr(), and setLocalBxNrWord64().
|
private |
luminosity segment number
Definition at line 415 of file L1GtFdlWord.h.
Referenced by L1GtFdlWord(), lumiSegmentNr(), operator==(), print(), reset(), setLumiSegmentNr(), and setLumiSegmentNrWord64().
|
private |
true if no algorithm (from a defined group - default all) triggered
Definition at line 403 of file L1GtFdlWord.h.
Referenced by L1GtFdlWord(), noAlgo(), operator==(), print(), reset(), setNoAlgo(), and setNoAlgoWord64().
|
private |
orbit number
Definition at line 412 of file L1GtFdlWord.h.
Referenced by L1GtFdlWord(), operator==(), orbitNr(), print(), reset(), setOrbitNr(), and setOrbitNrWord64().
|
private |
set to true when physics declared
Definition at line 395 of file L1GtFdlWord.h.
Referenced by L1GtFdlWord(), operator==(), physicsDeclared(), print(), reset(), setPhysicsDeclared(), and setPhysicsDeclaredWord64().
|
staticprivate |
Definition at line 347 of file L1GtFdlWord.h.
Referenced by setNoAlgo().
|
staticprivate |
Definition at line 353 of file L1GtFdlWord.h.
Referenced by setNoAlgo(), and setNoAlgoWord64().
|
staticprivate |
Definition at line 341 of file L1GtFdlWord.h.
Referenced by setNoAlgoWord64(), and unpack().
|
staticprivate |
Definition at line 361 of file L1GtFdlWord.h.
Referenced by setOrbitNr().
|
staticprivate |
Definition at line 365 of file L1GtFdlWord.h.
Referenced by setOrbitNr(), and setOrbitNrWord64().
|
staticprivate |
Definition at line 357 of file L1GtFdlWord.h.
Referenced by setOrbitNrWord64(), and unpack().
|
staticprivate |
Definition at line 344 of file L1GtFdlWord.h.
Referenced by setPhysicsDeclared().
|
staticprivate |
Definition at line 350 of file L1GtFdlWord.h.
Referenced by setPhysicsDeclared(), and setPhysicsDeclaredWord64().
|
staticprivate |
Definition at line 338 of file L1GtFdlWord.h.
Referenced by setPhysicsDeclaredWord64(), and unpack().