CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::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::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 ( )
virtual

destructor

Definition at line 100 of file L1GtFdlWord.cc.

100  {
101  // empty now
102 }

Member Function Documentation

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
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
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
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
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
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
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
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
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 L1GtDataEmulAnalyzer::compareFDL(), and L1GtHwValidation::compareFDL().

153 { return m_gtDecisionWordExtended; }
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
const cms_uint16_t L1GtFdlWord::gtPrescaleFactorIndexAlgo ( ) const
inline

Definition at line 195 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexAlgo.

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

195 { return m_gtPrescaleFactorIndexAlgo; }
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
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
const TechnicalTriggerWord& L1GtFdlWord::gtTechnicalTriggerWord ( ) const
inline

get/set technical trigger bits

Definition at line 112 of file L1GtFdlWord.h.

References m_gtTechnicalTriggerWord.

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

112 { return m_gtTechnicalTriggerWord; }
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385
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
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
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
bool L1GtFdlWord::operator!= ( const L1GtFdlWord result) const

unequal operator

Definition at line 170 of file L1GtFdlWord.cc.

170 { return !(result == *this); }
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, and m_physicsDeclared.

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 
122  return false;
123  }
124 
125  if (m_gtDecisionWord != result.m_gtDecisionWord) {
126  return false;
127  }
128 
130  return false;
131  }
132 
133  if (m_physicsDeclared != result.m_physicsDeclared) {
134  return false;
135  }
136 
138  return false;
139  }
140 
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
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().

235 { return m_orbitNr; }
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412
const cms_uint16_t L1GtFdlWord::physicsDeclared ( ) const
inline

get/set "physics declared" bit

Definition at line 169 of file L1GtFdlWord.h.

References m_physicsDeclared.

Referenced by HLTPhysicsDeclared::filter(), PhysDecl::filter(), and pat::PATTriggerEventProducer::produce().

169 { return m_physicsDeclared; }
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395
void L1GtFdlWord::print ( std::ostream &  myCout) const

pretty print the content of a L1GtFdlWord

Definition at line 595 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().

595  {
596  myCout << "\n L1GtFdlWord::print \n" << std::endl;
597 
598  int iWord = 0;
599 
600  myCout << "\n Word " << iWord << std::endl;
601 
602  myCout << " Board Id: " << std::hex << " hex: "
603  << " " << std::setw(4) << std::setfill('0') << m_boardId << std::setfill(' ') << std::dec
604  << " dec: " << m_boardId << std::endl;
605  //
606 
607  int baseValue = 16; // using hexadecimal values;
608  int hexBxInEvent = (m_bxInEvent + baseValue) % baseValue;
609 
610  myCout << " BxInEvent: " << std::hex << " hex: "
611  << " " << std::setw(1) << hexBxInEvent << std::dec << " dec: " << m_bxInEvent << std::endl;
612 
613  myCout << " BxNr: " << std::hex << " hex: "
614  << " " << std::setw(3) << std::setfill('0') << m_bxNr << std::setfill(' ') << std::dec
615  << " dec: " << m_bxNr << std::endl;
616 
617  myCout << " EventNr: " << std::hex << " hex: "
618  << " " << std::setw(6) << std::setfill('0') << m_eventNr << std::setfill(' ') << std::dec
619  << " dec: " << m_eventNr << std::endl;
620 
621  // technical triggers
622 
623  iWord++;
624  myCout << "\n Word " << iWord << std::endl;
625 
627  myCout << std::endl;
628 
629  // physics triggers (2 words!)
630 
631  iWord++;
632  myCout << "\n Word " << iWord;
633  iWord++;
634  myCout << " and word " << iWord;
635 
636  printGtDecisionWord(myCout);
637  myCout << std::endl;
638 
639  // decision word extended (64 bits)
640 
641  iWord++;
642  myCout << "\n Word " << iWord << std::endl;
643 
645  myCout << std::endl;
646 
647  //
648  iWord++;
649  myCout << "\n Word " << iWord << std::endl;
650 
651  myCout << " PhysicsDeclared: " << std::hex << " hex: "
652  << " " << std::setw(4) << std::setfill('0') << m_physicsDeclared << std::setfill(' ') << std::dec
653  << " dec: " << m_physicsDeclared << std::endl;
654 
655  myCout << " GtPrescaleFactorIndexTech: " << std::hex << " hex: "
656  << " " << std::setw(4) << std::setfill('0') << m_gtPrescaleFactorIndexTech << std::setfill(' ') << std::dec
657  << " dec: " << m_gtPrescaleFactorIndexTech << std::endl;
658 
659  myCout << " GtPrescaleFactorIndexAlgo: " << std::hex << " hex: "
660  << " " << std::setw(4) << std::setfill('0') << m_gtPrescaleFactorIndexAlgo << std::setfill(' ') << std::dec
661  << " dec: " << m_gtPrescaleFactorIndexAlgo << std::endl;
662 
663  myCout << " NoAlgo: " << std::hex << " hex: "
664  << " " << std::setw(1) << std::setfill('0') << m_noAlgo << std::setfill(' ') << std::dec
665  << " dec: " << m_noAlgo << std::endl;
666 
667  myCout << " FinalOR: " << std::hex << " hex: "
668  << " " << std::setw(2) << std::setfill('0') << m_finalOR << std::setfill(' ') << std::dec
669  << " dec: " << m_finalOR << std::endl;
670 
671  iWord++;
672  myCout << "\n Word " << iWord << std::endl;
673 
674  myCout << " OrbitNr: " << std::hex << " hex: "
675  << "" << std::setw(8) << std::setfill('0') << m_orbitNr << std::setfill(' ') << std::dec
676  << " dec: " << m_orbitNr << std::endl;
677 
678  myCout << " LumiSegmentNr: " << std::hex << " hex: "
679  << " " << std::setw(4) << std::setfill('0') << m_lumiSegmentNr << std::setfill(' ') << std::dec
680  << " dec: " << m_lumiSegmentNr << std::endl;
681 
682  myCout << " LocalBxNr: " << std::hex << " hex: "
683  << " " << std::setw(3) << std::setfill('0') << m_localBxNr << std::setfill(' ') << std::dec
684  << " dec: " << m_localBxNr << std::endl;
685 }
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
void printGtDecisionWord(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:286
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
void printGtDecisionWordExtended(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:413
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
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
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 jBit = m_gtDecisionWord.size();
292  int nrDecWord = m_gtDecisionWord.size() / sizeW64;
293 
294  std::ostringstream stream64;
295 
296  std::vector<std::string> decWord;
297  decWord.reserve(nrDecWord);
298 
299  for (std::vector<bool>::const_reverse_iterator ritBit = m_gtDecisionWord.rbegin(); ritBit != m_gtDecisionWord.rend();
300  ++ritBit) {
301  stream64 << (*ritBit ? '1' : '0');
302 
303  if ((((iBit + 1) % 16) == (sizeW64 % 16))) {
304  stream64 << " ";
305  }
306 
307  if (((iBit + 1) % sizeW64) == 0) {
308  std::string iW = stream64.str();
309  stream64.str("");
310 
311  decWord.push_back(iW);
312  }
313 
314  iBit++;
315  jBit--;
316  }
317 
318  int iWord = 0;
319 
320  for (std::vector<std::string>::reverse_iterator ritWord = decWord.rbegin(); ritWord != decWord.rend(); ++ritWord) {
321  myCout << std::endl;
322  myCout << " DecisionWord (bitset style): bits " << iWord * sizeW64 + sizeW64 - 1 << " : " << iWord * sizeW64
323  << "\n ";
324  myCout << *ritWord;
325 
326  iWord++;
327  }
328 }
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
void L1GtFdlWord::printGtDecisionWordExtended ( std::ostream &  myCout) const

Definition at line 413 of file L1GtFdlWord.cc.

References m_gtDecisionWordExtended.

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

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

reset the content of a L1GtFdlWord

Definition at line 567 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().

567  {
568  m_boardId = 0;
569  m_bxInEvent = 0;
570  m_bxNr = 0;
571  m_eventNr = 0;
572 
573  // technical triggers std::vector<bool>
575 
576  // decision word std::vector<bool>
578 
579  // extended decision word std::vector<bool>
581 
582  m_physicsDeclared = 0;
585 
586  m_noAlgo = 0;
587  m_finalOR = 0;
588 
589  m_orbitNr = 0;
590  m_lumiSegmentNr = 0;
591  m_localBxNr = 0;
592 }
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
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
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
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
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
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
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
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
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
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
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
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
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
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
void L1GtFdlWord::setFinalOR ( const cms_uint64_t word64)

set the "Final OR" bits from a 64-bits word

Definition at line 521 of file L1GtFdlWord.cc.

References FinalORMask, FinalORShift, and m_finalOR.

521 { 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
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 525 of file L1GtFdlWord.cc.

References FinalORShift, FinalORWord, and m_finalOR.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

525  {
526  if (iWord == FinalORWord) {
527  word64 = word64 | (static_cast<cms_uint64_t>(m_finalOR) << FinalORShift);
528  }
529 }
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
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
void L1GtFdlWord::setGtDecisionWordA ( const cms_uint64_t word64)

set the algorithms bits from two 64-bits words WordA: bits 0-63

Definition at line 332 of file L1GtFdlWord.cc.

References GtDecisionWordAMask, GtDecisionWordAShift, and m_gtDecisionWord.

Referenced by unpack().

332  {
333  int word64Size = sizeof(word64) * 8; // well, it should be 64, if not... :-)
335 
336  cms_uint64_t one64 = 1ULL;
337 
338  for (int iBit = 0; iBit < word64Size; ++iBit) {
339  m_gtDecisionWord.at(iBit) = wordA & (one64 << iBit);
340  }
341 }
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
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 361 of file L1GtFdlWord.cc.

References GtDecisionWordAShift, GtDecisionWordAWord, and m_gtDecisionWord.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

361  {
362  if (iWord == GtDecisionWordAWord) {
363  int word64Size = sizeof(word64) * 8;
364  cms_uint64_t wordA = 0x0000000000000000ULL;
365 
366  int iBit = 0;
367  cms_uint64_t iDecision = 0ULL;
368 
369  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWord.begin(); itBit != m_gtDecisionWord.end(); ++itBit) {
370  iDecision = static_cast<cms_uint64_t>(*itBit); //(*itBit ? 1 : 0);
371  wordA = wordA | (iDecision << iBit);
372 
373  iBit++;
374  if (iBit >= word64Size) {
375  break;
376  }
377  }
378 
379  word64 = word64 | (wordA << GtDecisionWordAShift);
380  }
381 }
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
void L1GtFdlWord::setGtDecisionWordB ( const cms_uint64_t word64)

set the algorithms bits from two 64-bits words WordB: bits 64-128

Definition at line 345 of file L1GtFdlWord.cc.

References GtDecisionWordBMask, GtDecisionWordBShift, and m_gtDecisionWord.

Referenced by unpack().

345  {
346  int word64Size = sizeof(word64) * 8;
348 
349  cms_uint64_t one64 = 1ULL;
350 
351  for (int iBit = 0; iBit < word64Size; ++iBit) {
352  m_gtDecisionWord.at(iBit + word64Size) = wordB & (one64 << iBit);
353  }
354 }
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
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 388 of file L1GtFdlWord.cc.

References GtDecisionWordBShift, GtDecisionWordBWord, and m_gtDecisionWord.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

388  {
389  if (iWord == GtDecisionWordBWord) {
390  int word64Size = sizeof(word64) * 8;
391  cms_uint64_t wordB = 0x0000000000000000ULL;
392 
393  int iBit = 0;
394  cms_uint64_t iDecision = 0ULL;
395 
396  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWord.begin(); itBit != m_gtDecisionWord.end(); ++itBit) {
397  if (iBit >= word64Size) {
398  // skip first word64Size bits, they go in wordA
399  iDecision = static_cast<cms_uint64_t>(*itBit); //(*itBit ? 1 : 0);
400  wordB = wordB | (iDecision << (iBit - word64Size));
401  }
402 
403  iBit++;
404  }
405 
406  word64 = word64 | (wordB << GtDecisionWordBShift);
407  }
408 }
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
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
void L1GtFdlWord::setGtDecisionWordExtended ( const cms_uint64_t word64)

set the extended algorithms bits from a 64-bits word

Definition at line 433 of file L1GtFdlWord.cc.

References GtDecisionWordExtendedMask, GtDecisionWordExtendedShift, and m_gtDecisionWordExtended.

433  {
434  int word64Size = sizeof(word64) * 8;
436 
437  cms_uint64_t one64 = 1ULL;
438 
439  for (int iBit = 0; iBit < word64Size; ++iBit) {
440  m_gtDecisionWordExtended.at(iBit) = wordE & (one64 << iBit);
441  }
442 }
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
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 446 of file L1GtFdlWord.cc.

References GtDecisionWordExtendedShift, GtDecisionWordExtendedWord, and m_gtDecisionWordExtended.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

446  {
447  if (iWord == GtDecisionWordExtendedWord) {
448  int word64Size = sizeof(word64) * 8;
449  cms_uint64_t wordE = 0x0000000000000000ULL;
450 
451  int iBit = 0;
452  cms_uint64_t iDecision = 0ULL;
453 
454  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWordExtended.begin();
455  itBit != m_gtDecisionWordExtended.end();
456  ++itBit) {
457  iDecision = static_cast<cms_uint64_t>(*itBit); //(*itBit ? 1 : 0);
458  wordE = wordE | (iDecision << iBit);
459 
460  iBit++;
461  if (iBit >= word64Size) {
462  break;
463  }
464  }
465 
466  word64 = word64 | (wordE << GtDecisionWordExtendedShift);
467  }
468 }
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
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
void L1GtFdlWord::setGtPrescaleFactorIndexAlgo ( const cms_uint64_t word64)

set the GtPrescaleFactorIndexAlgo from a 64-bits word

Definition at line 497 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexAlgoMask, GtPrescaleFactorIndexAlgoShift, and m_gtPrescaleFactorIndexAlgo.

497  {
499 }
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
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 503 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexAlgoShift, GtPrescaleFactorIndexAlgoWord, and m_gtPrescaleFactorIndexAlgo.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

503  {
504  if (iWord == GtPrescaleFactorIndexAlgoWord) {
505  word64 = word64 | (static_cast<cms_uint64_t>(m_gtPrescaleFactorIndexAlgo) << GtPrescaleFactorIndexAlgoShift);
506  }
507 }
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
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
void L1GtFdlWord::setGtPrescaleFactorIndexTech ( const cms_uint64_t word64)

set the GtPrescaleFactorIndexTech from a 64-bits word

Definition at line 484 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexTechMask, GtPrescaleFactorIndexTechShift, and m_gtPrescaleFactorIndexTech.

484  {
486 }
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
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 490 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexTechShift, GtPrescaleFactorIndexTechWord, and m_gtPrescaleFactorIndexTech.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

490  {
491  if (iWord == GtPrescaleFactorIndexTechWord) {
492  word64 = word64 | (static_cast<cms_uint64_t>(m_gtPrescaleFactorIndexTech) << GtPrescaleFactorIndexTechShift);
493  }
494 }
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
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
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
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
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
void L1GtFdlWord::setLocalBxNr ( const cms_uint64_t word64)

set the local bunch cross number bits from a 64-bits word

Definition at line 556 of file L1GtFdlWord.cc.

References LocalBxNrMask, LocalBxNrShift, and m_localBxNr.

556 { 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
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 560 of file L1GtFdlWord.cc.

References LocalBxNrShift, LocalBxNrWord, and m_localBxNr.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

560  {
561  if (iWord == LocalBxNrWord) {
562  word64 = word64 | (static_cast<cms_uint64_t>(m_localBxNr) << LocalBxNrShift);
563  }
564 }
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
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
void L1GtFdlWord::setLumiSegmentNr ( const cms_uint64_t word64)

set the luminosity segment number bits from a 64-bits word

Definition at line 543 of file L1GtFdlWord.cc.

References LumiSegmentNrMask, LumiSegmentNrShift, and m_lumiSegmentNr.

543  {
545 }
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
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 549 of file L1GtFdlWord.cc.

References LumiSegmentNrShift, LumiSegmentNrWord, and m_lumiSegmentNr.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

549  {
550  if (iWord == LumiSegmentNrWord) {
551  word64 = word64 | (static_cast<cms_uint64_t>(m_lumiSegmentNr) << LumiSegmentNrShift);
552  }
553 }
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
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
void L1GtFdlWord::setNoAlgo ( const cms_uint64_t word64)

set the NoAlgo from a 64-bits word

Definition at line 510 of file L1GtFdlWord.cc.

References m_noAlgo, NoAlgoMask, and NoAlgoShift.

510 { 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
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 514 of file L1GtFdlWord.cc.

References m_noAlgo, NoAlgoShift, and NoAlgoWord.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

514  {
515  if (iWord == NoAlgoWord) {
516  word64 = word64 | (static_cast<cms_uint64_t>(m_noAlgo) << NoAlgoShift);
517  }
518 }
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
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
void L1GtFdlWord::setOrbitNr ( const cms_uint64_t word64)

set the orbit number bits from a 64-bits word

Definition at line 532 of file L1GtFdlWord.cc.

References m_orbitNr, OrbitNrMask, and OrbitNrShift.

532 { 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
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 536 of file L1GtFdlWord.cc.

References m_orbitNr, OrbitNrShift, and OrbitNrWord.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

536  {
537  if (iWord == OrbitNrWord) {
538  word64 = word64 | (static_cast<cms_uint64_t>(m_orbitNr) << OrbitNrShift);
539  }
540 }
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
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
void L1GtFdlWord::setPhysicsDeclared ( const cms_uint64_t word64)

set the "physics declared" bit from a 64-bits word

Definition at line 471 of file L1GtFdlWord.cc.

References m_physicsDeclared, PhysicsDeclaredMask, and PhysicsDeclaredShift.

471  {
473 }
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
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 477 of file L1GtFdlWord.cc.

References m_physicsDeclared, PhysicsDeclaredShift, and PhysicsDeclaredWord.

Referenced by L1GTDigiToRaw::packFDL(), and L1GTEvmDigiToRaw::packFDL().

477  {
478  if (iWord == PhysicsDeclaredWord) {
479  word64 = word64 | (static_cast<cms_uint64_t>(m_physicsDeclared) << PhysicsDeclaredShift);
480  }
481 }
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
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 689 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, jetCorrFactors_cfi::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().

689  {
690  LogDebug("L1GtFdlWord") << "\nUnpacking FDL block.\n" << std::endl;
691 
692  const cms_uint64_t* payload = reinterpret_cast<cms_uint64_t const*>(fdlPtr);
693 
694  setBoardId(payload[BoardIdWord]);
695  setBxInEvent(payload[BxInEventWord]);
696  setBxNr(payload[BxNrWord]);
697  setEventNr(payload[EventNrWord]);
698 
700 
702 
704 
706 
710  setNoAlgo(payload[NoAlgoWord]);
711  setFinalOR(payload[FinalORWord]);
712 
713  setOrbitNr(payload[OrbitNrWord]);
715  setLocalBxNr(payload[LocalBxNrWord]);
716 
717  if (edm::isDebugEnabled()) {
718  for (int iWord = 0; iWord < BlockSize; ++iWord) {
719  LogTrace("L1GtFdlWord") << std::setw(4) << iWord << " " << std::hex << std::setfill('0') << std::setw(16)
720  << payload[iWord] << std::dec << std::setfill(' ') << std::endl;
721  }
722  }
723 }
void setGtDecisionWordB(const cms_uint64_t &word64)
Definition: L1GtFdlWord.cc:345
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:332
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

const int L1GtFdlWord::BlockSize = 7
staticprivate

Definition at line 292 of file L1GtFdlWord.h.

Referenced by getSize(), and unpack().

const cms_uint64_t L1GtFdlWord::BoardIdMask = 0xFFFF000000000000ULL
staticprivate

Definition at line 303 of file L1GtFdlWord.h.

Referenced by setBoardId().

const int L1GtFdlWord::BoardIdShift = 48
staticprivate

Definition at line 309 of file L1GtFdlWord.h.

Referenced by setBoardId(), and setBoardIdWord64().

const int L1GtFdlWord::BoardIdWord = 0
staticprivate

Definition at line 297 of file L1GtFdlWord.h.

Referenced by setBoardIdWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::BxInEventMask = 0x0000F00000000000ULL
staticprivate

Definition at line 304 of file L1GtFdlWord.h.

Referenced by setBxInEvent().

const int L1GtFdlWord::BxInEventShift = 44
staticprivate

Definition at line 310 of file L1GtFdlWord.h.

Referenced by setBxInEvent(), and setBxInEventWord64().

const int L1GtFdlWord::BxInEventWord = 0
staticprivate

Definition at line 298 of file L1GtFdlWord.h.

Referenced by setBxInEventWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::BxNrMask = 0x00000FFF00000000ULL
staticprivate

Definition at line 305 of file L1GtFdlWord.h.

Referenced by setBxNr().

const int L1GtFdlWord::BxNrShift = 32
staticprivate

Definition at line 311 of file L1GtFdlWord.h.

Referenced by setBxNr(), and setBxNrWord64().

const int L1GtFdlWord::BxNrWord = 0
staticprivate

Definition at line 299 of file L1GtFdlWord.h.

Referenced by setBxNrWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::EventNrMask = 0x0000000000FFFFFFULL
staticprivate

Definition at line 306 of file L1GtFdlWord.h.

Referenced by setEventNr().

const int L1GtFdlWord::EventNrShift = 0
staticprivate

Definition at line 312 of file L1GtFdlWord.h.

Referenced by setEventNr(), and setEventNrWord64().

const int L1GtFdlWord::EventNrWord = 0
staticprivate

Definition at line 300 of file L1GtFdlWord.h.

Referenced by setEventNrWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::FinalORMask = 0x00000000000000FFULL
staticprivate

Definition at line 348 of file L1GtFdlWord.h.

Referenced by setFinalOR().

const int L1GtFdlWord::FinalORShift = 0
staticprivate

Definition at line 354 of file L1GtFdlWord.h.

Referenced by setFinalOR(), and setFinalORWord64().

const int L1GtFdlWord::FinalORWord = 5
staticprivate

Definition at line 342 of file L1GtFdlWord.h.

Referenced by setFinalORWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::GtDecisionWordAMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 323 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordA().

const int L1GtFdlWord::GtDecisionWordAShift = 0
staticprivate

Definition at line 324 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordA(), and setGtDecisionWordAWord64().

const int L1GtFdlWord::GtDecisionWordAWord = 2
staticprivate

Definition at line 322 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordAWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::GtDecisionWordBMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 329 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordB().

const int L1GtFdlWord::GtDecisionWordBShift = 0
staticprivate

Definition at line 330 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordB(), and setGtDecisionWordBWord64().

const int L1GtFdlWord::GtDecisionWordBWord = 3
staticprivate

Definition at line 328 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordBWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::GtDecisionWordExtendedMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 334 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtended().

const int L1GtFdlWord::GtDecisionWordExtendedShift = 0
staticprivate

Definition at line 335 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtended(), and setGtDecisionWordExtendedWord64().

const int L1GtFdlWord::GtDecisionWordExtendedWord = 4
staticprivate

Definition at line 333 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtendedWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::GtPrescaleFactorIndexAlgoMask = 0x000000FF00000000ULL
staticprivate

Definition at line 346 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexAlgo().

const int L1GtFdlWord::GtPrescaleFactorIndexAlgoShift = 32
staticprivate
const int L1GtFdlWord::GtPrescaleFactorIndexAlgoWord = 5
staticprivate

Definition at line 340 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexAlgoWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::GtPrescaleFactorIndexTechMask = 0x00FF000000000000ULL
staticprivate

Definition at line 345 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexTech().

const int L1GtFdlWord::GtPrescaleFactorIndexTechShift = 48
staticprivate
const int L1GtFdlWord::GtPrescaleFactorIndexTechWord = 5
staticprivate

Definition at line 339 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexTechWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::GtTechnicalTriggerWordMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 317 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWord().

const int L1GtFdlWord::GtTechnicalTriggerWordShift = 0
staticprivate

Definition at line 318 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWord(), and setGtTechnicalTriggerWordWord64().

const int L1GtFdlWord::GtTechnicalTriggerWordWord = 1
staticprivate

Definition at line 316 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWordWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::LocalBxNrMask = 0x0000000000000FFFULL
staticprivate

Definition at line 363 of file L1GtFdlWord.h.

Referenced by setLocalBxNr().

const int L1GtFdlWord::LocalBxNrShift = 0
staticprivate

Definition at line 367 of file L1GtFdlWord.h.

Referenced by setLocalBxNr(), and setLocalBxNrWord64().

const int L1GtFdlWord::LocalBxNrWord = 6
staticprivate

Definition at line 359 of file L1GtFdlWord.h.

Referenced by setLocalBxNrWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::LumiSegmentNrMask = 0x00000000FFFF0000ULL
staticprivate

Definition at line 362 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNr().

const int L1GtFdlWord::LumiSegmentNrShift = 16
staticprivate

Definition at line 366 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNr(), and setLumiSegmentNrWord64().

const int L1GtFdlWord::LumiSegmentNrWord = 6
staticprivate

Definition at line 358 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNrWord64(), and unpack().

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

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

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

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

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

DecisionWord L1GtFdlWord::m_gtDecisionWord
private
DecisionWordExtended L1GtFdlWord::m_gtDecisionWordExtended
private
cms_uint16_t L1GtFdlWord::m_gtPrescaleFactorIndexAlgo
private
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().

TechnicalTriggerWord L1GtFdlWord::m_gtTechnicalTriggerWord
private
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().

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

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

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

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

const cms_uint64_t L1GtFdlWord::NoAlgoMask = 0x0000000000000100ULL
staticprivate

Definition at line 347 of file L1GtFdlWord.h.

Referenced by setNoAlgo().

const int L1GtFdlWord::NoAlgoShift = 8
staticprivate

Definition at line 353 of file L1GtFdlWord.h.

Referenced by setNoAlgo(), and setNoAlgoWord64().

const int L1GtFdlWord::NoAlgoWord = 5
staticprivate

Definition at line 341 of file L1GtFdlWord.h.

Referenced by setNoAlgoWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::OrbitNrMask = 0xFFFFFFFF00000000ULL
staticprivate

Definition at line 361 of file L1GtFdlWord.h.

Referenced by setOrbitNr().

const int L1GtFdlWord::OrbitNrShift = 32
staticprivate

Definition at line 365 of file L1GtFdlWord.h.

Referenced by setOrbitNr(), and setOrbitNrWord64().

const int L1GtFdlWord::OrbitNrWord = 6
staticprivate

Definition at line 357 of file L1GtFdlWord.h.

Referenced by setOrbitNrWord64(), and unpack().

const cms_uint64_t L1GtFdlWord::PhysicsDeclaredMask = 0x8000000000000000ULL
staticprivate

Definition at line 344 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclared().

const int L1GtFdlWord::PhysicsDeclaredShift = 63
staticprivate

Definition at line 350 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclared(), and setPhysicsDeclaredWord64().

const int L1GtFdlWord::PhysicsDeclaredWord = 5
staticprivate

Definition at line 338 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclaredWord64(), and unpack().