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 cms_uint64_t &word64)
 set the BxInEvent value from a 64-bits word More...
 
void setBxInEvent (const int bxInEventValue)
 
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 cms_uint64_t &word64)
 set the extended algorithms bits from a 64-bits word More...
 
void setGtDecisionWordExtended (const DecisionWordExtended &gtDecisionWordExtendedValue)
 
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 cms_uint64_t &word64)
 set the technical trigger bits from a 64-bits word More...
 
void setGtTechnicalTriggerWord (const TechnicalTriggerWord &gtTechnicalTriggerWordValue)
 
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.

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 }

References m_boardId, m_bxInEvent, m_bxNr, m_eventNr, m_finalOR, m_gtDecisionWord, m_gtDecisionWordExtended, m_gtPrescaleFactorIndexAlgo, m_gtPrescaleFactorIndexTech, m_gtTechnicalTriggerWord, m_localBxNr, m_lumiSegmentNr, m_noAlgo, m_orbitNr, m_physicsDeclared, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GlobalTriggerReadoutSetup::NumberPhysTriggersExtended, and L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers.

◆ L1GtFdlWord() [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.

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 }

References m_physicsDeclared.

◆ ~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.

63 { return m_boardId; }

References m_boardId.

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

◆ bxInEvent()

const int L1GtFdlWord::bxInEvent ( ) const
inline

get/set bunch cross in the GT event record

Definition at line 76 of file L1GtFdlWord.h.

76 { return m_bxInEvent; }

References m_bxInEvent.

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

◆ 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.

88 { return m_bxNr; }

References m_bxNr.

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

◆ 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.

100 { return m_eventNr; }

References m_eventNr.

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

◆ finalOR()

const cms_uint16_t L1GtFdlWord::finalOR ( ) const
inline

get/set "Final OR" bits

Definition at line 221 of file L1GtFdlWord.h.

221 { return m_finalOR; }

References m_finalOR.

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

◆ 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.

271  {
272  int unitLengthBits = L1GlobalTriggerReadoutSetup::UnitLength;
273 
274  return BlockSize * unitLengthBits;
275  }

References BlockSize, and L1GlobalTriggerReadoutSetup::UnitLength.

Referenced by L1GTDigiToRaw::packFDL(), L1GTEvmDigiToRaw::packFDL(), L1GTEvmDigiToRaw::produce(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTDigiToRaw::produce(), and L1GlobalTriggerRawToDigi::produce().

◆ globalDecision()

const bool L1GtFdlWord::globalDecision ( ) const
inline

Definition at line 232 of file L1GtFdlWord.h.

232 { return static_cast<bool>(m_finalOR); }

References m_finalOR.

◆ gtDecisionWord()

const DecisionWord& L1GtFdlWord::gtDecisionWord ( ) const
inline

get/set/print algorithms bits (decision word)

Definition at line 128 of file L1GtFdlWord.h.

128 { return m_gtDecisionWord; }

References m_gtDecisionWord.

Referenced by TrackerDpgAnalysis::analyze(), L1GtDataEmulAnalyzer::compareFDL(), L1GtHwValidation::compareFDL(), and HSCPTreeBuilder::filter().

◆ gtDecisionWordExtended()

const DecisionWordExtended& L1GtFdlWord::gtDecisionWordExtended ( ) const
inline

get/set extended algorithms bits (extended decision word)

Definition at line 153 of file L1GtFdlWord.h.

153 { return m_gtDecisionWordExtended; }

References m_gtDecisionWordExtended.

Referenced by TrackerDpgAnalysis::analyze(), L1GtDataEmulAnalyzer::compareFDL(), L1GtHwValidation::compareFDL(), and HSCPTreeBuilder::filter().

◆ gtPrescaleFactorIndexAlgo()

const cms_uint16_t L1GtFdlWord::gtPrescaleFactorIndexAlgo ( ) const
inline

◆ 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.

182 { return m_gtPrescaleFactorIndexTech; }

References m_gtPrescaleFactorIndexTech.

◆ gtTechnicalTriggerWord()

const TechnicalTriggerWord& L1GtFdlWord::gtTechnicalTriggerWord ( ) const
inline

◆ 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.

259 { return m_localBxNr; }

References m_localBxNr.

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

◆ 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.

247 { return m_lumiSegmentNr; }

References m_lumiSegmentNr.

Referenced by L1TGT::analyze(), L1GlobalTriggerEvmRawToDigi::produce(), and L1GlobalTriggerRawToDigi::produce().

◆ noAlgo()

const cms_uint16_t L1GtFdlWord::noAlgo ( ) const
inline

get/set NoAlgo

Definition at line 209 of file L1GtFdlWord.h.

209 { return m_noAlgo; }

References m_noAlgo.

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

◆ operator!=()

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

unequal operator

Definition at line 170 of file L1GtFdlWord.cc.

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

References mps_fire::result.

◆ operator==()

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

equal operator

Definition at line 105 of file L1GtFdlWord.cc.

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 }

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.

◆ orbitNr()

const cms_uint32_t L1GtFdlWord::orbitNr ( ) const
inline

get/set orbit number

Definition at line 235 of file L1GtFdlWord.h.

235 { return m_orbitNr; }

References m_orbitNr.

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

◆ 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 595 of file L1GtFdlWord.cc.

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 }

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

◆ printGtDecisionWord()

void L1GtFdlWord::printGtDecisionWord ( std::ostream &  myCout) const

Definition at line 286 of file L1GtFdlWord.cc.

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 }

References m_gtDecisionWord, and AlCaHLTBitMon_QueryRunRegistry::string.

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

◆ printGtDecisionWordExtended()

void L1GtFdlWord::printGtDecisionWordExtended ( std::ostream &  myCout) const

Definition at line 413 of file L1GtFdlWord.cc.

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 }

References m_gtDecisionWordExtended.

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

◆ printGtTechnicalTriggerWord()

void L1GtFdlWord::printGtTechnicalTriggerWord ( std::ostream &  myCout) const

Definition at line 227 of file L1GtFdlWord.cc.

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 }

References m_gtTechnicalTriggerWord.

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

◆ reset()

void L1GtFdlWord::reset ( void  )

◆ 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.

66 { m_boardId = boardIdValue; }

References m_boardId.

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

◆ 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.

175 { m_boardId = (word64 & BoardIdMask) >> BoardIdShift; }

References BoardIdMask, BoardIdShift, and m_boardId.

◆ 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.

179  {
180  if (iWord == BoardIdWord) {
181  word64 = word64 | (static_cast<cms_uint64_t>(m_boardId) << BoardIdShift);
182  }
183 }

References BoardIdShift, BoardIdWord, and m_boardId.

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

◆ setBxInEvent() [1/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.

186  {
187  int baseValue = 16; // using hexadecimal values;
188  int hexBxInEvent = (word64 & BxInEventMask) >> BxInEventShift;
189  m_bxInEvent = (hexBxInEvent + baseValue / 2) % baseValue - baseValue / 2;
190 }

References BxInEventMask, BxInEventShift, and m_bxInEvent.

◆ setBxInEvent() [2/2]

void L1GtFdlWord::setBxInEvent ( const int  bxInEventValue)
inline

Definition at line 78 of file L1GtFdlWord.h.

78 { m_bxInEvent = bxInEventValue; }

References m_bxInEvent.

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

◆ 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.

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 }

References BxInEventShift, BxInEventWord, and m_bxInEvent.

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

◆ setBxNr() [1/2]

void L1GtFdlWord::setBxNr ( const cms_uint16_t bxNrValue)
inline

Definition at line 90 of file L1GtFdlWord.h.

90 { m_bxNr = bxNrValue; }

References m_bxNr.

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

◆ 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.

203 { m_bxNr = (word64 & BxNrMask) >> BxNrShift; }

References BxNrMask, BxNrShift, and m_bxNr.

◆ 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.

207  {
208  if (iWord == BxNrWord) {
209  word64 = word64 | (static_cast<cms_uint64_t>(m_bxNr) << BxNrShift);
210  }
211 }

References BxNrShift, BxNrWord, and m_bxNr.

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

◆ setEventNr() [1/2]

void L1GtFdlWord::setEventNr ( const cms_uint32_t eventNrValue)
inline

Definition at line 102 of file L1GtFdlWord.h.

102 { m_eventNr = eventNrValue; }

References m_eventNr.

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

◆ 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.

214 { m_eventNr = (word64 & EventNrMask) >> EventNrShift; }

References EventNrMask, EventNrShift, and m_eventNr.

◆ 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.

218  {
219  if (iWord == EventNrWord) {
220  word64 = word64 | (static_cast<cms_uint64_t>(m_eventNr) << EventNrShift);
221  }
222 }

References EventNrShift, EventNrWord, and m_eventNr.

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

◆ setFinalOR() [1/2]

void L1GtFdlWord::setFinalOR ( const cms_uint16_t finalORValue)
inline

Definition at line 223 of file L1GtFdlWord.h.

223 { m_finalOR = finalORValue; }

References m_finalOR.

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

◆ setFinalOR() [2/2]

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.

521 { m_finalOR = (word64 & FinalORMask) >> FinalORShift; }

References FinalORMask, FinalORShift, and m_finalOR.

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

525  {
526  if (iWord == FinalORWord) {
527  word64 = word64 | (static_cast<cms_uint64_t>(m_finalOR) << FinalORShift);
528  }
529 }

References FinalORShift, FinalORWord, and m_finalOR.

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

◆ setGtDecisionWord()

void L1GtFdlWord::setGtDecisionWord ( const DecisionWord gtDecisionWordValue)
inline

Definition at line 130 of file L1GtFdlWord.h.

130 { m_gtDecisionWord = gtDecisionWordValue; }

References m_gtDecisionWord.

Referenced by L1GlobalTriggerFDL::run().

◆ 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 332 of file L1GtFdlWord.cc.

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 }

References GtDecisionWordAMask, GtDecisionWordAShift, and m_gtDecisionWord.

Referenced by unpack().

◆ 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 361 of file L1GtFdlWord.cc.

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 }

References GtDecisionWordAShift, GtDecisionWordAWord, and m_gtDecisionWord.

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

◆ 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 345 of file L1GtFdlWord.cc.

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 }

References GtDecisionWordBMask, GtDecisionWordBShift, and m_gtDecisionWord.

Referenced by unpack().

◆ 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 388 of file L1GtFdlWord.cc.

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 }

References GtDecisionWordBShift, GtDecisionWordBWord, and m_gtDecisionWord.

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

◆ setGtDecisionWordExtended() [1/2]

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.

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 }

References GtDecisionWordExtendedMask, GtDecisionWordExtendedShift, and m_gtDecisionWordExtended.

◆ setGtDecisionWordExtended() [2/2]

void L1GtFdlWord::setGtDecisionWordExtended ( const DecisionWordExtended gtDecisionWordExtendedValue)
inline

Definition at line 155 of file L1GtFdlWord.h.

155  {
156  m_gtDecisionWordExtended = gtDecisionWordExtendedValue;
157  }

References m_gtDecisionWordExtended.

Referenced by unpack().

◆ 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 446 of file L1GtFdlWord.cc.

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 }

References GtDecisionWordExtendedShift, GtDecisionWordExtendedWord, and m_gtDecisionWordExtended.

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

◆ setGtPrescaleFactorIndexAlgo() [1/2]

void L1GtFdlWord::setGtPrescaleFactorIndexAlgo ( const cms_uint16_t gtPrescaleFactorIndexAlgoValue)
inline

Definition at line 197 of file L1GtFdlWord.h.

197  {
198  m_gtPrescaleFactorIndexAlgo = gtPrescaleFactorIndexAlgoValue;
199  }

References m_gtPrescaleFactorIndexAlgo.

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

◆ setGtPrescaleFactorIndexAlgo() [2/2]

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.

◆ 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 503 of file L1GtFdlWord.cc.

503  {
504  if (iWord == GtPrescaleFactorIndexAlgoWord) {
505  word64 = word64 | (static_cast<cms_uint64_t>(m_gtPrescaleFactorIndexAlgo) << GtPrescaleFactorIndexAlgoShift);
506  }
507 }

References GtPrescaleFactorIndexAlgoShift, GtPrescaleFactorIndexAlgoWord, and m_gtPrescaleFactorIndexAlgo.

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

◆ setGtPrescaleFactorIndexTech() [1/2]

void L1GtFdlWord::setGtPrescaleFactorIndexTech ( const cms_uint16_t gtPrescaleFactorIndexTechValue)
inline

Definition at line 184 of file L1GtFdlWord.h.

184  {
185  m_gtPrescaleFactorIndexTech = gtPrescaleFactorIndexTechValue;
186  }

References m_gtPrescaleFactorIndexTech.

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

◆ setGtPrescaleFactorIndexTech() [2/2]

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.

◆ 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 490 of file L1GtFdlWord.cc.

490  {
491  if (iWord == GtPrescaleFactorIndexTechWord) {
492  word64 = word64 | (static_cast<cms_uint64_t>(m_gtPrescaleFactorIndexTech) << GtPrescaleFactorIndexTechShift);
493  }
494 }

References GtPrescaleFactorIndexTechShift, GtPrescaleFactorIndexTechWord, and m_gtPrescaleFactorIndexTech.

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

◆ setGtTechnicalTriggerWord() [1/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.

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 }

References GtTechnicalTriggerWordMask, GtTechnicalTriggerWordShift, and m_gtTechnicalTriggerWord.

◆ setGtTechnicalTriggerWord() [2/2]

void L1GtFdlWord::setGtTechnicalTriggerWord ( const TechnicalTriggerWord gtTechnicalTriggerWordValue)
inline

Definition at line 114 of file L1GtFdlWord.h.

114  {
115  m_gtTechnicalTriggerWord = gtTechnicalTriggerWordValue;
116  }

References m_gtTechnicalTriggerWord.

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

◆ 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.

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 }

References GtTechnicalTriggerWordShift, GtTechnicalTriggerWordWord, and m_gtTechnicalTriggerWord.

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

◆ setLocalBxNr() [1/2]

void L1GtFdlWord::setLocalBxNr ( const cms_uint16_t localBxNrValue)
inline

Definition at line 261 of file L1GtFdlWord.h.

261 { m_localBxNr = localBxNrValue; }

References m_localBxNr.

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

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

556 { m_localBxNr = (word64 & LocalBxNrMask) >> LocalBxNrShift; }

References LocalBxNrMask, LocalBxNrShift, and m_localBxNr.

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

560  {
561  if (iWord == LocalBxNrWord) {
562  word64 = word64 | (static_cast<cms_uint64_t>(m_localBxNr) << LocalBxNrShift);
563  }
564 }

References LocalBxNrShift, LocalBxNrWord, and m_localBxNr.

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

◆ setLumiSegmentNr() [1/2]

void L1GtFdlWord::setLumiSegmentNr ( const cms_uint16_t lumiSegmentNrValue)
inline

Definition at line 249 of file L1GtFdlWord.h.

249 { m_lumiSegmentNr = lumiSegmentNrValue; }

References m_lumiSegmentNr.

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

◆ 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 543 of file L1GtFdlWord.cc.

543  {
545 }

References LumiSegmentNrMask, LumiSegmentNrShift, and m_lumiSegmentNr.

◆ 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 549 of file L1GtFdlWord.cc.

549  {
550  if (iWord == LumiSegmentNrWord) {
551  word64 = word64 | (static_cast<cms_uint64_t>(m_lumiSegmentNr) << LumiSegmentNrShift);
552  }
553 }

References LumiSegmentNrShift, LumiSegmentNrWord, and m_lumiSegmentNr.

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

◆ setNoAlgo() [1/2]

void L1GtFdlWord::setNoAlgo ( const cms_uint16_t noAlgoValue)
inline

Definition at line 211 of file L1GtFdlWord.h.

211 { m_noAlgo = noAlgoValue; }

References m_noAlgo.

Referenced by unpack().

◆ setNoAlgo() [2/2]

void L1GtFdlWord::setNoAlgo ( const cms_uint64_t word64)

set the NoAlgo from a 64-bits word

Definition at line 510 of file L1GtFdlWord.cc.

510 { m_noAlgo = (word64 & NoAlgoMask) >> NoAlgoShift; }

References m_noAlgo, NoAlgoMask, and NoAlgoShift.

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

514  {
515  if (iWord == NoAlgoWord) {
516  word64 = word64 | (static_cast<cms_uint64_t>(m_noAlgo) << NoAlgoShift);
517  }
518 }

References m_noAlgo, NoAlgoShift, and NoAlgoWord.

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

◆ setOrbitNr() [1/2]

void L1GtFdlWord::setOrbitNr ( const cms_uint32_t orbitNrValue)
inline

Definition at line 237 of file L1GtFdlWord.h.

237 { m_orbitNr = orbitNrValue; }

References m_orbitNr.

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

◆ setOrbitNr() [2/2]

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.

532 { m_orbitNr = (word64 & OrbitNrMask) >> OrbitNrShift; }

References m_orbitNr, OrbitNrMask, and OrbitNrShift.

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

536  {
537  if (iWord == OrbitNrWord) {
538  word64 = word64 | (static_cast<cms_uint64_t>(m_orbitNr) << OrbitNrShift);
539  }
540 }

References m_orbitNr, OrbitNrShift, and OrbitNrWord.

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

◆ setPhysicsDeclared() [1/2]

void L1GtFdlWord::setPhysicsDeclared ( const cms_uint16_t physicsDeclaredValue)
inline

Definition at line 171 of file L1GtFdlWord.h.

171 { m_physicsDeclared = physicsDeclaredValue; }

References m_physicsDeclared.

Referenced by unpack().

◆ setPhysicsDeclared() [2/2]

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.

471  {
473 }

References m_physicsDeclared, PhysicsDeclaredMask, and PhysicsDeclaredShift.

◆ 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 477 of file L1GtFdlWord.cc.

477  {
478  if (iWord == PhysicsDeclaredWord) {
479  word64 = word64 | (static_cast<cms_uint64_t>(m_physicsDeclared) << PhysicsDeclaredShift);
480  }
481 }

References m_physicsDeclared, PhysicsDeclaredShift, and PhysicsDeclaredWord.

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

◆ 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 689 of file L1GtFdlWord.cc.

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 
698 
700 
702 
704 
706 
712 
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 }

References BlockSize, BoardIdWord, BxInEventWord, BxNrWord, TauDecayModes::dec, EventNrWord, FinalORWord, GtDecisionWordAWord, GtDecisionWordBWord, GtDecisionWordExtendedWord, GtPrescaleFactorIndexAlgoWord, GtPrescaleFactorIndexTechWord, GtTechnicalTriggerWordWord, edm::isDebugEnabled(), LocalBxNrWord, LogDebug, LogTrace, LumiSegmentNrWord, NoAlgoWord, OrbitNrWord, jets_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().

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

L1GtFdlWord::m_orbitNr
cms_uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:412
L1GtFdlWord::setGtDecisionWordB
void setGtDecisionWordB(const cms_uint64_t &word64)
Definition: L1GtFdlWord.cc:345
L1GlobalTriggerReadoutSetup::UnitLength
static const int UnitLength
one unit in the word is UnitLength bits
Definition: L1GlobalTriggerReadoutSetup.h:56
L1GtFdlWord::m_finalOR
cms_uint16_t m_finalOR
Definition: L1GtFdlWord.h:407
L1GtFdlWord::setBoardId
void setBoardId(const cms_uint16_t &boardIdValue)
set BoardId from a BoardId value
Definition: L1GtFdlWord.h:66
L1GtFdlWord::m_eventNr
cms_uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:380
L1GtFdlWord::EventNrMask
static const cms_uint64_t EventNrMask
Definition: L1GtFdlWord.h:306
L1GtFdlWord::EventNrShift
static const int EventNrShift
Definition: L1GtFdlWord.h:312
L1GtFdlWord::BoardIdMask
static const cms_uint64_t BoardIdMask
Definition: L1GtFdlWord.h:303
L1GtFdlWord::setFinalOR
void setFinalOR(const cms_uint16_t &finalORValue)
Definition: L1GtFdlWord.h:223
L1GtFdlWord::GtDecisionWordAMask
static const cms_uint64_t GtDecisionWordAMask
Definition: L1GtFdlWord.h:323
L1GtFdlWord::BxInEventShift
static const int BxInEventShift
Definition: L1GtFdlWord.h:310
L1GtFdlWord::m_bxNr
cms_uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:377
L1GtFdlWord::m_localBxNr
cms_uint16_t m_localBxNr
Definition: L1GtFdlWord.h:419
L1GtFdlWord::GtDecisionWordBShift
static const int GtDecisionWordBShift
Definition: L1GtFdlWord.h:330
L1GtFdlWord::BxNrShift
static const int BxNrShift
Definition: L1GtFdlWord.h:311
L1GtFdlWord::NoAlgoMask
static const cms_uint64_t NoAlgoMask
Definition: L1GtFdlWord.h:347
L1GtFdlWord::GtPrescaleFactorIndexTechShift
static const int GtPrescaleFactorIndexTechShift
Definition: L1GtFdlWord.h:351
L1GtFdlWord::setPhysicsDeclared
void setPhysicsDeclared(const cms_uint16_t &physicsDeclaredValue)
Definition: L1GtFdlWord.h:171
L1GtFdlWord::GtPrescaleFactorIndexAlgoMask
static const cms_uint64_t GtPrescaleFactorIndexAlgoMask
Definition: L1GtFdlWord.h:346
L1GtFdlWord::setEventNr
void setEventNr(const cms_uint32_t &eventNrValue)
Definition: L1GtFdlWord.h:102
L1GtFdlWord::FinalORWord
static const int FinalORWord
Definition: L1GtFdlWord.h:342
L1GtFdlWord::m_noAlgo
cms_uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:403
L1GtFdlWord::setLocalBxNr
void setLocalBxNr(const cms_uint16_t &localBxNrValue)
Definition: L1GtFdlWord.h:261
L1GtFdlWord::PhysicsDeclaredShift
static const int PhysicsDeclaredShift
Definition: L1GtFdlWord.h:350
L1GtFdlWord::m_gtPrescaleFactorIndexAlgo
cms_uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:400
L1GtFdlWord::LocalBxNrShift
static const int LocalBxNrShift
Definition: L1GtFdlWord.h:367
L1GtFdlWord::setGtTechnicalTriggerWord
void setGtTechnicalTriggerWord(const TechnicalTriggerWord &gtTechnicalTriggerWordValue)
Definition: L1GtFdlWord.h:114
L1GtFdlWord::NoAlgoShift
static const int NoAlgoShift
Definition: L1GtFdlWord.h:353
L1GtFdlWord::BoardIdShift
static const int BoardIdShift
Definition: L1GtFdlWord.h:309
L1GtFdlWord::setGtDecisionWordA
void setGtDecisionWordA(const cms_uint64_t &word64)
Definition: L1GtFdlWord.cc:332
L1GlobalTriggerReadoutSetup::NumberPhysTriggers
static const unsigned int NumberPhysTriggers
Definition: L1GlobalTriggerReadoutSetup.h:36
L1GtFdlWord::OrbitNrShift
static const int OrbitNrShift
Definition: L1GtFdlWord.h:365
L1GtFdlWord::GtDecisionWordBWord
static const int GtDecisionWordBWord
Definition: L1GtFdlWord.h:328
L1GtFdlWord::GtDecisionWordAShift
static const int GtDecisionWordAShift
Definition: L1GtFdlWord.h:324
jets_cff.payload
payload
Definition: jets_cff.py:34
L1GtFdlWord::LumiSegmentNrWord
static const int LumiSegmentNrWord
Definition: L1GtFdlWord.h:358
L1GtFdlWord::EventNrWord
static const int EventNrWord
Definition: L1GtFdlWord.h:300
L1GtFdlWord::GtPrescaleFactorIndexAlgoWord
static const int GtPrescaleFactorIndexAlgoWord
Definition: L1GtFdlWord.h:340
L1GtFdlWord::LumiSegmentNrShift
static const int LumiSegmentNrShift
Definition: L1GtFdlWord.h:366
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtFdlWord::setLumiSegmentNr
void setLumiSegmentNr(const cms_uint16_t &lumiSegmentNrValue)
Definition: L1GtFdlWord.h:249
L1GtFdlWord::BlockSize
static const int BlockSize
Definition: L1GtFdlWord.h:292
L1GtFdlWord::setGtPrescaleFactorIndexTech
void setGtPrescaleFactorIndexTech(const cms_uint16_t &gtPrescaleFactorIndexTechValue)
Definition: L1GtFdlWord.h:184
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
L1GlobalTriggerReadoutSetup::NumberPhysTriggersExtended
static const unsigned int NumberPhysTriggersExtended
Definition: L1GlobalTriggerReadoutSetup.h:37
L1GtFdlWord::m_lumiSegmentNr
cms_uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:415
L1GtFdlWord::m_gtPrescaleFactorIndexTech
cms_uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:399
L1GtFdlWord::BxNrMask
static const cms_uint64_t BxNrMask
Definition: L1GtFdlWord.h:305
L1GtFdlWord::GtTechnicalTriggerWordShift
static const int GtTechnicalTriggerWordShift
Definition: L1GtFdlWord.h:318
L1GtFdlWord::printGtDecisionWordExtended
void printGtDecisionWordExtended(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:413
L1GtFdlWord::m_gtDecisionWord
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:388
L1GtFdlWord::setGtPrescaleFactorIndexAlgo
void setGtPrescaleFactorIndexAlgo(const cms_uint16_t &gtPrescaleFactorIndexAlgoValue)
Definition: L1GtFdlWord.h:197
L1GtFdlWord::BoardIdWord
static const int BoardIdWord
Definition: L1GtFdlWord.h:297
L1GtFdlWord::GtTechnicalTriggerWordMask
static const cms_uint64_t GtTechnicalTriggerWordMask
Definition: L1GtFdlWord.h:317
L1GtFdlWord::GtDecisionWordAWord
static const int GtDecisionWordAWord
Definition: L1GtFdlWord.h:322
L1GtFdlWord::BxInEventWord
static const int BxInEventWord
Definition: L1GtFdlWord.h:298
L1GtFdlWord::PhysicsDeclaredMask
static const cms_uint64_t PhysicsDeclaredMask
Definition: L1GtFdlWord.h:344
L1GtFdlWord::LumiSegmentNrMask
static const cms_uint64_t LumiSegmentNrMask
Definition: L1GtFdlWord.h:362
cms_uint64_t
unsigned long long cms_uint64_t
Definition: typedefs.h:17
L1GtFdlWord::setNoAlgo
void setNoAlgo(const cms_uint16_t &noAlgoValue)
Definition: L1GtFdlWord.h:211
L1GtFdlWord::PhysicsDeclaredWord
static const int PhysicsDeclaredWord
Definition: L1GtFdlWord.h:338
L1GtFdlWord::OrbitNrMask
static const cms_uint64_t OrbitNrMask
Definition: L1GtFdlWord.h:361
L1GtFdlWord::GtTechnicalTriggerWordWord
static const int GtTechnicalTriggerWordWord
Definition: L1GtFdlWord.h:316
L1GtFdlWord::GtDecisionWordExtendedMask
static const cms_uint64_t GtDecisionWordExtendedMask
Definition: L1GtFdlWord.h:334
L1GtFdlWord::m_boardId
cms_uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:371
L1GtFdlWord::LocalBxNrWord
static const int LocalBxNrWord
Definition: L1GtFdlWord.h:359
L1GtFdlWord::FinalORShift
static const int FinalORShift
Definition: L1GtFdlWord.h:354
L1GtFdlWord::BxNrWord
static const int BxNrWord
Definition: L1GtFdlWord.h:299
L1GtFdlWord::GtDecisionWordExtendedWord
static const int GtDecisionWordExtendedWord
Definition: L1GtFdlWord.h:333
L1GtFdlWord::printGtTechnicalTriggerWord
void printGtTechnicalTriggerWord(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:227
L1GtFdlWord::m_bxInEvent
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:374
L1GtFdlWord::setBxInEvent
void setBxInEvent(const int bxInEventValue)
Definition: L1GtFdlWord.h:78
L1GtFdlWord::OrbitNrWord
static const int OrbitNrWord
Definition: L1GtFdlWord.h:357
L1GtFdlWord::m_gtDecisionWordExtended
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:391
L1GtFdlWord::GtPrescaleFactorIndexTechMask
static const cms_uint64_t GtPrescaleFactorIndexTechMask
Definition: L1GtFdlWord.h:345
L1GtFdlWord::FinalORMask
static const cms_uint64_t FinalORMask
Definition: L1GtFdlWord.h:348
L1GtFdlWord::GtDecisionWordBMask
static const cms_uint64_t GtDecisionWordBMask
Definition: L1GtFdlWord.h:329
L1GtFdlWord::setOrbitNr
void setOrbitNr(const cms_uint32_t &orbitNrValue)
Definition: L1GtFdlWord.h:237
L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers
static const unsigned int NumberTechnicalTriggers
Definition: L1GlobalTriggerReadoutSetup.h:38
edm::isDebugEnabled
bool isDebugEnabled()
Definition: MessageLogger.cc:71
mps_fire.result
result
Definition: mps_fire.py:303
L1GtFdlWord::m_physicsDeclared
cms_uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:395
L1GtFdlWord::NoAlgoWord
static const int NoAlgoWord
Definition: L1GtFdlWord.h:341
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:671
L1GtFdlWord::m_gtTechnicalTriggerWord
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:385
L1GtFdlWord::BxInEventMask
static const cms_uint64_t BxInEventMask
Definition: L1GtFdlWord.h:304
L1GtFdlWord::GtPrescaleFactorIndexAlgoShift
static const int GtPrescaleFactorIndexAlgoShift
Definition: L1GtFdlWord.h:352
L1GtFdlWord::GtDecisionWordExtendedShift
static const int GtDecisionWordExtendedShift
Definition: L1GtFdlWord.h:335
L1GtFdlWord::setBxNr
void setBxNr(const cms_uint16_t &bxNrValue)
Definition: L1GtFdlWord.h:90
L1GtFdlWord::GtPrescaleFactorIndexTechWord
static const int GtPrescaleFactorIndexTechWord
Definition: L1GtFdlWord.h:339
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
L1GtFdlWord::printGtDecisionWord
void printGtDecisionWord(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:286
L1GtFdlWord::LocalBxNrMask
static const cms_uint64_t LocalBxNrMask
Definition: L1GtFdlWord.h:363
L1GtFdlWord::setGtDecisionWordExtended
void setGtDecisionWordExtended(const DecisionWordExtended &gtDecisionWordExtendedValue)
Definition: L1GtFdlWord.h:155