CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes
L1GtFdlWord Class Reference

#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 DecisionWordgtDecisionWord () const
 get/set/print algorithms bits (decision word) More...
 
const DecisionWordExtendedgtDecisionWordExtended () 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 TechnicalTriggerWordgtTechnicalTriggerWord () 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 &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)
 
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 &gtDecisionWordValue)
 
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 &gtDecisionWordExtendedValue)
 
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 &gtPrescaleFactorIndexAlgoValue)
 
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 &gtPrescaleFactorIndexTechValue)
 
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 &gtTechnicalTriggerWordValue)
 
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
 

Detailed Description

Description: L1 Global Trigger - FDL block in the readout record.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

Description: see header file.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

Definition at line 29 of file L1GtFdlWord.h.

Constructor & Destructor Documentation

◆ L1GtFdlWord() [1/2]

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.

32  {
33  m_boardId = 0;
34  m_bxInEvent = 0;
35  m_bxNr = 0;
36  m_eventNr = 0;
37 
38  // technical triggers std::vector<bool>
41 
42  // decision word std::vector<bool>
45 
46  // extended decision word std::vector<bool>
49 
53 
54  m_noAlgo = 0;
55 
56  m_finalOR = 0;
57 
58  m_orbitNr = 0;
59  m_lumiSegmentNr = 0;
60  m_localBxNr = 0;
61 }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
static const unsigned int NumberTechnicalTriggers
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
static const unsigned int NumberPhysTriggersExtended
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
static const unsigned int NumberPhysTriggers
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ L1GtFdlWord() [2/2]

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.

78  : m_boardId(boardIdValue),
79  m_bxInEvent(bxInEventValue),
80  m_bxNr(bxNrValue),
81  m_eventNr(eventNrValue),
82  m_gtTechnicalTriggerWord(gtTechnicalTriggerWordValue),
83  m_gtDecisionWord(gtDecisionWordValue),
84  m_gtDecisionWordExtended(gtDecisionWordExtendedValue),
85  m_gtPrescaleFactorIndexTech(gtPrescaleFactorIndexTechValue),
86  m_gtPrescaleFactorIndexAlgo(gtPrescaleFactorIndexAlgoValue),
87  m_noAlgo(noAlgoValue),
88  m_finalOR(finalORValue),
89  m_orbitNr(orbitNrValue),
90  m_lumiSegmentNr(lumiSegmentNrValue),
91  m_localBxNr(localBxNrValue)
92 
93 {
95 
96  // the rest done in initialization list
97 }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ ~L1GtFdlWord()

L1GtFdlWord::~L1GtFdlWord ( )
virtual

destructor

Definition at line 100 of file L1GtFdlWord.cc.

100  {
101  // empty now
102 }

Member Function Documentation

◆ boardId()

const cms_uint16_t L1GtFdlWord::boardId ( ) const
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().

63 { return m_boardId; }
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371

◆ bxInEvent()

const int L1GtFdlWord::bxInEvent ( ) const
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().

76 { return m_bxInEvent; }
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374

◆ bxNr()

const cms_uint16_t L1GtFdlWord::bxNr ( ) const
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().

88 { return m_bxNr; }
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377

◆ eventNr()

const cms_uint32_t L1GtFdlWord::eventNr ( ) const
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().

100 { return m_eventNr; }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380

◆ finalOR()

const cms_uint16_t L1GtFdlWord::finalOR ( ) const
inline

get/set "Final OR" bits

Definition at line 221 of file L1GtFdlWord.h.

References m_finalOR.

Referenced by L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().

221 { return m_finalOR; }
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407

◆ getSize()

const unsigned int L1GtFdlWord::getSize ( ) const
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().

271  {
272  int unitLengthBits = L1GlobalTriggerReadoutSetup::UnitLength;
273 
274  return BlockSize * unitLengthBits;
275  }
static const int UnitLength
one unit in the word is UnitLength bits
static const int BlockSize
Definition: L1GtFdlWord.h:292

◆ globalDecision()

const bool L1GtFdlWord::globalDecision ( ) const
inline

Definition at line 232 of file L1GtFdlWord.h.

References m_finalOR.

232 { return static_cast<bool>(m_finalOR); }
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407

◆ gtDecisionWord()

const DecisionWord& L1GtFdlWord::gtDecisionWord ( ) const
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().

128 { return m_gtDecisionWord; }
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388

◆ gtDecisionWordExtended()

const DecisionWordExtended& L1GtFdlWord::gtDecisionWordExtended ( ) const
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().

153 { return m_gtDecisionWordExtended; }
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391

◆ gtPrescaleFactorIndexAlgo()

const cms_uint16_t L1GtFdlWord::gtPrescaleFactorIndexAlgo ( ) const
inline

Definition at line 195 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexAlgo.

Referenced by L1TGT::analyze(), L1GtHwValidation::compareFDL(), and HLTPrescaler::filter().

195 { return m_gtPrescaleFactorIndexAlgo; }
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400

◆ gtPrescaleFactorIndexTech()

const cms_uint16_t L1GtFdlWord::gtPrescaleFactorIndexTech ( ) const
inline

get/set index of the set of prescale factors

Definition at line 182 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexTech.

182 { return m_gtPrescaleFactorIndexTech; }
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399

◆ gtTechnicalTriggerWord()

const TechnicalTriggerWord& L1GtFdlWord::gtTechnicalTriggerWord ( ) const
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().

112 { return m_gtTechnicalTriggerWord; }
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385

◆ localBxNr()

const cms_uint16_t L1GtFdlWord::localBxNr ( ) const
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().

259 { return m_localBxNr; }
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419

◆ lumiSegmentNr()

const cms_uint16_t L1GtFdlWord::lumiSegmentNr ( ) const
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().

247 { return m_lumiSegmentNr; }
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415

◆ noAlgo()

const cms_uint16_t L1GtFdlWord::noAlgo ( ) const
inline

get/set NoAlgo

Definition at line 209 of file L1GtFdlWord.h.

References m_noAlgo.

Referenced by L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().

209 { return m_noAlgo; }
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403

◆ operator!=()

bool L1GtFdlWord::operator!= ( const L1GtFdlWord result) const

unequal operator

Definition at line 170 of file L1GtFdlWord.cc.

References mps_fire::result.

170 { return !(result == *this); }

◆ operator==()

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.

105  {
106  if (m_boardId != result.m_boardId) {
107  return false;
108  }
109 
110  if (m_bxInEvent != result.m_bxInEvent) {
111  return false;
112  }
113 
114  if (m_bxNr != result.m_bxNr) {
115  return false;
116  }
117  if (m_eventNr != result.m_eventNr) {
118  return false;
119  }
120 
121  if (m_gtTechnicalTriggerWord != result.m_gtTechnicalTriggerWord) {
122  return false;
123  }
124 
125  if (m_gtDecisionWord != result.m_gtDecisionWord) {
126  return false;
127  }
128 
129  if (m_gtDecisionWordExtended != result.m_gtDecisionWordExtended) {
130  return false;
131  }
132 
133  if (m_physicsDeclared != result.m_physicsDeclared) {
134  return false;
135  }
136 
137  if (m_gtPrescaleFactorIndexTech != result.m_gtPrescaleFactorIndexTech) {
138  return false;
139  }
140 
141  if (m_gtPrescaleFactorIndexAlgo != result.m_gtPrescaleFactorIndexAlgo) {
142  return false;
143  }
144 
145  if (m_noAlgo != result.m_noAlgo) {
146  return false;
147  }
148 
149  if (m_finalOR != result.m_finalOR) {
150  return false;
151  }
152 
153  if (m_orbitNr != result.m_orbitNr) {
154  return false;
155  }
156 
157  if (m_lumiSegmentNr != result.m_lumiSegmentNr) {
158  return false;
159  }
160 
161  if (m_localBxNr != result.m_localBxNr) {
162  return false;
163  }
164 
165  // all members identical
166  return true;
167 }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ orbitNr()

const cms_uint32_t L1GtFdlWord::orbitNr ( ) const
inline

get/set orbit number

Definition at line 235 of file L1GtFdlWord.h.

References m_orbitNr.

Referenced by L1TGT::analyze(), and TrackerDpgAnalysis::analyze().

235 { return m_orbitNr; }
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ physicsDeclared()

const cms_uint16_t L1GtFdlWord::physicsDeclared ( ) const
inline

◆ print()

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().

593  {
594  myCout << "\n L1GtFdlWord::print \n" << std::endl;
595 
596  int iWord = 0;
597 
598  myCout << "\n Word " << iWord << std::endl;
599 
600  myCout << " Board Id: " << std::hex << " hex: "
601  << " " << std::setw(4) << std::setfill('0') << m_boardId << std::setfill(' ') << std::dec
602  << " dec: " << m_boardId << std::endl;
603  //
604 
605  int baseValue = 16; // using hexadecimal values;
606  int hexBxInEvent = (m_bxInEvent + baseValue) % baseValue;
607 
608  myCout << " BxInEvent: " << std::hex << " hex: "
609  << " " << std::setw(1) << hexBxInEvent << std::dec << " dec: " << m_bxInEvent << std::endl;
610 
611  myCout << " BxNr: " << std::hex << " hex: "
612  << " " << std::setw(3) << std::setfill('0') << m_bxNr << std::setfill(' ') << std::dec
613  << " dec: " << m_bxNr << std::endl;
614 
615  myCout << " EventNr: " << std::hex << " hex: "
616  << " " << std::setw(6) << std::setfill('0') << m_eventNr << std::setfill(' ') << std::dec
617  << " dec: " << m_eventNr << std::endl;
618 
619  // technical triggers
620 
621  iWord++;
622  myCout << "\n Word " << iWord << std::endl;
623 
625  myCout << std::endl;
626 
627  // physics triggers (2 words!)
628 
629  iWord++;
630  myCout << "\n Word " << iWord;
631  iWord++;
632  myCout << " and word " << iWord;
633 
634  printGtDecisionWord(myCout);
635  myCout << std::endl;
636 
637  // decision word extended (64 bits)
638 
639  iWord++;
640  myCout << "\n Word " << iWord << std::endl;
641 
643  myCout << std::endl;
644 
645  //
646  iWord++;
647  myCout << "\n Word " << iWord << std::endl;
648 
649  myCout << " PhysicsDeclared: " << std::hex << " hex: "
650  << " " << std::setw(4) << std::setfill('0') << m_physicsDeclared << std::setfill(' ') << std::dec
651  << " dec: " << m_physicsDeclared << std::endl;
652 
653  myCout << " GtPrescaleFactorIndexTech: " << std::hex << " hex: "
654  << " " << std::setw(4) << std::setfill('0') << m_gtPrescaleFactorIndexTech << std::setfill(' ') << std::dec
655  << " dec: " << m_gtPrescaleFactorIndexTech << std::endl;
656 
657  myCout << " GtPrescaleFactorIndexAlgo: " << std::hex << " hex: "
658  << " " << std::setw(4) << std::setfill('0') << m_gtPrescaleFactorIndexAlgo << std::setfill(' ') << std::dec
659  << " dec: " << m_gtPrescaleFactorIndexAlgo << std::endl;
660 
661  myCout << " NoAlgo: " << std::hex << " hex: "
662  << " " << std::setw(1) << std::setfill('0') << m_noAlgo << std::setfill(' ') << std::dec
663  << " dec: " << m_noAlgo << std::endl;
664 
665  myCout << " FinalOR: " << std::hex << " hex: "
666  << " " << std::setw(2) << std::setfill('0') << m_finalOR << std::setfill(' ') << std::dec
667  << " dec: " << m_finalOR << std::endl;
668 
669  iWord++;
670  myCout << "\n Word " << iWord << std::endl;
671 
672  myCout << " OrbitNr: " << std::hex << " hex: "
673  << "" << std::setw(8) << std::setfill('0') << m_orbitNr << std::setfill(' ') << std::dec
674  << " dec: " << m_orbitNr << std::endl;
675 
676  myCout << " LumiSegmentNr: " << std::hex << " hex: "
677  << " " << std::setw(4) << std::setfill('0') << m_lumiSegmentNr << std::setfill(' ') << std::dec
678  << " dec: " << m_lumiSegmentNr << std::endl;
679 
680  myCout << " LocalBxNr: " << std::hex << " hex: "
681  << " " << std::setw(3) << std::setfill('0') << m_localBxNr << std::setfill(' ') << std::dec
682  << " dec: " << m_localBxNr << std::endl;
683 }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
void printGtDecisionWord(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:286
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
void printGtDecisionWordExtended(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:411
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
void printGtTechnicalTriggerWord(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:227
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ printGtDecisionWord()

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().

286  {
287  // decision word (in 64bits words)
288  int sizeW64 = 64; // 64 bits words
289 
290  int iBit = 0;
291  int nrDecWord = m_gtDecisionWord.size() / sizeW64;
292 
293  std::ostringstream stream64;
294 
295  std::vector<std::string> decWord;
296  decWord.reserve(nrDecWord);
297 
298  for (std::vector<bool>::const_reverse_iterator ritBit = m_gtDecisionWord.rbegin(); ritBit != m_gtDecisionWord.rend();
299  ++ritBit) {
300  stream64 << (*ritBit ? '1' : '0');
301 
302  if ((((iBit + 1) % 16) == (sizeW64 % 16))) {
303  stream64 << " ";
304  }
305 
306  if (((iBit + 1) % sizeW64) == 0) {
307  std::string iW = stream64.str();
308  stream64.str("");
309 
310  decWord.push_back(iW);
311  }
312 
313  iBit++;
314  }
315 
316  int iWord = 0;
317 
318  for (std::vector<std::string>::reverse_iterator ritWord = decWord.rbegin(); ritWord != decWord.rend(); ++ritWord) {
319  myCout << std::endl;
320  myCout << " DecisionWord (bitset style): bits " << iWord * sizeW64 + sizeW64 - 1 << " : " << iWord * sizeW64
321  << "\n ";
322  myCout << *ritWord;
323 
324  iWord++;
325  }
326 }
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388

◆ printGtDecisionWordExtended()

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().

411  {
412  myCout << " DecisionWordExtended (bitset style): \n ";
413 
414  int sizeW64 = 64; // 64 bits words
415  int iBit = 0;
416 
417  for (std::vector<bool>::const_reverse_iterator ritBit = m_gtDecisionWordExtended.rbegin();
418  ritBit != m_gtDecisionWordExtended.rend();
419  ++ritBit) {
420  myCout << (*ritBit ? '1' : '0');
421 
422  if ((((iBit + 1) % 16) == (sizeW64 % 16)) && (iBit != 63)) {
423  myCout << " ";
424  }
425 
426  iBit++;
427  }
428 }
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391

◆ printGtTechnicalTriggerWord()

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().

227  {
228  myCout << " Technical triggers (bitset style): \n ";
229 
230  int sizeW64 = 64; // 64 bits words
231  int iBit = 0;
232 
233  for (std::vector<bool>::const_reverse_iterator ritBit = m_gtTechnicalTriggerWord.rbegin();
234  ritBit != m_gtTechnicalTriggerWord.rend();
235  ++ritBit) {
236  myCout << (*ritBit ? '1' : '0');
237 
238  if ((((iBit + 1) % 16) == (sizeW64 % 16)) && (iBit != 63)) {
239  myCout << " ";
240  }
241 
242  iBit++;
243  }
244 }
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385

◆ reset()

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().

565  {
566  m_boardId = 0;
567  m_bxInEvent = 0;
568  m_bxNr = 0;
569  m_eventNr = 0;
570 
571  // technical triggers std::vector<bool>
573 
574  // decision word std::vector<bool>
576 
577  // extended decision word std::vector<bool>
579 
580  m_physicsDeclared = 0;
583 
584  m_noAlgo = 0;
585  m_finalOR = 0;
586 
587  m_orbitNr = 0;
588  m_lumiSegmentNr = 0;
589  m_localBxNr = 0;
590 }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
static const unsigned int NumberTechnicalTriggers
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
static const unsigned int NumberPhysTriggersExtended
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
static const unsigned int NumberPhysTriggers
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ setBoardId() [1/2]

void L1GtFdlWord::setBoardId ( const cms_uint16_t boardIdValue)
inline

set BoardId from a BoardId value

Definition at line 66 of file L1GtFdlWord.h.

References m_boardId.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

66 { m_boardId = boardIdValue; }
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371

◆ setBoardId() [2/2]

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.

175 { m_boardId = (word64 & BoardIdMask) >> BoardIdShift; }
static const cms_uint64_t BoardIdMask
Definition: L1GtFdlWord.h:303
static const int BoardIdShift
Definition: L1GtFdlWord.h:309
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371

◆ setBoardIdWord64()

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().

179  {
180  if (iWord == BoardIdWord) {
181  word64 = word64 | (static_cast<cms_uint64_t>(m_boardId) << BoardIdShift);
182  }
183 }
static const int BoardIdShift
Definition: L1GtFdlWord.h:309
static const int BoardIdWord
Definition: L1GtFdlWord.h:297
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setBxInEvent() [1/2]

void L1GtFdlWord::setBxInEvent ( const int  bxInEventValue)
inline

Definition at line 78 of file L1GtFdlWord.h.

References m_bxInEvent.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

78 { m_bxInEvent = bxInEventValue; }
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374

◆ setBxInEvent() [2/2]

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.

186  {
187  int baseValue = 16; // using hexadecimal values;
188  int hexBxInEvent = (word64 & BxInEventMask) >> BxInEventShift;
189  m_bxInEvent = (hexBxInEvent + baseValue / 2) % baseValue - baseValue / 2;
190 }
static const int BxInEventShift
Definition: L1GtFdlWord.h:310
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
static const cms_uint64_t BxInEventMask
Definition: L1GtFdlWord.h:304

◆ setBxInEventWord64()

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().

194  {
195  if (iWord == BxInEventWord) {
196  int baseValue = 16; // using hexadecimal values;
197  int hexBxInEvent = (m_bxInEvent + baseValue) % baseValue;
198  word64 = word64 | (static_cast<cms_uint64_t>(hexBxInEvent) << BxInEventShift);
199  }
200 }
static const int BxInEventShift
Definition: L1GtFdlWord.h:310
static const int BxInEventWord
Definition: L1GtFdlWord.h:298
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setBxNr() [1/2]

void L1GtFdlWord::setBxNr ( const cms_uint16_t bxNrValue)
inline

Definition at line 90 of file L1GtFdlWord.h.

References m_bxNr.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

90 { m_bxNr = bxNrValue; }
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377

◆ setBxNr() [2/2]

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.

203 { m_bxNr = (word64 & BxNrMask) >> BxNrShift; }
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
static const int BxNrShift
Definition: L1GtFdlWord.h:311
static const cms_uint64_t BxNrMask
Definition: L1GtFdlWord.h:305

◆ setBxNrWord64()

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().

207  {
208  if (iWord == BxNrWord) {
209  word64 = word64 | (static_cast<cms_uint64_t>(m_bxNr) << BxNrShift);
210  }
211 }
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
static const int BxNrShift
Definition: L1GtFdlWord.h:311
static const int BxNrWord
Definition: L1GtFdlWord.h:299
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setEventNr() [1/2]

void L1GtFdlWord::setEventNr ( const cms_uint32_t eventNrValue)
inline

Definition at line 102 of file L1GtFdlWord.h.

References m_eventNr.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

102 { m_eventNr = eventNrValue; }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380

◆ setEventNr() [2/2]

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.

214 { m_eventNr = (word64 & EventNrMask) >> EventNrShift; }
static const cms_uint64_t EventNrMask
Definition: L1GtFdlWord.h:306
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
static const int EventNrShift
Definition: L1GtFdlWord.h:312

◆ setEventNrWord64()

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().

218  {
219  if (iWord == EventNrWord) {
220  word64 = word64 | (static_cast<cms_uint64_t>(m_eventNr) << EventNrShift);
221  }
222 }
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
static const int EventNrShift
Definition: L1GtFdlWord.h:312
static const int EventNrWord
Definition: L1GtFdlWord.h:300
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setFinalOR() [1/2]

void L1GtFdlWord::setFinalOR ( const cms_uint16_t finalORValue)
inline

Definition at line 223 of file L1GtFdlWord.h.

References m_finalOR.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

223 { m_finalOR = finalORValue; }
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407

◆ setFinalOR() [2/2]

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.

519 { m_finalOR = (word64 & FinalORMask) >> FinalORShift; }
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
static const int FinalORShift
Definition: L1GtFdlWord.h:354
static const cms_uint64_t FinalORMask
Definition: L1GtFdlWord.h:348

◆ setFinalORWord64()

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().

523  {
524  if (iWord == FinalORWord) {
525  word64 = word64 | (static_cast<cms_uint64_t>(m_finalOR) << FinalORShift);
526  }
527 }
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
static const int FinalORWord
Definition: L1GtFdlWord.h:342
static const int FinalORShift
Definition: L1GtFdlWord.h:354
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setGtDecisionWord()

void L1GtFdlWord::setGtDecisionWord ( const DecisionWord gtDecisionWordValue)
inline

Definition at line 130 of file L1GtFdlWord.h.

References m_gtDecisionWord.

Referenced by L1GlobalTriggerFDL::run().

130 { m_gtDecisionWord = gtDecisionWordValue; }
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388

◆ setGtDecisionWordA()

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().

330  {
331  int word64Size = sizeof(word64) * 8; // well, it should be 64, if not... :-)
333 
334  cms_uint64_t one64 = 1ULL;
335 
336  for (int iBit = 0; iBit < word64Size; ++iBit) {
337  m_gtDecisionWord.at(iBit) = wordA & (one64 << iBit);
338  }
339 }
static const cms_uint64_t GtDecisionWordAMask
Definition: L1GtFdlWord.h:323
static const int GtDecisionWordAShift
Definition: L1GtFdlWord.h:324
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setGtDecisionWordAWord64()

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().

359  {
360  if (iWord == GtDecisionWordAWord) {
361  int word64Size = sizeof(word64) * 8;
362  cms_uint64_t wordA = 0x0000000000000000ULL;
363 
364  int iBit = 0;
365  cms_uint64_t iDecision = 0ULL;
366 
367  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWord.begin(); itBit != m_gtDecisionWord.end(); ++itBit) {
368  iDecision = static_cast<cms_uint64_t>(*itBit); //(*itBit ? 1 : 0);
369  wordA = wordA | (iDecision << iBit);
370 
371  iBit++;
372  if (iBit >= word64Size) {
373  break;
374  }
375  }
376 
377  word64 = word64 | (wordA << GtDecisionWordAShift);
378  }
379 }
static const int GtDecisionWordAShift
Definition: L1GtFdlWord.h:324
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
static const int GtDecisionWordAWord
Definition: L1GtFdlWord.h:322
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setGtDecisionWordB()

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().

343  {
344  int word64Size = sizeof(word64) * 8;
346 
347  cms_uint64_t one64 = 1ULL;
348 
349  for (int iBit = 0; iBit < word64Size; ++iBit) {
350  m_gtDecisionWord.at(iBit + word64Size) = wordB & (one64 << iBit);
351  }
352 }
static const int GtDecisionWordBShift
Definition: L1GtFdlWord.h:330
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
static const cms_uint64_t GtDecisionWordBMask
Definition: L1GtFdlWord.h:329
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setGtDecisionWordBWord64()

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().

386  {
387  if (iWord == GtDecisionWordBWord) {
388  int word64Size = sizeof(word64) * 8;
389  cms_uint64_t wordB = 0x0000000000000000ULL;
390 
391  int iBit = 0;
392  cms_uint64_t iDecision = 0ULL;
393 
394  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWord.begin(); itBit != m_gtDecisionWord.end(); ++itBit) {
395  if (iBit >= word64Size) {
396  // skip first word64Size bits, they go in wordA
397  iDecision = static_cast<cms_uint64_t>(*itBit); //(*itBit ? 1 : 0);
398  wordB = wordB | (iDecision << (iBit - word64Size));
399  }
400 
401  iBit++;
402  }
403 
404  word64 = word64 | (wordB << GtDecisionWordBShift);
405  }
406 }
static const int GtDecisionWordBShift
Definition: L1GtFdlWord.h:330
static const int GtDecisionWordBWord
Definition: L1GtFdlWord.h:328
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setGtDecisionWordExtended() [1/2]

void L1GtFdlWord::setGtDecisionWordExtended ( const DecisionWordExtended gtDecisionWordExtendedValue)
inline

Definition at line 155 of file L1GtFdlWord.h.

References m_gtDecisionWordExtended.

Referenced by unpack().

155  {
156  m_gtDecisionWordExtended = gtDecisionWordExtendedValue;
157  }
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391

◆ setGtDecisionWordExtended() [2/2]

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.

431  {
432  int word64Size = sizeof(word64) * 8;
434 
435  cms_uint64_t one64 = 1ULL;
436 
437  for (int iBit = 0; iBit < word64Size; ++iBit) {
438  m_gtDecisionWordExtended.at(iBit) = wordE & (one64 << iBit);
439  }
440 }
static const cms_uint64_t GtDecisionWordExtendedMask
Definition: L1GtFdlWord.h:334
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int GtDecisionWordExtendedShift
Definition: L1GtFdlWord.h:335

◆ setGtDecisionWordExtendedWord64()

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().

444  {
445  if (iWord == GtDecisionWordExtendedWord) {
446  int word64Size = sizeof(word64) * 8;
447  cms_uint64_t wordE = 0x0000000000000000ULL;
448 
449  int iBit = 0;
450  cms_uint64_t iDecision = 0ULL;
451 
452  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWordExtended.begin();
453  itBit != m_gtDecisionWordExtended.end();
454  ++itBit) {
455  iDecision = static_cast<cms_uint64_t>(*itBit); //(*itBit ? 1 : 0);
456  wordE = wordE | (iDecision << iBit);
457 
458  iBit++;
459  if (iBit >= word64Size) {
460  break;
461  }
462  }
463 
464  word64 = word64 | (wordE << GtDecisionWordExtendedShift);
465  }
466 }
static const int GtDecisionWordExtendedWord
Definition: L1GtFdlWord.h:333
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int GtDecisionWordExtendedShift
Definition: L1GtFdlWord.h:335

◆ setGtPrescaleFactorIndexAlgo() [1/2]

void L1GtFdlWord::setGtPrescaleFactorIndexAlgo ( const cms_uint16_t gtPrescaleFactorIndexAlgoValue)
inline

Definition at line 197 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexAlgo.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

197  {
198  m_gtPrescaleFactorIndexAlgo = gtPrescaleFactorIndexAlgoValue;
199  }
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400

◆ setGtPrescaleFactorIndexAlgo() [2/2]

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.

495  {
497 }
static const cms_uint64_t GtPrescaleFactorIndexAlgoMask
Definition: L1GtFdlWord.h:346
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
static const int GtPrescaleFactorIndexAlgoShift
Definition: L1GtFdlWord.h:352

◆ setGtPrescaleFactorIndexAlgoWord64()

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().

501  {
502  if (iWord == GtPrescaleFactorIndexAlgoWord) {
503  word64 = word64 | (static_cast<cms_uint64_t>(m_gtPrescaleFactorIndexAlgo) << GtPrescaleFactorIndexAlgoShift);
504  }
505 }
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
static const int GtPrescaleFactorIndexAlgoWord
Definition: L1GtFdlWord.h:340
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int GtPrescaleFactorIndexAlgoShift
Definition: L1GtFdlWord.h:352

◆ setGtPrescaleFactorIndexTech() [1/2]

void L1GtFdlWord::setGtPrescaleFactorIndexTech ( const cms_uint16_t gtPrescaleFactorIndexTechValue)
inline

Definition at line 184 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexTech.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

184  {
185  m_gtPrescaleFactorIndexTech = gtPrescaleFactorIndexTechValue;
186  }
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399

◆ setGtPrescaleFactorIndexTech() [2/2]

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.

482  {
484 }
static const int GtPrescaleFactorIndexTechShift
Definition: L1GtFdlWord.h:351
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
static const cms_uint64_t GtPrescaleFactorIndexTechMask
Definition: L1GtFdlWord.h:345

◆ setGtPrescaleFactorIndexTechWord64()

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().

488  {
489  if (iWord == GtPrescaleFactorIndexTechWord) {
490  word64 = word64 | (static_cast<cms_uint64_t>(m_gtPrescaleFactorIndexTech) << GtPrescaleFactorIndexTechShift);
491  }
492 }
static const int GtPrescaleFactorIndexTechShift
Definition: L1GtFdlWord.h:351
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int GtPrescaleFactorIndexTechWord
Definition: L1GtFdlWord.h:339

◆ setGtTechnicalTriggerWord() [1/2]

void L1GtFdlWord::setGtTechnicalTriggerWord ( const TechnicalTriggerWord gtTechnicalTriggerWordValue)
inline

Definition at line 114 of file L1GtFdlWord.h.

References m_gtTechnicalTriggerWord.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

114  {
115  m_gtTechnicalTriggerWord = gtTechnicalTriggerWordValue;
116  }
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385

◆ setGtTechnicalTriggerWord() [2/2]

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.

247  {
248  int word64Size = sizeof(word64) * 8;
250 
251  cms_uint64_t one64 = 1ULL;
252  for (int iBit = 0; iBit < word64Size; ++iBit) {
253  m_gtTechnicalTriggerWord.at(iBit) = wordTT & (one64 << iBit);
254  }
255 }
static const cms_uint64_t GtTechnicalTriggerWordMask
Definition: L1GtFdlWord.h:317
static const int GtTechnicalTriggerWordShift
Definition: L1GtFdlWord.h:318
unsigned long long cms_uint64_t
Definition: typedefs.h:17
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385

◆ setGtTechnicalTriggerWordWord64()

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().

259  {
260  if (iWord == GtTechnicalTriggerWordWord) {
261  int word64Size = sizeof(word64) * 8;
262  cms_uint64_t wordTT = 0x0000000000000000ULL;
263 
264  int iBit = 0;
265  cms_uint64_t iDecision = 0ULL;
266 
267  for (std::vector<bool>::const_iterator itBit = m_gtTechnicalTriggerWord.begin();
268  itBit != m_gtTechnicalTriggerWord.end();
269  ++itBit) {
270  iDecision = static_cast<cms_uint64_t>(*itBit); //(*itBit ? 1 : 0);
271  wordTT = wordTT | (iDecision << iBit);
272 
273  iBit++;
274  if (iBit >= word64Size) {
275  break;
276  }
277  }
278 
279  word64 = word64 | (wordTT << GtTechnicalTriggerWordShift);
280  }
281 }
static const int GtTechnicalTriggerWordShift
Definition: L1GtFdlWord.h:318
static const int GtTechnicalTriggerWordWord
Definition: L1GtFdlWord.h:316
unsigned long long cms_uint64_t
Definition: typedefs.h:17
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385

◆ setLocalBxNr() [1/2]

void L1GtFdlWord::setLocalBxNr ( const cms_uint16_t localBxNrValue)
inline

Definition at line 261 of file L1GtFdlWord.h.

References m_localBxNr.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

261 { m_localBxNr = localBxNrValue; }
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419

◆ setLocalBxNr() [2/2]

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.

554 { m_localBxNr = (word64 & LocalBxNrMask) >> LocalBxNrShift; }
static const cms_uint64_t LocalBxNrMask
Definition: L1GtFdlWord.h:363
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
static const int LocalBxNrShift
Definition: L1GtFdlWord.h:367

◆ setLocalBxNrWord64()

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().

558  {
559  if (iWord == LocalBxNrWord) {
560  word64 = word64 | (static_cast<cms_uint64_t>(m_localBxNr) << LocalBxNrShift);
561  }
562 }
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
static const int LocalBxNrShift
Definition: L1GtFdlWord.h:367
static const int LocalBxNrWord
Definition: L1GtFdlWord.h:359
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setLumiSegmentNr() [1/2]

void L1GtFdlWord::setLumiSegmentNr ( const cms_uint16_t lumiSegmentNrValue)
inline

Definition at line 249 of file L1GtFdlWord.h.

References m_lumiSegmentNr.

Referenced by L1GlobalTriggerEvmRawToDigi::produce(), L1GlobalTriggerRawToDigi::produce(), L1GlobalTriggerFDL::run(), and unpack().

249 { m_lumiSegmentNr = lumiSegmentNrValue; }
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415

◆ setLumiSegmentNr() [2/2]

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.

541  {
543 }
static const int LumiSegmentNrShift
Definition: L1GtFdlWord.h:366
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
static const cms_uint64_t LumiSegmentNrMask
Definition: L1GtFdlWord.h:362

◆ setLumiSegmentNrWord64()

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().

547  {
548  if (iWord == LumiSegmentNrWord) {
549  word64 = word64 | (static_cast<cms_uint64_t>(m_lumiSegmentNr) << LumiSegmentNrShift);
550  }
551 }
static const int LumiSegmentNrShift
Definition: L1GtFdlWord.h:366
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
static const int LumiSegmentNrWord
Definition: L1GtFdlWord.h:358
unsigned long long cms_uint64_t
Definition: typedefs.h:17

◆ setNoAlgo() [1/2]

void L1GtFdlWord::setNoAlgo ( const cms_uint16_t noAlgoValue)
inline

Definition at line 211 of file L1GtFdlWord.h.

References m_noAlgo.

Referenced by unpack().

211 { m_noAlgo = noAlgoValue; }
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403

◆ setNoAlgo() [2/2]

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.

508 { m_noAlgo = (word64 & NoAlgoMask) >> NoAlgoShift; }
static const cms_uint64_t NoAlgoMask
Definition: L1GtFdlWord.h:347
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
static const int NoAlgoShift
Definition: L1GtFdlWord.h:353

◆ setNoAlgoWord64()

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().

512  {
513  if (iWord == NoAlgoWord) {
514  word64 = word64 | (static_cast<cms_uint64_t>(m_noAlgo) << NoAlgoShift);
515  }
516 }
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
static const int NoAlgoShift
Definition: L1GtFdlWord.h:353
unsigned long long cms_uint64_t
Definition: typedefs.h:17
static const int NoAlgoWord
Definition: L1GtFdlWord.h:341

◆ setOrbitNr() [1/2]

void L1GtFdlWord::setOrbitNr ( const cms_uint32_t orbitNrValue)
inline

Definition at line 237 of file L1GtFdlWord.h.

References m_orbitNr.

Referenced by L1GlobalTriggerFDL::run(), and unpack().

237 { m_orbitNr = orbitNrValue; }
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ setOrbitNr() [2/2]

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.

530 { m_orbitNr = (word64 & OrbitNrMask) >> OrbitNrShift; }
static const int OrbitNrShift
Definition: L1GtFdlWord.h:365
static const cms_uint64_t OrbitNrMask
Definition: L1GtFdlWord.h:361
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ setOrbitNrWord64()

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().

534  {
535  if (iWord == OrbitNrWord) {
536  word64 = word64 | (static_cast<cms_uint64_t>(m_orbitNr) << OrbitNrShift);
537  }
538 }
static const int OrbitNrShift
Definition: L1GtFdlWord.h:365
static const int OrbitNrWord
Definition: L1GtFdlWord.h:357
unsigned long long cms_uint64_t
Definition: typedefs.h:17
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412

◆ setPhysicsDeclared() [1/2]

void L1GtFdlWord::setPhysicsDeclared ( const cms_uint16_t physicsDeclaredValue)
inline

Definition at line 171 of file L1GtFdlWord.h.

References m_physicsDeclared.

Referenced by unpack().

171 { m_physicsDeclared = physicsDeclaredValue; }
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395

◆ setPhysicsDeclared() [2/2]

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.

469  {
471 }
static const int PhysicsDeclaredShift
Definition: L1GtFdlWord.h:350
static const cms_uint64_t PhysicsDeclaredMask
Definition: L1GtFdlWord.h:344
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395

◆ setPhysicsDeclaredWord64()

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().

475  {
476  if (iWord == PhysicsDeclaredWord) {
477  word64 = word64 | (static_cast<cms_uint64_t>(m_physicsDeclared) << PhysicsDeclaredShift);
478  }
479 }
static const int PhysicsDeclaredShift
Definition: L1GtFdlWord.h:350
static const int PhysicsDeclaredWord
Definition: L1GtFdlWord.h:338
unsigned long long cms_uint64_t
Definition: typedefs.h:17
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395

◆ unpack()

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().

687  {
688  LogDebug("L1GtFdlWord") << "\nUnpacking FDL block.\n" << std::endl;
689 
690  const cms_uint64_t* payload = reinterpret_cast<cms_uint64_t const*>(fdlPtr);
691 
696 
698 
700 
702 
704 
710 
714 
715  if (edm::isDebugEnabled()) {
716  for (int iWord = 0; iWord < BlockSize; ++iWord) {
717  LogTrace("L1GtFdlWord") << std::setw(4) << iWord << " " << std::hex << std::setfill('0') << std::setw(16)
718  << payload[iWord] << std::dec << std::setfill(' ') << std::endl;
719  }
720  }
721 }
void setGtDecisionWordB(const cms_uint64_t &word64)
Definition: L1GtFdlWord.cc:343
bool isDebugEnabled()
void setBoardId(const cms_uint16_t &boardIdValue)
set BoardId from a BoardId value
Definition: L1GtFdlWord.h:66
void setFinalOR(const cms_uint16_t &finalORValue)
Definition: L1GtFdlWord.h:223
void setPhysicsDeclared(const cms_uint16_t &physicsDeclaredValue)
Definition: L1GtFdlWord.h:171
void setEventNr(const cms_uint32_t &eventNrValue)
Definition: L1GtFdlWord.h:102
static const int FinalORWord
Definition: L1GtFdlWord.h:342
#define LogTrace(id)
void setLocalBxNr(const cms_uint16_t &localBxNrValue)
Definition: L1GtFdlWord.h:261
void setGtDecisionWordA(const cms_uint64_t &word64)
Definition: L1GtFdlWord.cc:330
static const int GtDecisionWordBWord
Definition: L1GtFdlWord.h:328
static const int GtPrescaleFactorIndexAlgoWord
Definition: L1GtFdlWord.h:340
void setGtTechnicalTriggerWord(const TechnicalTriggerWord &gtTechnicalTriggerWordValue)
Definition: L1GtFdlWord.h:114
void setLumiSegmentNr(const cms_uint16_t &lumiSegmentNrValue)
Definition: L1GtFdlWord.h:249
static const int BlockSize
Definition: L1GtFdlWord.h:292
static const int LumiSegmentNrWord
Definition: L1GtFdlWord.h:358
static const int EventNrWord
Definition: L1GtFdlWord.h:300
void setGtPrescaleFactorIndexAlgo(const cms_uint16_t &gtPrescaleFactorIndexAlgoValue)
Definition: L1GtFdlWord.h:197
static const int BoardIdWord
Definition: L1GtFdlWord.h:297
void setGtPrescaleFactorIndexTech(const cms_uint16_t &gtPrescaleFactorIndexTechValue)
Definition: L1GtFdlWord.h:184
static const int BxInEventWord
Definition: L1GtFdlWord.h:298
void setNoAlgo(const cms_uint16_t &noAlgoValue)
Definition: L1GtFdlWord.h:211
static const int GtDecisionWordAWord
Definition: L1GtFdlWord.h:322
static const int BxNrWord
Definition: L1GtFdlWord.h:299
static const int PhysicsDeclaredWord
Definition: L1GtFdlWord.h:338
static const int OrbitNrWord
Definition: L1GtFdlWord.h:357
static const int GtTechnicalTriggerWordWord
Definition: L1GtFdlWord.h:316
static const int LocalBxNrWord
Definition: L1GtFdlWord.h:359
void setOrbitNr(const cms_uint32_t &orbitNrValue)
Definition: L1GtFdlWord.h:237
static const int GtDecisionWordExtendedWord
Definition: L1GtFdlWord.h:333
void setBxInEvent(const int bxInEventValue)
Definition: L1GtFdlWord.h:78
unsigned long long cms_uint64_t
Definition: typedefs.h:17
void setBxNr(const cms_uint16_t &bxNrValue)
Definition: L1GtFdlWord.h:90
static const int GtPrescaleFactorIndexTechWord
Definition: L1GtFdlWord.h:339
static const int NoAlgoWord
Definition: L1GtFdlWord.h:341
void setGtDecisionWordExtended(const DecisionWordExtended &gtDecisionWordExtendedValue)
Definition: L1GtFdlWord.h:155
#define LogDebug(id)

Member Data Documentation

◆ BlockSize

const int L1GtFdlWord::BlockSize = 7
staticprivate

Definition at line 292 of file L1GtFdlWord.h.

Referenced by getSize(), and unpack().

◆ BoardIdMask

const cms_uint64_t L1GtFdlWord::BoardIdMask = 0xFFFF000000000000ULL
staticprivate

Definition at line 303 of file L1GtFdlWord.h.

Referenced by setBoardId().

◆ BoardIdShift

const int L1GtFdlWord::BoardIdShift = 48
staticprivate

Definition at line 309 of file L1GtFdlWord.h.

Referenced by setBoardId(), and setBoardIdWord64().

◆ BoardIdWord

const int L1GtFdlWord::BoardIdWord = 0
staticprivate

Definition at line 297 of file L1GtFdlWord.h.

Referenced by setBoardIdWord64(), and unpack().

◆ BxInEventMask

const cms_uint64_t L1GtFdlWord::BxInEventMask = 0x0000F00000000000ULL
staticprivate

Definition at line 304 of file L1GtFdlWord.h.

Referenced by setBxInEvent().

◆ BxInEventShift

const int L1GtFdlWord::BxInEventShift = 44
staticprivate

Definition at line 310 of file L1GtFdlWord.h.

Referenced by setBxInEvent(), and setBxInEventWord64().

◆ BxInEventWord

const int L1GtFdlWord::BxInEventWord = 0
staticprivate

Definition at line 298 of file L1GtFdlWord.h.

Referenced by setBxInEventWord64(), and unpack().

◆ BxNrMask

const cms_uint64_t L1GtFdlWord::BxNrMask = 0x00000FFF00000000ULL
staticprivate

Definition at line 305 of file L1GtFdlWord.h.

Referenced by setBxNr().

◆ BxNrShift

const int L1GtFdlWord::BxNrShift = 32
staticprivate

Definition at line 311 of file L1GtFdlWord.h.

Referenced by setBxNr(), and setBxNrWord64().

◆ BxNrWord

const int L1GtFdlWord::BxNrWord = 0
staticprivate

Definition at line 299 of file L1GtFdlWord.h.

Referenced by setBxNrWord64(), and unpack().

◆ EventNrMask

const cms_uint64_t L1GtFdlWord::EventNrMask = 0x0000000000FFFFFFULL
staticprivate

Definition at line 306 of file L1GtFdlWord.h.

Referenced by setEventNr().

◆ EventNrShift

const int L1GtFdlWord::EventNrShift = 0
staticprivate

Definition at line 312 of file L1GtFdlWord.h.

Referenced by setEventNr(), and setEventNrWord64().

◆ EventNrWord

const int L1GtFdlWord::EventNrWord = 0
staticprivate

Definition at line 300 of file L1GtFdlWord.h.

Referenced by setEventNrWord64(), and unpack().

◆ FinalORMask

const cms_uint64_t L1GtFdlWord::FinalORMask = 0x00000000000000FFULL
staticprivate

Definition at line 348 of file L1GtFdlWord.h.

Referenced by setFinalOR().

◆ FinalORShift

const int L1GtFdlWord::FinalORShift = 0
staticprivate

Definition at line 354 of file L1GtFdlWord.h.

Referenced by setFinalOR(), and setFinalORWord64().

◆ FinalORWord

const int L1GtFdlWord::FinalORWord = 5
staticprivate

Definition at line 342 of file L1GtFdlWord.h.

Referenced by setFinalORWord64(), and unpack().

◆ GtDecisionWordAMask

const cms_uint64_t L1GtFdlWord::GtDecisionWordAMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 323 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordA().

◆ GtDecisionWordAShift

const int L1GtFdlWord::GtDecisionWordAShift = 0
staticprivate

Definition at line 324 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordA(), and setGtDecisionWordAWord64().

◆ GtDecisionWordAWord

const int L1GtFdlWord::GtDecisionWordAWord = 2
staticprivate

Definition at line 322 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordAWord64(), and unpack().

◆ GtDecisionWordBMask

const cms_uint64_t L1GtFdlWord::GtDecisionWordBMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 329 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordB().

◆ GtDecisionWordBShift

const int L1GtFdlWord::GtDecisionWordBShift = 0
staticprivate

Definition at line 330 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordB(), and setGtDecisionWordBWord64().

◆ GtDecisionWordBWord

const int L1GtFdlWord::GtDecisionWordBWord = 3
staticprivate

Definition at line 328 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordBWord64(), and unpack().

◆ GtDecisionWordExtendedMask

const cms_uint64_t L1GtFdlWord::GtDecisionWordExtendedMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 334 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtended().

◆ GtDecisionWordExtendedShift

const int L1GtFdlWord::GtDecisionWordExtendedShift = 0
staticprivate

Definition at line 335 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtended(), and setGtDecisionWordExtendedWord64().

◆ GtDecisionWordExtendedWord

const int L1GtFdlWord::GtDecisionWordExtendedWord = 4
staticprivate

Definition at line 333 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtendedWord64(), and unpack().

◆ GtPrescaleFactorIndexAlgoMask

const cms_uint64_t L1GtFdlWord::GtPrescaleFactorIndexAlgoMask = 0x000000FF00000000ULL
staticprivate

Definition at line 346 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexAlgo().

◆ GtPrescaleFactorIndexAlgoShift

const int L1GtFdlWord::GtPrescaleFactorIndexAlgoShift = 32
staticprivate

◆ GtPrescaleFactorIndexAlgoWord

const int L1GtFdlWord::GtPrescaleFactorIndexAlgoWord = 5
staticprivate

Definition at line 340 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexAlgoWord64(), and unpack().

◆ GtPrescaleFactorIndexTechMask

const cms_uint64_t L1GtFdlWord::GtPrescaleFactorIndexTechMask = 0x00FF000000000000ULL
staticprivate

Definition at line 345 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexTech().

◆ GtPrescaleFactorIndexTechShift

const int L1GtFdlWord::GtPrescaleFactorIndexTechShift = 48
staticprivate

◆ GtPrescaleFactorIndexTechWord

const int L1GtFdlWord::GtPrescaleFactorIndexTechWord = 5
staticprivate

Definition at line 339 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexTechWord64(), and unpack().

◆ GtTechnicalTriggerWordMask

const cms_uint64_t L1GtFdlWord::GtTechnicalTriggerWordMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 317 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWord().

◆ GtTechnicalTriggerWordShift

const int L1GtFdlWord::GtTechnicalTriggerWordShift = 0
staticprivate

Definition at line 318 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWord(), and setGtTechnicalTriggerWordWord64().

◆ GtTechnicalTriggerWordWord

const int L1GtFdlWord::GtTechnicalTriggerWordWord = 1
staticprivate

Definition at line 316 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWordWord64(), and unpack().

◆ LocalBxNrMask

const cms_uint64_t L1GtFdlWord::LocalBxNrMask = 0x0000000000000FFFULL
staticprivate

Definition at line 363 of file L1GtFdlWord.h.

Referenced by setLocalBxNr().

◆ LocalBxNrShift

const int L1GtFdlWord::LocalBxNrShift = 0
staticprivate

Definition at line 367 of file L1GtFdlWord.h.

Referenced by setLocalBxNr(), and setLocalBxNrWord64().

◆ LocalBxNrWord

const int L1GtFdlWord::LocalBxNrWord = 6
staticprivate

Definition at line 359 of file L1GtFdlWord.h.

Referenced by setLocalBxNrWord64(), and unpack().

◆ LumiSegmentNrMask

const cms_uint64_t L1GtFdlWord::LumiSegmentNrMask = 0x00000000FFFF0000ULL
staticprivate

Definition at line 362 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNr().

◆ LumiSegmentNrShift

const int L1GtFdlWord::LumiSegmentNrShift = 16
staticprivate

Definition at line 366 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNr(), and setLumiSegmentNrWord64().

◆ LumiSegmentNrWord

const int L1GtFdlWord::LumiSegmentNrWord = 6
staticprivate

Definition at line 358 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNrWord64(), and unpack().

◆ m_boardId

cms_uint16_t L1GtFdlWord::m_boardId
private

board identifier

Definition at line 371 of file L1GtFdlWord.h.

Referenced by boardId(), L1GtFdlWord(), operator==(), print(), reset(), setBoardId(), and setBoardIdWord64().

◆ m_bxInEvent

int L1GtFdlWord::m_bxInEvent
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().

◆ m_bxNr

cms_uint16_t L1GtFdlWord::m_bxNr
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().

◆ m_eventNr

cms_uint32_t L1GtFdlWord::m_eventNr
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().

◆ m_finalOR

cms_uint16_t L1GtFdlWord::m_finalOR
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().

◆ m_gtDecisionWord

DecisionWord L1GtFdlWord::m_gtDecisionWord
private

◆ m_gtDecisionWordExtended

DecisionWordExtended L1GtFdlWord::m_gtDecisionWordExtended
private

◆ m_gtPrescaleFactorIndexAlgo

cms_uint16_t L1GtFdlWord::m_gtPrescaleFactorIndexAlgo
private

◆ m_gtPrescaleFactorIndexTech

cms_uint16_t L1GtFdlWord::m_gtPrescaleFactorIndexTech
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().

◆ m_gtTechnicalTriggerWord

TechnicalTriggerWord L1GtFdlWord::m_gtTechnicalTriggerWord
private

◆ m_localBxNr

cms_uint16_t L1GtFdlWord::m_localBxNr
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().

◆ m_lumiSegmentNr

cms_uint16_t L1GtFdlWord::m_lumiSegmentNr
private

luminosity segment number

Definition at line 415 of file L1GtFdlWord.h.

Referenced by L1GtFdlWord(), lumiSegmentNr(), operator==(), print(), reset(), setLumiSegmentNr(), and setLumiSegmentNrWord64().

◆ m_noAlgo

cms_uint16_t L1GtFdlWord::m_noAlgo
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().

◆ m_orbitNr

cms_uint32_t L1GtFdlWord::m_orbitNr
private

orbit number

Definition at line 412 of file L1GtFdlWord.h.

Referenced by L1GtFdlWord(), operator==(), orbitNr(), print(), reset(), setOrbitNr(), and setOrbitNrWord64().

◆ m_physicsDeclared

cms_uint16_t L1GtFdlWord::m_physicsDeclared
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().

◆ NoAlgoMask

const cms_uint64_t L1GtFdlWord::NoAlgoMask = 0x0000000000000100ULL
staticprivate

Definition at line 347 of file L1GtFdlWord.h.

Referenced by setNoAlgo().

◆ NoAlgoShift

const int L1GtFdlWord::NoAlgoShift = 8
staticprivate

Definition at line 353 of file L1GtFdlWord.h.

Referenced by setNoAlgo(), and setNoAlgoWord64().

◆ NoAlgoWord

const int L1GtFdlWord::NoAlgoWord = 5
staticprivate

Definition at line 341 of file L1GtFdlWord.h.

Referenced by setNoAlgoWord64(), and unpack().

◆ OrbitNrMask

const cms_uint64_t L1GtFdlWord::OrbitNrMask = 0xFFFFFFFF00000000ULL
staticprivate

Definition at line 361 of file L1GtFdlWord.h.

Referenced by setOrbitNr().

◆ OrbitNrShift

const int L1GtFdlWord::OrbitNrShift = 32
staticprivate

Definition at line 365 of file L1GtFdlWord.h.

Referenced by setOrbitNr(), and setOrbitNrWord64().

◆ OrbitNrWord

const int L1GtFdlWord::OrbitNrWord = 6
staticprivate

Definition at line 357 of file L1GtFdlWord.h.

Referenced by setOrbitNrWord64(), and unpack().

◆ PhysicsDeclaredMask

const cms_uint64_t L1GtFdlWord::PhysicsDeclaredMask = 0x8000000000000000ULL
staticprivate

Definition at line 344 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclared().

◆ PhysicsDeclaredShift

const int L1GtFdlWord::PhysicsDeclaredShift = 63
staticprivate

Definition at line 350 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclared(), and setPhysicsDeclaredWord64().

◆ PhysicsDeclaredWord

const int L1GtFdlWord::PhysicsDeclaredWord = 5
staticprivate

Definition at line 338 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclaredWord64(), and unpack().