Go to the documentation of this file. 1 #ifndef L1GlobalTrigger_L1GtFdlWord_h
2 #define L1GlobalTrigger_L1GtFdlWord_h
282 void print(std::ostream& myCout)
const;
286 void unpack(
const unsigned char* fdlPtr);
cms_uint32_t m_orbitNr
orbit number
unsigned int cms_uint32_t
void setNoAlgoWord64(cms_uint64_t &word64, const int iWord)
const int bxInEvent() const
get/set bunch cross in the GT event record
L1GtFdlWord()
constructors
void setGtDecisionWordB(const cms_uint64_t &word64)
static const int UnitLength
one unit in the word is UnitLength bits
void setBoardId(const cms_uint16_t &boardIdValue)
set BoardId from a BoardId value
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
static const cms_uint64_t EventNrMask
static const int EventNrShift
static const cms_uint64_t BoardIdMask
void setFinalOR(const cms_uint16_t &finalORValue)
static const cms_uint64_t GtDecisionWordAMask
const cms_uint16_t gtPrescaleFactorIndexAlgo() const
const cms_uint16_t physicsDeclared() const
get/set "physics declared" bit
static const int BxInEventShift
cms_uint16_t m_bxNr
bunch cross number of the actual bx
static const int GtDecisionWordBShift
void setGtDecisionWordBWord64(cms_uint64_t &word64, const int iWord)
const cms_uint16_t gtPrescaleFactorIndexTech() const
get/set index of the set of prescale factors
const DecisionWordExtended & gtDecisionWordExtended() const
get/set extended algorithms bits (extended decision word)
static const int BxNrShift
static const cms_uint64_t NoAlgoMask
const cms_uint16_t noAlgo() const
get/set NoAlgo
static const int GtPrescaleFactorIndexTechShift
void setPhysicsDeclared(const cms_uint16_t &physicsDeclaredValue)
static const cms_uint64_t GtPrescaleFactorIndexAlgoMask
bool operator==(const L1GtFdlWord &) const
equal operator
void setOrbitNrWord64(cms_uint64_t &word64, const int iWord)
void setEventNr(const cms_uint32_t &eventNrValue)
void unpack(const unsigned char *fdlPtr)
void setBoardIdWord64(cms_uint64_t &word64, const int iWord)
static const int FinalORWord
void setLumiSegmentNrWord64(cms_uint64_t &word64, const int iWord)
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
void setLocalBxNr(const cms_uint16_t &localBxNrValue)
void setGtPrescaleFactorIndexTechWord64(cms_uint64_t &word64, const int iWord)
void setGtDecisionWord(const DecisionWord >DecisionWordValue)
const cms_uint16_t localBxNr() const
get/set local bunch cross number of the actual bx
void setGtTechnicalTriggerWordWord64(cms_uint64_t &word64, const int iWord)
static const int PhysicsDeclaredShift
cms_uint16_t m_gtPrescaleFactorIndexAlgo
static const int LocalBxNrShift
const cms_uint32_t eventNr() const
get/set event number since last L1 reset generated in FDL
void setGtTechnicalTriggerWord(const TechnicalTriggerWord >TechnicalTriggerWordValue)
static const int NoAlgoShift
static const int BoardIdShift
void setGtDecisionWordA(const cms_uint64_t &word64)
const cms_uint16_t boardId() const
get/set board ID
static const int OrbitNrShift
static const int GtDecisionWordBWord
static const int GtDecisionWordAShift
void setPhysicsDeclaredWord64(cms_uint64_t &word64, const int iWord)
static const int LumiSegmentNrWord
static const int EventNrWord
static const int GtPrescaleFactorIndexAlgoWord
static const int LumiSegmentNrShift
void setLumiSegmentNr(const cms_uint16_t &lumiSegmentNrValue)
static const int BlockSize
void setBxInEventWord64(cms_uint64_t &word64, const int iWord)
void setGtPrescaleFactorIndexTech(const cms_uint16_t >PrescaleFactorIndexTechValue)
virtual ~L1GtFdlWord()
destructor
void reset()
reset the content of a L1GtFdlWord
cms_uint16_t m_lumiSegmentNr
luminosity segment number
cms_uint16_t m_gtPrescaleFactorIndexTech
void setEventNrWord64(cms_uint64_t &word64, const int iWord)
static const cms_uint64_t BxNrMask
static const int GtTechnicalTriggerWordShift
void printGtDecisionWordExtended(std::ostream &myCout) const
void setBxNrWord64(cms_uint64_t &word64, const int iWord)
DecisionWord m_gtDecisionWord
algorithm bits
void setGtPrescaleFactorIndexAlgo(const cms_uint16_t >PrescaleFactorIndexAlgoValue)
static const int BoardIdWord
static const cms_uint64_t GtTechnicalTriggerWordMask
static const int GtDecisionWordAWord
static const int BxInEventWord
static const cms_uint64_t PhysicsDeclaredMask
const DecisionWord & gtDecisionWord() const
get/set/print algorithms bits (decision word)
static const cms_uint64_t LumiSegmentNrMask
unsigned long long cms_uint64_t
unsigned short cms_uint16_t
const cms_uint16_t lumiSegmentNr() const
get/set luminosity segment number of the actual bx
void setNoAlgo(const cms_uint16_t &noAlgoValue)
const cms_uint16_t bxNr() const
get/set BxNr - bunch cross number of the actual bx
static const int PhysicsDeclaredWord
void setGtDecisionWordExtendedWord64(cms_uint64_t &word64, const int iWord)
static const cms_uint64_t OrbitNrMask
void setLocalBxNrWord64(cms_uint64_t &word64, const int iWord)
void setGtDecisionWordAWord64(cms_uint64_t &word64, const int iWord)
std::vector< bool > DecisionWord
typedefs
static const int GtTechnicalTriggerWordWord
static const cms_uint64_t GtDecisionWordExtendedMask
cms_uint16_t m_boardId
board identifier
static const int LocalBxNrWord
std::vector< bool > DecisionWordExtended
const TechnicalTriggerWord & gtTechnicalTriggerWord() const
get/set technical trigger bits
static const int FinalORShift
static const int BxNrWord
bool operator!=(const L1GtFdlWord &) const
unequal operator
static const int GtDecisionWordExtendedWord
void printGtTechnicalTriggerWord(std::ostream &myCout) const
int m_bxInEvent
bunch cross in the GT event record
void setBxInEvent(const int bxInEventValue)
static const int OrbitNrWord
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
static const cms_uint64_t GtPrescaleFactorIndexTechMask
const unsigned int getSize() const
get the size of the FDL block in GT DAQ record (in multiple of 8 bits)
void print(std::ostream &myCout) const
pretty print the content of a L1GtFdlWord
static const cms_uint64_t FinalORMask
static const cms_uint64_t GtDecisionWordBMask
void setOrbitNr(const cms_uint32_t &orbitNrValue)
cms_uint16_t m_physicsDeclared
set to true when physics declared
static const int NoAlgoWord
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
const cms_uint16_t finalOR() const
get/set "Final OR" bits
const bool globalDecision() const
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
static const cms_uint64_t BxInEventMask
static const int GtPrescaleFactorIndexAlgoShift
void setFinalORWord64(cms_uint64_t &word64, const int iWord)
static const int GtDecisionWordExtendedShift
void setBxNr(const cms_uint16_t &bxNrValue)
static const int GtPrescaleFactorIndexTechWord
void setGtPrescaleFactorIndexAlgoWord64(cms_uint64_t &word64, const int iWord)
const cms_uint32_t orbitNr() const
get/set orbit number
void printGtDecisionWord(std::ostream &myCout) const
static const cms_uint64_t LocalBxNrMask
void setGtDecisionWordExtended(const DecisionWordExtended >DecisionWordExtendedValue)