CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes | Static Private Attributes
L1GtFdlWord Class Reference

#include <L1GtFdlWord.h>

Public Member Functions

const boost::uint16_t boardId () const
 get/set board ID More...
 
const int bxInEvent () const
 get/set bunch cross in the GT event record More...
 
const boost::uint16_t bxNr () const
 get/set BxNr - bunch cross number of the actual bx More...
 
const boost::uint32_t eventNr () const
 get/set event number since last L1 reset generated in FDL More...
 
const boost::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 boost::uint16_t gtPrescaleFactorIndexAlgo () const
 
const boost::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 (boost::uint16_t boardIdValue, int bxInEventValue, boost::uint16_t bxNrValue, boost::uint32_t eventNrValue, TechnicalTriggerWord gtTechnicalTriggerWordValue, DecisionWord gtDecisionWordValue, DecisionWordExtended gtDecisionWordExtendedValue, boost::uint16_t gtPrescaleFactorIndexTechValue, boost::uint16_t gtPrescaleFactorIndexAlgoValue, boost::uint16_t noAlgoValue, boost::uint16_t finalORValue, boost::uint32_t orbitNrValue, boost::uint16_t lumiSegmentNrValue, boost::uint16_t localBxNrValue)
 
const boost::uint16_t localBxNr () const
 get/set local bunch cross number of the actual bx More...
 
const boost::uint16_t lumiSegmentNr () const
 get/set luminosity segment number of the actual bx More...
 
const boost::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 boost::uint32_t orbitNr () const
 get/set orbit number More...
 
const boost::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 boost::uint16_t &boardIdValue)
 set BoardId from a BoardId value More...
 
void setBoardId (const boost::uint64_t &word64)
 set the BoardId value from a 64-bits word More...
 
void setBoardIdWord64 (boost::uint64_t &word64, const int iWord)
 
void setBxInEvent (const int bxInEventValue)
 
void setBxInEvent (const boost::uint64_t &word64)
 set the BxInEvent value from a 64-bits word More...
 
void setBxInEventWord64 (boost::uint64_t &word64, const int iWord)
 
void setBxNr (const boost::uint16_t &bxNrValue)
 
void setBxNr (const boost::uint64_t &word64)
 set the BxNr value from a 64-bits word More...
 
void setBxNrWord64 (boost::uint64_t &word64, const int iWord)
 
void setEventNr (const boost::uint32_t &eventNrValue)
 
void setEventNr (const boost::uint64_t &word64)
 set the EventNr value from a 64-bits word More...
 
void setEventNrWord64 (boost::uint64_t &word64, const int iWord)
 
void setFinalOR (const boost::uint16_t &finalORValue)
 
void setFinalOR (const boost::uint64_t &word64)
 set the "Final OR" bits from a 64-bits word More...
 
void setFinalORWord64 (boost::uint64_t &word64, const int iWord)
 
void setGtDecisionWord (const DecisionWord &gtDecisionWordValue)
 
void setGtDecisionWordA (const boost::uint64_t &word64)
 
void setGtDecisionWordAWord64 (boost::uint64_t &word64, const int iWord)
 
void setGtDecisionWordB (const boost::uint64_t &word64)
 
void setGtDecisionWordBWord64 (boost::uint64_t &word64, const int iWord)
 
void setGtDecisionWordExtended (const DecisionWordExtended &gtDecisionWordExtendedValue)
 
void setGtDecisionWordExtended (const boost::uint64_t &word64)
 set the extended algorithms bits from a 64-bits word More...
 
void setGtDecisionWordExtendedWord64 (boost::uint64_t &word64, const int iWord)
 
void setGtPrescaleFactorIndexAlgo (const boost::uint16_t &gtPrescaleFactorIndexAlgoValue)
 
void setGtPrescaleFactorIndexAlgo (const boost::uint64_t &word64)
 set the GtPrescaleFactorIndexAlgo from a 64-bits word More...
 
void setGtPrescaleFactorIndexAlgoWord64 (boost::uint64_t &word64, const int iWord)
 
void setGtPrescaleFactorIndexTech (const boost::uint16_t &gtPrescaleFactorIndexTechValue)
 
void setGtPrescaleFactorIndexTech (const boost::uint64_t &word64)
 set the GtPrescaleFactorIndexTech from a 64-bits word More...
 
void setGtPrescaleFactorIndexTechWord64 (boost::uint64_t &word64, const int iWord)
 
void setGtTechnicalTriggerWord (const TechnicalTriggerWord &gtTechnicalTriggerWordValue)
 
void setGtTechnicalTriggerWord (const boost::uint64_t &word64)
 set the technical trigger bits from a 64-bits word More...
 
void setGtTechnicalTriggerWordWord64 (boost::uint64_t &word64, const int iWord)
 
void setLocalBxNr (const boost::uint16_t &localBxNrValue)
 
void setLocalBxNr (const boost::uint64_t &word64)
 set the local bunch cross number bits from a 64-bits word More...
 
void setLocalBxNrWord64 (boost::uint64_t &word64, const int iWord)
 
void setLumiSegmentNr (const boost::uint16_t &lumiSegmentNrValue)
 
void setLumiSegmentNr (const boost::uint64_t &word64)
 set the luminosity segment number bits from a 64-bits word More...
 
void setLumiSegmentNrWord64 (boost::uint64_t &word64, const int iWord)
 
void setNoAlgo (const boost::uint16_t &noAlgoValue)
 
void setNoAlgo (const boost::uint64_t &word64)
 set the NoAlgo from a 64-bits word More...
 
void setNoAlgoWord64 (boost::uint64_t &word64, const int iWord)
 
void setOrbitNr (const boost::uint32_t &orbitNrValue)
 
void setOrbitNr (const boost::uint64_t &word64)
 set the orbit number bits from a 64-bits word More...
 
void setOrbitNrWord64 (boost::uint64_t &word64, const int iWord)
 
void setPhysicsDeclared (const boost::uint16_t &physicsDeclaredValue)
 
void setPhysicsDeclared (const boost::uint64_t &word64)
 set the "physics declared" bit from a 64-bits word More...
 
void setPhysicsDeclaredWord64 (boost::uint64_t &word64, const int iWord)
 
void unpack (const unsigned char *fdlPtr)
 
virtual ~L1GtFdlWord ()
 destructor More...
 

Private Attributes

boost::uint16_t m_boardId
 board identifier More...
 
int m_bxInEvent
 bunch cross in the GT event record More...
 
boost::uint16_t m_bxNr
 bunch cross number of the actual bx More...
 
boost::uint32_t m_eventNr
 event number since last L1 reset generated in FDL More...
 
boost::uint16_t m_finalOR
 
DecisionWord m_gtDecisionWord
 algorithm bits More...
 
DecisionWordExtended m_gtDecisionWordExtended
 extended algorithm bits, in addition to 128 More...
 
boost::uint16_t m_gtPrescaleFactorIndexAlgo
 
boost::uint16_t m_gtPrescaleFactorIndexTech
 
TechnicalTriggerWord m_gtTechnicalTriggerWord
 technical trigger bits More...
 
boost::uint16_t m_localBxNr
 
boost::uint16_t m_lumiSegmentNr
 luminosity segment number More...
 
boost::uint16_t m_noAlgo
 true if no algorithm (from a defined group - default all) triggered More...
 
boost::uint32_t m_orbitNr
 orbit number More...
 
boost::uint16_t m_physicsDeclared
 set to true when physics declared More...
 

Static Private Attributes

static const int BlockSize = 7
 
static const boost::uint64_t BoardIdMask = 0xFFFF000000000000ULL
 
static const int BoardIdShift = 48
 
static const int BoardIdWord = 0
 
static const boost::uint64_t BxInEventMask = 0x0000F00000000000ULL
 
static const int BxInEventShift = 44
 
static const int BxInEventWord = 0
 
static const boost::uint64_t BxNrMask = 0x00000FFF00000000ULL
 
static const int BxNrShift = 32
 
static const int BxNrWord = 0
 
static const boost::uint64_t EventNrMask = 0x0000000000FFFFFFULL
 
static const int EventNrShift = 0
 
static const int EventNrWord = 0
 
static const boost::uint64_t FinalORMask = 0x00000000000000FFULL
 
static const int FinalORShift = 0
 
static const int FinalORWord = 5
 
static const boost::uint64_t GtDecisionWordAMask = 0xFFFFFFFFFFFFFFFFULL
 
static const int GtDecisionWordAShift = 0
 
static const int GtDecisionWordAWord = 2
 
static const boost::uint64_t GtDecisionWordBMask = 0xFFFFFFFFFFFFFFFFULL
 
static const int GtDecisionWordBShift = 0
 
static const int GtDecisionWordBWord = 3
 
static const boost::uint64_t GtDecisionWordExtendedMask = 0xFFFFFFFFFFFFFFFFULL
 
static const int GtDecisionWordExtendedShift = 0
 
static const int GtDecisionWordExtendedWord = 4
 
static const boost::uint64_t GtPrescaleFactorIndexAlgoMask = 0x000000FF00000000ULL
 
static const int GtPrescaleFactorIndexAlgoShift = 32
 
static const int GtPrescaleFactorIndexAlgoWord = 5
 
static const boost::uint64_t GtPrescaleFactorIndexTechMask = 0x00FF000000000000ULL
 
static const int GtPrescaleFactorIndexTechShift = 48
 
static const int GtPrescaleFactorIndexTechWord = 5
 
static const boost::uint64_t GtTechnicalTriggerWordMask = 0xFFFFFFFFFFFFFFFFULL
 
static const int GtTechnicalTriggerWordShift = 0
 
static const int GtTechnicalTriggerWordWord = 1
 
static const boost::uint64_t LocalBxNrMask = 0x0000000000000FFFULL
 
static const int LocalBxNrShift = 0
 
static const int LocalBxNrWord = 6
 
static const boost::uint64_t LumiSegmentNrMask = 0x00000000FFFF0000ULL
 
static const int LumiSegmentNrShift = 16
 
static const int LumiSegmentNrWord = 6
 
static const boost::uint64_t NoAlgoMask = 0x0000000000000100ULL
 
static const int NoAlgoShift = 8
 
static const int NoAlgoWord = 5
 
static const boost::uint64_t OrbitNrMask = 0xFFFFFFFF00000000ULL
 
static const int OrbitNrShift = 32
 
static const int OrbitNrWord = 6
 
static const boost::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

$Date$ $Revision$

Description: see header file.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 31 of file L1GtFdlWord.h.

Constructor & Destructor Documentation

L1GtFdlWord::L1GtFdlWord ( )

constructors

Definition at line 34 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.

35 {
36 
37  m_boardId = 0;
38  m_bxInEvent = 0;
39  m_bxNr = 0;
40  m_eventNr = 0;
41 
42  // technical triggers std::vector<bool>
47 
48  // decision word std::vector<bool>
49  m_gtDecisionWord.reserve(
51  m_gtDecisionWord.assign(
53 
54  // extended decision word std::vector<bool>
59 
63 
64  m_noAlgo = 0;
65 
66  m_finalOR = 0;
67 
68 
69  m_orbitNr = 0;
70  m_lumiSegmentNr = 0;
71  m_localBxNr = 0;
72 
73 }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
static const unsigned int NumberTechnicalTriggers
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
static const unsigned int NumberPhysTriggersExtended
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
static const unsigned int NumberPhysTriggers
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
L1GtFdlWord::L1GtFdlWord ( boost::uint16_t  boardIdValue,
int  bxInEventValue,
boost::uint16_t  bxNrValue,
boost::uint32_t  eventNrValue,
TechnicalTriggerWord  gtTechnicalTriggerWordValue,
DecisionWord  gtDecisionWordValue,
DecisionWordExtended  gtDecisionWordExtendedValue,
boost::uint16_t  gtPrescaleFactorIndexTechValue,
boost::uint16_t  gtPrescaleFactorIndexAlgoValue,
boost::uint16_t  noAlgoValue,
boost::uint16_t  finalORValue,
boost::uint32_t  orbitNrValue,
boost::uint16_t  lumiSegmentNrValue,
boost::uint16_t  localBxNrValue 
)

Definition at line 76 of file L1GtFdlWord.cc.

References m_physicsDeclared.

85  :
86  m_boardId(boardIdValue), m_bxInEvent(bxInEventValue), m_bxNr(bxNrValue),
87  m_eventNr(eventNrValue),
88  m_gtTechnicalTriggerWord(gtTechnicalTriggerWordValue),
89  m_gtDecisionWord(gtDecisionWordValue),
90  m_gtDecisionWordExtended(gtDecisionWordExtendedValue),
91  m_gtPrescaleFactorIndexTech(gtPrescaleFactorIndexTechValue),
92  m_gtPrescaleFactorIndexAlgo(gtPrescaleFactorIndexAlgoValue),
93  m_noAlgo(noAlgoValue), m_finalOR(finalORValue),
94  m_orbitNr(orbitNrValue), m_lumiSegmentNr(lumiSegmentNrValue),
95  m_localBxNr(localBxNrValue)
96 
97 {
99 
100  // the rest done in initialization list
101 }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
L1GtFdlWord::~L1GtFdlWord ( )
virtual

destructor

Definition at line 104 of file L1GtFdlWord.cc.

105 {
106 
107  // empty now
108 }

Member Function Documentation

const boost::uint16_t L1GtFdlWord::boardId ( ) const
inline

get/set board ID

get BoardId value

Definition at line 71 of file L1GtFdlWord.h.

References m_boardId.

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

72  {
73  return m_boardId;
74  }
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
const int L1GtFdlWord::bxInEvent ( ) const
inline

get/set bunch cross in the GT event record

Definition at line 92 of file L1GtFdlWord.h.

References m_bxInEvent.

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

93  {
94  return m_bxInEvent;
95  }
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
const boost::uint16_t L1GtFdlWord::bxNr ( ) const
inline

get/set BxNr - bunch cross number of the actual bx

Definition at line 112 of file L1GtFdlWord.h.

References m_bxNr.

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

113  {
114  return m_bxNr;
115  }
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
const boost::uint32_t L1GtFdlWord::eventNr ( ) const
inline

get/set event number since last L1 reset generated in FDL

Definition at line 132 of file L1GtFdlWord.h.

References m_eventNr.

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

133  {
134  return m_eventNr;
135  }
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
const boost::uint16_t L1GtFdlWord::finalOR ( ) const
inline

get/set "Final OR" bits

Definition at line 308 of file L1GtFdlWord.h.

References m_finalOR.

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

309  {
310  return m_finalOR;
311  }
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
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 394 of file L1GtFdlWord.h.

References BlockSize, and L1GlobalTriggerReadoutSetup::UnitLength.

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

395  {
396  int unitLengthBits = L1GlobalTriggerReadoutSetup::UnitLength;
397 
398  return BlockSize*unitLengthBits;
399  }
static const int UnitLength
one unit in the word is UnitLength bits
static const int BlockSize
Definition: L1GtFdlWord.h:418
const bool L1GtFdlWord::globalDecision ( ) const
inline

Definition at line 327 of file L1GtFdlWord.h.

References m_finalOR.

328  {
329  return static_cast<bool> (m_finalOR);
330  }
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
const DecisionWord& L1GtFdlWord::gtDecisionWord ( ) const
inline

get/set/print algorithms bits (decision word)

Definition at line 173 of file L1GtFdlWord.h.

References m_gtDecisionWord.

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

174  {
175  return m_gtDecisionWord;
176  }
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
const DecisionWordExtended& L1GtFdlWord::gtDecisionWordExtended ( ) const
inline

get/set extended algorithms bits (extended decision word)

Definition at line 205 of file L1GtFdlWord.h.

References m_gtDecisionWordExtended.

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

206  {
208  }
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
const boost::uint16_t L1GtFdlWord::gtPrescaleFactorIndexAlgo ( ) const
inline

Definition at line 269 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexAlgo.

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

270  {
272  }
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
const boost::uint16_t L1GtFdlWord::gtPrescaleFactorIndexTech ( ) const
inline

get/set index of the set of prescale factors

Definition at line 250 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexTech.

251  {
253  }
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
const TechnicalTriggerWord& L1GtFdlWord::gtTechnicalTriggerWord ( ) const
inline

get/set technical trigger bits

Definition at line 151 of file L1GtFdlWord.h.

References m_gtTechnicalTriggerWord.

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

152  {
154  }
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
const boost::uint16_t L1GtFdlWord::localBxNr ( ) const
inline

get/set local bunch cross number of the actual bx

Definition at line 374 of file L1GtFdlWord.h.

References m_localBxNr.

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

375  {
376  return m_localBxNr;
377  }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
const boost::uint16_t L1GtFdlWord::lumiSegmentNr ( ) const
inline

get/set luminosity segment number of the actual bx

Definition at line 354 of file L1GtFdlWord.h.

References m_lumiSegmentNr.

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

355  {
356  return m_lumiSegmentNr;
357  }
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
const boost::uint16_t L1GtFdlWord::noAlgo ( ) const
inline

get/set NoAlgo

Definition at line 288 of file L1GtFdlWord.h.

References m_noAlgo.

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

289  {
290  return m_noAlgo;
291  }
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
bool L1GtFdlWord::operator!= ( const L1GtFdlWord result) const

unequal operator

Definition at line 179 of file L1GtFdlWord.cc.

180 {
181 
182  return !( result == *this);
183 
184 }
bool L1GtFdlWord::operator== ( const L1GtFdlWord result) const

equal operator

Definition at line 111 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.

112 {
113 
114  if (m_boardId != result.m_boardId) {
115  return false;
116  }
117 
118  if (m_bxInEvent != result.m_bxInEvent) {
119  return false;
120  }
121 
122  if (m_bxNr != result.m_bxNr) {
123  return false;
124  }
125  if (m_eventNr != result.m_eventNr) {
126  return false;
127  }
128 
130  return false;
131  }
132 
133  if (m_gtDecisionWord != result.m_gtDecisionWord) {
134  return false;
135  }
136 
138  return false;
139  }
140 
141  if (m_physicsDeclared != result.m_physicsDeclared) {
142  return false;
143  }
144 
146  return false;
147  }
148 
150  return false;
151  }
152 
153  if (m_noAlgo != result.m_noAlgo) {
154  return false;
155  }
156 
157  if (m_finalOR != result.m_finalOR) {
158  return false;
159  }
160 
161  if (m_orbitNr != result.m_orbitNr) {
162  return false;
163  }
164 
165  if (m_lumiSegmentNr != result.m_lumiSegmentNr) {
166  return false;
167  }
168 
169  if (m_localBxNr != result.m_localBxNr) {
170  return false;
171  }
172 
173  // all members identical
174  return true;
175 
176 }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
const boost::uint32_t L1GtFdlWord::orbitNr ( ) const
inline

get/set orbit number

Definition at line 334 of file L1GtFdlWord.h.

References m_orbitNr.

335  {
336  return m_orbitNr;
337  }
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
const boost::uint16_t L1GtFdlWord::physicsDeclared ( ) const
inline

get/set "physics declared" bit

Definition at line 229 of file L1GtFdlWord.h.

References m_physicsDeclared.

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

230  {
231  return m_physicsDeclared;
232  }
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
void L1GtFdlWord::print ( std::ostream &  myCout) const

pretty print the content of a L1GtFdlWord

Definition at line 768 of file L1GtFdlWord.cc.

References 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(), L1GtHwValidation::compareFDL(), L1GtDataEmulAnalyzer::compareFDL(), L1GlobalTriggerEvmRawToDigi::produce(), L1GTEvmDigiToRaw::produce(), L1GTDigiToRaw::produce(), and L1GlobalTriggerRawToDigi::produce().

769 {
770 
771  myCout << "\n L1GtFdlWord::print \n" << std::endl;
772 
773  int iWord = 0;
774 
775  myCout << "\n Word " << iWord << std::endl;
776 
777  myCout << " Board Id: "
778  << std::hex << " hex: " << " " << std::setw(4) << std::setfill('0') << m_boardId
779  << std::setfill(' ')
780  << std::dec << " dec: " << m_boardId
781  << std::endl;
782  //
783 
784  int baseValue = 16; // using hexadecimal values;
785  int hexBxInEvent = (m_bxInEvent + baseValue)%baseValue;
786 
787  myCout << " BxInEvent: "
788  << std::hex << " hex: " << " " << std::setw(1) << hexBxInEvent
789  << std::dec << " dec: " << m_bxInEvent
790  << std::endl;
791 
792  myCout << " BxNr: "
793  << std::hex << " hex: " << " " << std::setw(3) << std::setfill('0') << m_bxNr
794  << std::setfill(' ')
795  << std::dec << " dec: " << m_bxNr
796  << std::endl;
797 
798 
799  myCout << " EventNr: "
800  << std::hex << " hex: " << " " << std::setw(6) << std::setfill('0') << m_eventNr
801  << std::setfill(' ')
802  << std::dec << " dec: " << m_eventNr
803  << std::endl;
804 
805  // technical triggers
806 
807  iWord++;
808  myCout << "\n Word " << iWord << std::endl;
809 
811  myCout << std::endl;
812 
813  // physics triggers (2 words!)
814 
815  iWord++;
816  myCout << "\n Word " << iWord;
817  iWord++;
818  myCout << " and word " << iWord;
819 
820  printGtDecisionWord(myCout);
821  myCout << std::endl;
822 
823  // decision word extended (64 bits)
824 
825  iWord++;
826  myCout << "\n Word " << iWord << std::endl;
827 
829  myCout << std::endl;
830 
831  //
832  iWord++;
833  myCout << "\n Word " << iWord << std::endl;
834 
835  myCout << " PhysicsDeclared: "
836  << std::hex << " hex: " << " " << std::setw(4) << std::setfill('0')
838  << std::setfill(' ')
839  << std::dec << " dec: " << m_physicsDeclared
840  << std::endl;
841 
842  myCout << " GtPrescaleFactorIndexTech: "
843  << std::hex << " hex: " << " " << std::setw(4) << std::setfill('0')
845  << std::setfill(' ')
846  << std::dec << " dec: " << m_gtPrescaleFactorIndexTech
847  << std::endl;
848 
849  myCout << " GtPrescaleFactorIndexAlgo: "
850  << std::hex << " hex: " << " " << std::setw(4) << std::setfill('0')
852  << std::setfill(' ')
853  << std::dec << " dec: " << m_gtPrescaleFactorIndexAlgo
854  << std::endl;
855 
856  myCout << " NoAlgo: "
857  << std::hex << " hex: " << " " << std::setw(1) << std::setfill('0') << m_noAlgo
858  << std::setfill(' ')
859  << std::dec << " dec: " << m_noAlgo
860  << std::endl;
861 
862  myCout << " FinalOR: "
863  << std::hex << " hex: " << " " << std::setw(2) << std::setfill('0') << m_finalOR
864  << std::setfill(' ')
865  << std::dec << " dec: " << m_finalOR
866  << std::endl;
867 
868  iWord++;
869  myCout << "\n Word " << iWord << std::endl;
870 
871  myCout << " OrbitNr: "
872  << std::hex << " hex: " << "" << std::setw(8) << std::setfill('0') << m_orbitNr
873  << std::setfill(' ')
874  << std::dec << " dec: " << m_orbitNr
875  << std::endl;
876 
877  myCout << " LumiSegmentNr: "
878  << std::hex << " hex: " << " " << std::setw(4) << std::setfill('0') << m_lumiSegmentNr
879  << std::setfill(' ')
880  << std::dec << " dec: " << m_lumiSegmentNr
881  << std::endl;
882 
883  myCout << " LocalBxNr: "
884  << std::hex << " hex: " << " " << std::setw(3) << std::setfill('0') << m_localBxNr
885  << std::setfill(' ')
886  << std::dec << " dec: " << m_localBxNr
887  << std::endl;
888 
889 }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
void printGtDecisionWord(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:347
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
void printGtDecisionWordExtended(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:505
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
void printGtTechnicalTriggerWord(std::ostream &myCout) const
Definition: L1GtFdlWord.cc:273
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
void L1GtFdlWord::printGtDecisionWord ( std::ostream &  myCout) const

Definition at line 347 of file L1GtFdlWord.cc.

References m_gtDecisionWord.

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

348 {
349 
350  // decision word (in 64bits words)
351  int sizeW64 = 64; // 64 bits words
352 
353  int iBit = 0;
354  int jBit = m_gtDecisionWord.size();
355  int nrDecWord = m_gtDecisionWord.size()/sizeW64;
356 
357  std::ostringstream stream64;
358 
359  std::vector<std::string> decWord;
360  decWord.reserve(nrDecWord);
361 
362  for (std::vector<bool>::const_reverse_iterator ritBit = m_gtDecisionWord.rbegin();
363  ritBit != m_gtDecisionWord.rend(); ++ritBit) {
364 
365  stream64 << (*ritBit ? '1' : '0');
366 
367  if ( (((iBit + 1)%16) == (sizeW64%16)) ) {
368  stream64 << " ";
369  }
370 
371  if ( ((iBit + 1)%sizeW64) == 0) {
372  std::string iW = stream64.str();
373  stream64.str("");
374 
375  decWord.push_back(iW);
376  }
377 
378 
379  iBit++;
380  jBit--;
381  }
382 
383  int iWord = 0;
384 
385  for (std::vector<std::string>::reverse_iterator ritWord = decWord.rbegin();
386  ritWord != decWord.rend(); ++ritWord) {
387 
388  myCout << std::endl;
389  myCout << " DecisionWord (bitset style): bits "
390  << iWord*sizeW64 + sizeW64 - 1 << " : " << iWord*sizeW64 << "\n ";
391  myCout << *ritWord;
392 
393  iWord++;
394 
395  }
396 }
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
void L1GtFdlWord::printGtDecisionWordExtended ( std::ostream &  myCout) const

Definition at line 505 of file L1GtFdlWord.cc.

References m_gtDecisionWordExtended.

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

506 {
507 
508  myCout << " DecisionWordExtended (bitset style): \n " ;
509 
510  int sizeW64 = 64; // 64 bits words
511  int iBit = 0;
512 
513  for (std::vector<bool>::const_reverse_iterator ritBit = m_gtDecisionWordExtended.rbegin();
514  ritBit != m_gtDecisionWordExtended.rend(); ++ritBit) {
515 
516  myCout << (*ritBit ? '1' : '0');
517 
518  if ( (((iBit + 1)%16) == (sizeW64%16)) && (iBit != 63) ) {
519  myCout << " ";
520  }
521 
522  iBit++;
523 
524  }
525 
526 }
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
void L1GtFdlWord::printGtTechnicalTriggerWord ( std::ostream &  myCout) const

Definition at line 273 of file L1GtFdlWord.cc.

References m_gtTechnicalTriggerWord.

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

274 {
275 
276  myCout << " Technical triggers (bitset style): \n " ;
277 
278  int sizeW64 = 64; // 64 bits words
279  int iBit = 0;
280 
281  for (std::vector<bool>::const_reverse_iterator ritBit = m_gtTechnicalTriggerWord.rbegin();
282  ritBit != m_gtTechnicalTriggerWord.rend(); ++ritBit) {
283 
284  myCout << (*ritBit ? '1' : '0');
285 
286  if ( (((iBit + 1)%16) == (sizeW64%16)) && (iBit != 63) ) {
287  myCout << " ";
288  }
289 
290  iBit++;
291  }
292 
293 
294 }
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
void L1GtFdlWord::reset ( void  )

reset the content of a L1GtFdlWord

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

735 {
736 
737  m_boardId = 0;
738  m_bxInEvent = 0;
739  m_bxNr = 0;
740  m_eventNr = 0;
741 
742  // technical triggers std::vector<bool>
745 
746  // decision word std::vector<bool>
747  m_gtDecisionWord.assign(
749 
750  // extended decision word std::vector<bool>
753 
754  m_physicsDeclared = 0;
757 
758  m_noAlgo = 0;
759  m_finalOR = 0;
760 
761  m_orbitNr = 0;
762  m_lumiSegmentNr = 0;
763  m_localBxNr = 0;
764 
765 }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
static const unsigned int NumberTechnicalTriggers
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
static const unsigned int NumberPhysTriggersExtended
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
static const unsigned int NumberPhysTriggers
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
void L1GtFdlWord::setBoardId ( const boost::uint16_t &  boardIdValue)
inline

set BoardId from a BoardId value

Definition at line 77 of file L1GtFdlWord.h.

References m_boardId.

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

78  {
79  m_boardId = boardIdValue;
80  }
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
void L1GtFdlWord::setBoardId ( const boost::uint64_t &  word64)

set the BoardId value from a 64-bits word

Definition at line 190 of file L1GtFdlWord.cc.

References BoardIdMask, BoardIdShift, and m_boardId.

191 {
192  m_boardId = (word64 & BoardIdMask) >> BoardIdShift;
193 
194 }
static const boost::uint64_t BoardIdMask
Definition: L1GtFdlWord.h:429
static const int BoardIdShift
Definition: L1GtFdlWord.h:435
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
void L1GtFdlWord::setBoardIdWord64 ( boost::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 198 of file L1GtFdlWord.cc.

References BoardIdShift, BoardIdWord, and m_boardId.

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

199 {
200 
201  if (iWord == BoardIdWord) {
202  word64 = word64 | (static_cast<boost::uint64_t> (m_boardId) << BoardIdShift);
203  }
204 
205 }
static const int BoardIdShift
Definition: L1GtFdlWord.h:435
static const int BoardIdWord
Definition: L1GtFdlWord.h:423
unsigned long long uint64_t
Definition: Time.h:15
boost::uint16_t m_boardId
board identifier
Definition: L1GtFdlWord.h:500
void L1GtFdlWord::setBxInEvent ( const int  bxInEventValue)
inline

Definition at line 97 of file L1GtFdlWord.h.

References m_bxInEvent.

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

98  {
99  m_bxInEvent = bxInEventValue;
100  }
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
void L1GtFdlWord::setBxInEvent ( const boost::uint64_t &  word64)

set the BxInEvent value from a 64-bits word

Definition at line 209 of file L1GtFdlWord.cc.

References BxInEventMask, BxInEventShift, and m_bxInEvent.

210 {
211  int baseValue = 16; // using hexadecimal values;
212  int hexBxInEvent = (word64 & BxInEventMask) >> BxInEventShift;
213  m_bxInEvent = (hexBxInEvent + baseValue/2)%baseValue - baseValue/2;
214 
215 }
static const boost::uint64_t BxInEventMask
Definition: L1GtFdlWord.h:430
static const int BxInEventShift
Definition: L1GtFdlWord.h:436
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
void L1GtFdlWord::setBxInEventWord64 ( boost::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 219 of file L1GtFdlWord.cc.

References BxInEventShift, BxInEventWord, and m_bxInEvent.

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

220 {
221 
222  if (iWord == BxInEventWord) {
223  int baseValue = 16; // using hexadecimal values;
224  int hexBxInEvent = (m_bxInEvent + baseValue)%baseValue;
225  word64 = word64 | (static_cast<boost::uint64_t> (hexBxInEvent)
226  << BxInEventShift);
227  }
228 
229 }
static const int BxInEventShift
Definition: L1GtFdlWord.h:436
static const int BxInEventWord
Definition: L1GtFdlWord.h:424
unsigned long long uint64_t
Definition: Time.h:15
int m_bxInEvent
bunch cross in the GT event record
Definition: L1GtFdlWord.h:503
void L1GtFdlWord::setBxNr ( const boost::uint16_t &  bxNrValue)
inline

Definition at line 117 of file L1GtFdlWord.h.

References m_bxNr.

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

118  {
119  m_bxNr = bxNrValue;
120  }
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
void L1GtFdlWord::setBxNr ( const boost::uint64_t &  word64)

set the BxNr value from a 64-bits word

Definition at line 233 of file L1GtFdlWord.cc.

References BxNrMask, BxNrShift, and m_bxNr.

234 {
235  m_bxNr = (word64 & BxNrMask) >> BxNrShift;
236 
237 }
static const int BxNrShift
Definition: L1GtFdlWord.h:437
static const boost::uint64_t BxNrMask
Definition: L1GtFdlWord.h:431
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
void L1GtFdlWord::setBxNrWord64 ( boost::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 241 of file L1GtFdlWord.cc.

References BxNrShift, BxNrWord, and m_bxNr.

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

242 {
243 
244  if (iWord == BxNrWord) {
245  word64 = word64 | (static_cast<boost::uint64_t> (m_bxNr) << BxNrShift);
246  }
247 
248 }
static const int BxNrShift
Definition: L1GtFdlWord.h:437
boost::uint16_t m_bxNr
bunch cross number of the actual bx
Definition: L1GtFdlWord.h:506
unsigned long long uint64_t
Definition: Time.h:15
static const int BxNrWord
Definition: L1GtFdlWord.h:425
void L1GtFdlWord::setEventNr ( const boost::uint32_t &  eventNrValue)
inline

Definition at line 137 of file L1GtFdlWord.h.

References m_eventNr.

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

138  {
139  m_eventNr = eventNrValue;
140  }
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
void L1GtFdlWord::setEventNr ( const boost::uint64_t &  word64)

set the EventNr value from a 64-bits word

Definition at line 252 of file L1GtFdlWord.cc.

References EventNrMask, EventNrShift, and m_eventNr.

253 {
254  m_eventNr = (word64 & EventNrMask) >> EventNrShift;
255 
256 }
static const int EventNrShift
Definition: L1GtFdlWord.h:438
static const boost::uint64_t EventNrMask
Definition: L1GtFdlWord.h:432
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
void L1GtFdlWord::setEventNrWord64 ( boost::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 260 of file L1GtFdlWord.cc.

References EventNrShift, EventNrWord, and m_eventNr.

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

261 {
262 
263  if (iWord == EventNrWord) {
264  word64 = word64 | (static_cast<boost::uint64_t> (m_eventNr) << EventNrShift);
265  }
266 
267 }
static const int EventNrShift
Definition: L1GtFdlWord.h:438
static const int EventNrWord
Definition: L1GtFdlWord.h:426
unsigned long long uint64_t
Definition: Time.h:15
boost::uint32_t m_eventNr
event number since last L1 reset generated in FDL
Definition: L1GtFdlWord.h:509
void L1GtFdlWord::setFinalOR ( const boost::uint16_t &  finalORValue)
inline

Definition at line 313 of file L1GtFdlWord.h.

References m_finalOR.

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

314  {
315  m_finalOR = finalORValue;
316  }
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
void L1GtFdlWord::setFinalOR ( const boost::uint64_t &  word64)

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

Definition at line 658 of file L1GtFdlWord.cc.

References FinalORMask, FinalORShift, and m_finalOR.

659 {
660  m_finalOR = (word64 & FinalORMask) >> FinalORShift;
661 
662 }
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
static const int FinalORShift
Definition: L1GtFdlWord.h:481
static const boost::uint64_t FinalORMask
Definition: L1GtFdlWord.h:475
void L1GtFdlWord::setFinalORWord64 ( boost::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 666 of file L1GtFdlWord.cc.

References FinalORShift, FinalORWord, and m_finalOR.

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

667 {
668 
669  if (iWord == FinalORWord) {
670  word64 = word64 | (static_cast<boost::uint64_t> (m_finalOR)
671  << FinalORShift);
672  }
673 
674 }
static const int FinalORWord
Definition: L1GtFdlWord.h:469
boost::uint16_t m_finalOR
Definition: L1GtFdlWord.h:536
unsigned long long uint64_t
Definition: Time.h:15
static const int FinalORShift
Definition: L1GtFdlWord.h:481
void L1GtFdlWord::setGtDecisionWord ( const DecisionWord gtDecisionWordValue)
inline

Definition at line 178 of file L1GtFdlWord.h.

References m_gtDecisionWord.

Referenced by L1GlobalTriggerFDL::run().

179  {
180  m_gtDecisionWord = gtDecisionWordValue;
181  }
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
void L1GtFdlWord::setGtDecisionWordA ( const boost::uint64_t &  word64)

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

Definition at line 400 of file L1GtFdlWord.cc.

References GtDecisionWordAMask, GtDecisionWordAShift, and m_gtDecisionWord.

Referenced by unpack().

401 {
402 
403  int word64Size = sizeof(word64)*8; // well, it should be 64, if not... :-)
405 
406  boost::uint64_t one64 = 1ULL;
407 
408  for (int iBit = 0; iBit < word64Size; ++iBit) {
409  m_gtDecisionWord.at(iBit) = wordA & (one64 << iBit);
410  }
411 
412 }
static const int GtDecisionWordAShift
Definition: L1GtFdlWord.h:450
static const boost::uint64_t GtDecisionWordAMask
Definition: L1GtFdlWord.h:449
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
unsigned long long uint64_t
Definition: Time.h:15
void L1GtFdlWord::setGtDecisionWordAWord64 ( boost::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 437 of file L1GtFdlWord.cc.

References GtDecisionWordAShift, GtDecisionWordAWord, and m_gtDecisionWord.

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

438 {
439 
440  if (iWord == GtDecisionWordAWord) {
441 
442  int word64Size = sizeof(word64)*8;
443  boost::uint64_t wordA = 0x0000000000000000ULL;
444 
445  int iBit = 0;
446  boost::uint64_t iDecision = 0ULL;
447 
448  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWord.begin();
449  itBit != m_gtDecisionWord.end(); ++itBit) {
450 
451  iDecision = static_cast<boost::uint64_t> (*itBit);//(*itBit ? 1 : 0);
452  wordA = wordA | (iDecision << iBit);
453 
454  iBit++;
455  if (iBit >= word64Size) {
456  break;
457  }
458 
459  }
460 
461  word64 = word64 | (wordA << GtDecisionWordAShift);
462 
463  }
464 
465 }
static const int GtDecisionWordAShift
Definition: L1GtFdlWord.h:450
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
static const int GtDecisionWordAWord
Definition: L1GtFdlWord.h:448
unsigned long long uint64_t
Definition: Time.h:15
void L1GtFdlWord::setGtDecisionWordB ( const boost::uint64_t &  word64)

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

Definition at line 416 of file L1GtFdlWord.cc.

References GtDecisionWordBMask, GtDecisionWordBShift, and m_gtDecisionWord.

Referenced by unpack().

417 {
418 
419  int word64Size = sizeof(word64)*8;
421 
422  boost::uint64_t one64 = 1ULL;
423 
424  for (int iBit = 0; iBit < word64Size; ++iBit) {
425  m_gtDecisionWord.at(iBit + word64Size) = wordB & (one64 << iBit);
426 
427  }
428 
429 }
static const int GtDecisionWordBShift
Definition: L1GtFdlWord.h:456
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
unsigned long long uint64_t
Definition: Time.h:15
static const boost::uint64_t GtDecisionWordBMask
Definition: L1GtFdlWord.h:455
void L1GtFdlWord::setGtDecisionWordBWord64 ( boost::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 473 of file L1GtFdlWord.cc.

References GtDecisionWordBShift, GtDecisionWordBWord, and m_gtDecisionWord.

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

474 {
475 
476  if (iWord == GtDecisionWordBWord) {
477 
478  int word64Size = sizeof(word64)*8;
479  boost::uint64_t wordB = 0x0000000000000000ULL;
480 
481  int iBit = 0;
482  boost::uint64_t iDecision = 0ULL;
483 
484  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWord.begin();
485  itBit != m_gtDecisionWord.end(); ++itBit) {
486 
487  if (iBit >= word64Size) {
488  // skip first word64Size bits, they go in wordA
489  iDecision = static_cast<boost::uint64_t> (*itBit);//(*itBit ? 1 : 0);
490  wordB = wordB | ( iDecision << (iBit - word64Size) );
491  }
492 
493  iBit++;
494 
495  }
496 
497  word64 = word64 | (wordB << GtDecisionWordBShift);
498  }
499 
500 }
static const int GtDecisionWordBShift
Definition: L1GtFdlWord.h:456
static const int GtDecisionWordBWord
Definition: L1GtFdlWord.h:454
DecisionWord m_gtDecisionWord
algorithm bits
Definition: L1GtFdlWord.h:517
unsigned long long uint64_t
Definition: Time.h:15
void L1GtFdlWord::setGtDecisionWordExtended ( const DecisionWordExtended gtDecisionWordExtendedValue)
inline

Definition at line 210 of file L1GtFdlWord.h.

References m_gtDecisionWordExtended.

Referenced by unpack().

211  {
212  m_gtDecisionWordExtended = gtDecisionWordExtendedValue;
213  }
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
void L1GtFdlWord::setGtDecisionWordExtended ( const boost::uint64_t &  word64)

set the extended algorithms bits from a 64-bits word

Definition at line 529 of file L1GtFdlWord.cc.

References GtDecisionWordExtendedMask, GtDecisionWordExtendedShift, and m_gtDecisionWordExtended.

530 {
531 
532  int word64Size = sizeof(word64)*8;
535 
536  boost::uint64_t one64 = 1ULL;
537 
538  for (int iBit = 0; iBit < word64Size; ++iBit) {
539  m_gtDecisionWordExtended.at(iBit) = wordE & (one64 << iBit);
540  }
541 
542 
543 }
unsigned long long uint64_t
Definition: Time.h:15
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
static const boost::uint64_t GtDecisionWordExtendedMask
Definition: L1GtFdlWord.h:461
static const int GtDecisionWordExtendedShift
Definition: L1GtFdlWord.h:462
void L1GtFdlWord::setGtDecisionWordExtendedWord64 ( boost::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 547 of file L1GtFdlWord.cc.

References GtDecisionWordExtendedShift, GtDecisionWordExtendedWord, and m_gtDecisionWordExtended.

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

548 {
549 
550  if (iWord == GtDecisionWordExtendedWord) {
551 
552  int word64Size = sizeof(word64)*8;
553  boost::uint64_t wordE = 0x0000000000000000ULL;
554 
555  int iBit = 0;
556  boost::uint64_t iDecision = 0ULL;
557 
558  for (std::vector<bool>::const_iterator itBit = m_gtDecisionWordExtended.begin();
559  itBit != m_gtDecisionWordExtended.end(); ++itBit) {
560 
561  iDecision = static_cast<boost::uint64_t> (*itBit);//(*itBit ? 1 : 0);
562  wordE = wordE | (iDecision << iBit);
563 
564  iBit++;
565  if (iBit >= word64Size) {
566  break;
567  }
568 
569  }
570 
571  word64 = word64 | (wordE << GtDecisionWordExtendedShift);
572 
573  }
574 
575 }
unsigned long long uint64_t
Definition: Time.h:15
static const int GtDecisionWordExtendedWord
Definition: L1GtFdlWord.h:460
DecisionWordExtended m_gtDecisionWordExtended
extended algorithm bits, in addition to 128
Definition: L1GtFdlWord.h:520
static const int GtDecisionWordExtendedShift
Definition: L1GtFdlWord.h:462
void L1GtFdlWord::setGtPrescaleFactorIndexAlgo ( const boost::uint16_t &  gtPrescaleFactorIndexAlgoValue)
inline

Definition at line 274 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexAlgo.

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

275  {
276  m_gtPrescaleFactorIndexAlgo = gtPrescaleFactorIndexAlgoValue;
277  }
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
void L1GtFdlWord::setGtPrescaleFactorIndexAlgo ( const boost::uint64_t &  word64)

set the GtPrescaleFactorIndexAlgo from a 64-bits word

Definition at line 618 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexAlgoMask, GtPrescaleFactorIndexAlgoShift, and m_gtPrescaleFactorIndexAlgo.

618  {
621 }
static const boost::uint64_t GtPrescaleFactorIndexAlgoMask
Definition: L1GtFdlWord.h:473
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
static const int GtPrescaleFactorIndexAlgoShift
Definition: L1GtFdlWord.h:479
void L1GtFdlWord::setGtPrescaleFactorIndexAlgoWord64 ( boost::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 625 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexAlgoShift, GtPrescaleFactorIndexAlgoWord, and m_gtPrescaleFactorIndexAlgo.

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

626  {
627 
628  if (iWord == GtPrescaleFactorIndexAlgoWord) {
629  word64 = word64
632  }
633 
634 }
static const int GtPrescaleFactorIndexAlgoWord
Definition: L1GtFdlWord.h:467
unsigned long long uint64_t
Definition: Time.h:15
boost::uint16_t m_gtPrescaleFactorIndexAlgo
Definition: L1GtFdlWord.h:529
static const int GtPrescaleFactorIndexAlgoShift
Definition: L1GtFdlWord.h:479
void L1GtFdlWord::setGtPrescaleFactorIndexTech ( const boost::uint16_t &  gtPrescaleFactorIndexTechValue)
inline

Definition at line 255 of file L1GtFdlWord.h.

References m_gtPrescaleFactorIndexTech.

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

256  {
257  m_gtPrescaleFactorIndexTech = gtPrescaleFactorIndexTechValue;
258  }
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
void L1GtFdlWord::setGtPrescaleFactorIndexTech ( const boost::uint64_t &  word64)

set the GtPrescaleFactorIndexTech from a 64-bits word

Definition at line 598 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexTechMask, GtPrescaleFactorIndexTechShift, and m_gtPrescaleFactorIndexTech.

598  {
601 }
static const int GtPrescaleFactorIndexTechShift
Definition: L1GtFdlWord.h:478
static const boost::uint64_t GtPrescaleFactorIndexTechMask
Definition: L1GtFdlWord.h:472
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
void L1GtFdlWord::setGtPrescaleFactorIndexTechWord64 ( boost::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 605 of file L1GtFdlWord.cc.

References GtPrescaleFactorIndexTechShift, GtPrescaleFactorIndexTechWord, and m_gtPrescaleFactorIndexTech.

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

606  {
607 
608  if (iWord == GtPrescaleFactorIndexTechWord) {
609  word64 = word64
612  }
613 
614 }
static const int GtPrescaleFactorIndexTechShift
Definition: L1GtFdlWord.h:478
unsigned long long uint64_t
Definition: Time.h:15
static const int GtPrescaleFactorIndexTechWord
Definition: L1GtFdlWord.h:466
boost::uint16_t m_gtPrescaleFactorIndexTech
Definition: L1GtFdlWord.h:528
void L1GtFdlWord::setGtTechnicalTriggerWord ( const TechnicalTriggerWord gtTechnicalTriggerWordValue)
inline

Definition at line 156 of file L1GtFdlWord.h.

References m_gtTechnicalTriggerWord.

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

157  {
158  m_gtTechnicalTriggerWord = gtTechnicalTriggerWordValue;
159  }
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
void L1GtFdlWord::setGtTechnicalTriggerWord ( const boost::uint64_t &  word64)

set the technical trigger bits from a 64-bits word

Definition at line 297 of file L1GtFdlWord.cc.

References GtTechnicalTriggerWordMask, GtTechnicalTriggerWordShift, and m_gtTechnicalTriggerWord.

298 {
299 
300  int word64Size = sizeof(word64)*8;
301  boost::uint64_t wordTT = (word64 & GtTechnicalTriggerWordMask)
303 
304  boost::uint64_t one64 = 1ULL;
305  for (int iBit = 0; iBit < word64Size; ++iBit) {
306  m_gtTechnicalTriggerWord.at(iBit) = wordTT & (one64 << iBit);
307  }
308 
309 }
static const int GtTechnicalTriggerWordShift
Definition: L1GtFdlWord.h:444
unsigned long long uint64_t
Definition: Time.h:15
static const boost::uint64_t GtTechnicalTriggerWordMask
Definition: L1GtFdlWord.h:443
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
void L1GtFdlWord::setGtTechnicalTriggerWordWord64 ( boost::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 313 of file L1GtFdlWord.cc.

References GtTechnicalTriggerWordShift, GtTechnicalTriggerWordWord, and m_gtTechnicalTriggerWord.

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

314 {
315 
316  if (iWord == GtTechnicalTriggerWordWord) {
317 
318  int word64Size = sizeof(word64)*8;
319  boost::uint64_t wordTT = 0x0000000000000000ULL;
320 
321  int iBit = 0;
322  boost::uint64_t iDecision = 0ULL;
323 
324  for (std::vector<bool>::const_iterator itBit = m_gtTechnicalTriggerWord.begin();
325  itBit != m_gtTechnicalTriggerWord.end(); ++itBit) {
326 
327  iDecision = static_cast<boost::uint64_t> (*itBit);//(*itBit ? 1 : 0);
328  wordTT = wordTT | (iDecision << iBit);
329 
330  iBit++;
331  if (iBit >= word64Size) {
332  break;
333  }
334 
335  }
336 
337  word64 = word64 | (wordTT << GtTechnicalTriggerWordShift);
338 
339  }
340 
341 }
static const int GtTechnicalTriggerWordShift
Definition: L1GtFdlWord.h:444
unsigned long long uint64_t
Definition: Time.h:15
static const int GtTechnicalTriggerWordWord
Definition: L1GtFdlWord.h:442
TechnicalTriggerWord m_gtTechnicalTriggerWord
technical trigger bits
Definition: L1GtFdlWord.h:514
void L1GtFdlWord::setLocalBxNr ( const boost::uint16_t &  localBxNrValue)
inline

Definition at line 379 of file L1GtFdlWord.h.

References m_localBxNr.

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

380  {
381  m_localBxNr = localBxNrValue;
382  }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
void L1GtFdlWord::setLocalBxNr ( const boost::uint64_t &  word64)

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

Definition at line 714 of file L1GtFdlWord.cc.

References LocalBxNrMask, LocalBxNrShift, and m_localBxNr.

715 {
716  m_localBxNr = (word64 & LocalBxNrMask) >> LocalBxNrShift;
717 }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
static const int LocalBxNrShift
Definition: L1GtFdlWord.h:494
static const boost::uint64_t LocalBxNrMask
Definition: L1GtFdlWord.h:490
void L1GtFdlWord::setLocalBxNrWord64 ( boost::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 721 of file L1GtFdlWord.cc.

References LocalBxNrShift, LocalBxNrWord, and m_localBxNr.

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

722 {
723 
724  if (iWord == LocalBxNrWord) {
725  word64 = word64 | (static_cast<boost::uint64_t> (m_localBxNr)
726  << LocalBxNrShift);
727  }
728 
729 }
boost::uint16_t m_localBxNr
Definition: L1GtFdlWord.h:548
static const int LocalBxNrShift
Definition: L1GtFdlWord.h:494
unsigned long long uint64_t
Definition: Time.h:15
static const int LocalBxNrWord
Definition: L1GtFdlWord.h:486
void L1GtFdlWord::setLumiSegmentNr ( const boost::uint16_t &  lumiSegmentNrValue)
inline

Definition at line 359 of file L1GtFdlWord.h.

References m_lumiSegmentNr.

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

360  {
361  m_lumiSegmentNr = lumiSegmentNrValue;
362  }
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
void L1GtFdlWord::setLumiSegmentNr ( const boost::uint64_t &  word64)

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

Definition at line 696 of file L1GtFdlWord.cc.

References LumiSegmentNrMask, LumiSegmentNrShift, and m_lumiSegmentNr.

696  {
698 }
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
static const boost::uint64_t LumiSegmentNrMask
Definition: L1GtFdlWord.h:489
static const int LumiSegmentNrShift
Definition: L1GtFdlWord.h:493
void L1GtFdlWord::setLumiSegmentNrWord64 ( boost::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 702 of file L1GtFdlWord.cc.

References LumiSegmentNrShift, LumiSegmentNrWord, and m_lumiSegmentNr.

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

703  {
704 
705  if (iWord == LumiSegmentNrWord) {
706  word64 = word64 | (static_cast<boost::uint64_t> (m_lumiSegmentNr)
707  << LumiSegmentNrShift);
708  }
709 
710 }
boost::uint16_t m_lumiSegmentNr
luminosity segment number
Definition: L1GtFdlWord.h:544
static const int LumiSegmentNrShift
Definition: L1GtFdlWord.h:493
static const int LumiSegmentNrWord
Definition: L1GtFdlWord.h:485
unsigned long long uint64_t
Definition: Time.h:15
void L1GtFdlWord::setNoAlgo ( const boost::uint16_t &  noAlgoValue)
inline

Definition at line 293 of file L1GtFdlWord.h.

References m_noAlgo.

Referenced by unpack().

294  {
295  m_noAlgo = noAlgoValue;
296  }
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
void L1GtFdlWord::setNoAlgo ( const boost::uint64_t &  word64)

set the NoAlgo from a 64-bits word

Definition at line 637 of file L1GtFdlWord.cc.

References m_noAlgo, NoAlgoMask, and NoAlgoShift.

638 {
639  m_noAlgo = (word64 & NoAlgoMask) >> NoAlgoShift;
640 }
static const boost::uint64_t NoAlgoMask
Definition: L1GtFdlWord.h:474
static const int NoAlgoShift
Definition: L1GtFdlWord.h:480
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
void L1GtFdlWord::setNoAlgoWord64 ( boost::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 644 of file L1GtFdlWord.cc.

References m_noAlgo, NoAlgoShift, and NoAlgoWord.

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

645 {
646 
647  if (iWord == NoAlgoWord) {
648  word64 = word64 | (static_cast<boost::uint64_t> (m_noAlgo)
649  << NoAlgoShift);
650  }
651 
652 }
static const int NoAlgoShift
Definition: L1GtFdlWord.h:480
unsigned long long uint64_t
Definition: Time.h:15
boost::uint16_t m_noAlgo
true if no algorithm (from a defined group - default all) triggered
Definition: L1GtFdlWord.h:532
static const int NoAlgoWord
Definition: L1GtFdlWord.h:468
void L1GtFdlWord::setOrbitNr ( const boost::uint32_t &  orbitNrValue)
inline

Definition at line 339 of file L1GtFdlWord.h.

References m_orbitNr.

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

340  {
341  m_orbitNr = orbitNrValue;
342  }
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
void L1GtFdlWord::setOrbitNr ( const boost::uint64_t &  word64)

set the orbit number bits from a 64-bits word

Definition at line 678 of file L1GtFdlWord.cc.

References m_orbitNr, OrbitNrMask, and OrbitNrShift.

678  {
679  m_orbitNr = (word64 & OrbitNrMask) >> OrbitNrShift;
680 }
static const boost::uint64_t OrbitNrMask
Definition: L1GtFdlWord.h:488
static const int OrbitNrShift
Definition: L1GtFdlWord.h:492
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
void L1GtFdlWord::setOrbitNrWord64 ( boost::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 684 of file L1GtFdlWord.cc.

References m_orbitNr, OrbitNrShift, and OrbitNrWord.

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

684  {
685 
686  if (iWord == OrbitNrWord) {
687  word64 = word64 | (static_cast<boost::uint64_t> (m_orbitNr)
688  << OrbitNrShift);
689  }
690 
691 }
static const int OrbitNrShift
Definition: L1GtFdlWord.h:492
unsigned long long uint64_t
Definition: Time.h:15
static const int OrbitNrWord
Definition: L1GtFdlWord.h:484
boost::uint32_t m_orbitNr
orbit number
Definition: L1GtFdlWord.h:541
void L1GtFdlWord::setPhysicsDeclared ( const boost::uint16_t &  physicsDeclaredValue)
inline

Definition at line 234 of file L1GtFdlWord.h.

References m_physicsDeclared.

Referenced by unpack().

235  {
236  m_physicsDeclared = physicsDeclaredValue;
237  }
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
void L1GtFdlWord::setPhysicsDeclared ( const boost::uint64_t &  word64)

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

Definition at line 579 of file L1GtFdlWord.cc.

References m_physicsDeclared, PhysicsDeclaredMask, and PhysicsDeclaredShift.

580 {
582 }
static const int PhysicsDeclaredShift
Definition: L1GtFdlWord.h:477
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
static const boost::uint64_t PhysicsDeclaredMask
Definition: L1GtFdlWord.h:471
void L1GtFdlWord::setPhysicsDeclaredWord64 ( boost::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 586 of file L1GtFdlWord.cc.

References m_physicsDeclared, PhysicsDeclaredShift, and PhysicsDeclaredWord.

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

587 {
588 
589  if (iWord == PhysicsDeclaredWord) {
590  word64 = word64 | (static_cast<boost::uint64_t> (m_physicsDeclared)
592  }
593 
594 }
static const int PhysicsDeclaredShift
Definition: L1GtFdlWord.h:477
boost::uint16_t m_physicsDeclared
set to true when physics declared
Definition: L1GtFdlWord.h:524
unsigned long long uint64_t
Definition: Time.h:15
static const int PhysicsDeclaredWord
Definition: L1GtFdlWord.h:465
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 893 of file L1GtFdlWord.cc.

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

894 {
895  LogDebug("L1GtFdlWord")
896  << "\nUnpacking FDL block.\n"
897  << std::endl;
898 
899  const boost::uint64_t* payload =
900  reinterpret_cast<boost::uint64_t*>(const_cast<unsigned char*>(fdlPtr));
901 
902  setBoardId(payload[BoardIdWord]);
903  setBxInEvent(payload[BxInEventWord]);
904  setBxNr(payload[BxNrWord]);
905  setEventNr(payload[EventNrWord]);
906 
908 
910 
912 
914 
918  setNoAlgo(payload[NoAlgoWord]);
919  setFinalOR(payload[FinalORWord]);
920 
921  setOrbitNr(payload[OrbitNrWord]);
923  setLocalBxNr(payload[LocalBxNrWord]);
924 
925  if ( edm::isDebugEnabled() ) {
926 
927  for (int iWord = 0; iWord < BlockSize; ++iWord) {
928  LogTrace("L1GtFdlWord")
929  << std::setw(4) << iWord << " "
930  << std::hex << std::setfill('0')
931  << std::setw(16) << payload[iWord]
932  << std::dec << std::setfill(' ')
933  << std::endl;
934  }
935 
936  }
937 
938 }
#define LogDebug(id)
bool isDebugEnabled()
static const int FinalORWord
Definition: L1GtFdlWord.h:469
void setBxNr(const boost::uint16_t &bxNrValue)
Definition: L1GtFdlWord.h:117
static const int GtDecisionWordBWord
Definition: L1GtFdlWord.h:454
void setGtDecisionWordA(const boost::uint64_t &word64)
Definition: L1GtFdlWord.cc:400
void setLocalBxNr(const boost::uint16_t &localBxNrValue)
Definition: L1GtFdlWord.h:379
void setGtPrescaleFactorIndexAlgo(const boost::uint16_t &gtPrescaleFactorIndexAlgoValue)
Definition: L1GtFdlWord.h:274
static const int GtPrescaleFactorIndexAlgoWord
Definition: L1GtFdlWord.h:467
void setGtTechnicalTriggerWord(const TechnicalTriggerWord &gtTechnicalTriggerWordValue)
Definition: L1GtFdlWord.h:156
void setEventNr(const boost::uint32_t &eventNrValue)
Definition: L1GtFdlWord.h:137
static const int BlockSize
Definition: L1GtFdlWord.h:418
void setPhysicsDeclared(const boost::uint16_t &physicsDeclaredValue)
Definition: L1GtFdlWord.h:234
static const int LumiSegmentNrWord
Definition: L1GtFdlWord.h:485
void setOrbitNr(const boost::uint32_t &orbitNrValue)
Definition: L1GtFdlWord.h:339
static const int EventNrWord
Definition: L1GtFdlWord.h:426
void setBoardId(const boost::uint16_t &boardIdValue)
set BoardId from a BoardId value
Definition: L1GtFdlWord.h:77
static const int BoardIdWord
Definition: L1GtFdlWord.h:423
static const int BxInEventWord
Definition: L1GtFdlWord.h:424
#define LogTrace(id)
void setLumiSegmentNr(const boost::uint16_t &lumiSegmentNrValue)
Definition: L1GtFdlWord.h:359
void setGtDecisionWordB(const boost::uint64_t &word64)
Definition: L1GtFdlWord.cc:416
static const int GtDecisionWordAWord
Definition: L1GtFdlWord.h:448
unsigned long long uint64_t
Definition: Time.h:15
static const int BxNrWord
Definition: L1GtFdlWord.h:425
static const int PhysicsDeclaredWord
Definition: L1GtFdlWord.h:465
static const int OrbitNrWord
Definition: L1GtFdlWord.h:484
static const int GtTechnicalTriggerWordWord
Definition: L1GtFdlWord.h:442
static const int LocalBxNrWord
Definition: L1GtFdlWord.h:486
static const int GtDecisionWordExtendedWord
Definition: L1GtFdlWord.h:460
void setBxInEvent(const int bxInEventValue)
Definition: L1GtFdlWord.h:97
static const int GtPrescaleFactorIndexTechWord
Definition: L1GtFdlWord.h:466
void setNoAlgo(const boost::uint16_t &noAlgoValue)
Definition: L1GtFdlWord.h:293
static const int NoAlgoWord
Definition: L1GtFdlWord.h:468
void setGtDecisionWordExtended(const DecisionWordExtended &gtDecisionWordExtendedValue)
Definition: L1GtFdlWord.h:210
void setGtPrescaleFactorIndexTech(const boost::uint16_t &gtPrescaleFactorIndexTechValue)
Definition: L1GtFdlWord.h:255
void setFinalOR(const boost::uint16_t &finalORValue)
Definition: L1GtFdlWord.h:313

Member Data Documentation

const int L1GtFdlWord::BlockSize = 7
staticprivate

Definition at line 418 of file L1GtFdlWord.h.

Referenced by getSize(), and unpack().

const boost::uint64_t L1GtFdlWord::BoardIdMask = 0xFFFF000000000000ULL
staticprivate

Definition at line 429 of file L1GtFdlWord.h.

Referenced by setBoardId().

const int L1GtFdlWord::BoardIdShift = 48
staticprivate

Definition at line 435 of file L1GtFdlWord.h.

Referenced by setBoardId(), and setBoardIdWord64().

const int L1GtFdlWord::BoardIdWord = 0
staticprivate

Definition at line 423 of file L1GtFdlWord.h.

Referenced by setBoardIdWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::BxInEventMask = 0x0000F00000000000ULL
staticprivate

Definition at line 430 of file L1GtFdlWord.h.

Referenced by setBxInEvent().

const int L1GtFdlWord::BxInEventShift = 44
staticprivate

Definition at line 436 of file L1GtFdlWord.h.

Referenced by setBxInEvent(), and setBxInEventWord64().

const int L1GtFdlWord::BxInEventWord = 0
staticprivate

Definition at line 424 of file L1GtFdlWord.h.

Referenced by setBxInEventWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::BxNrMask = 0x00000FFF00000000ULL
staticprivate

Definition at line 431 of file L1GtFdlWord.h.

Referenced by setBxNr().

const int L1GtFdlWord::BxNrShift = 32
staticprivate

Definition at line 437 of file L1GtFdlWord.h.

Referenced by setBxNr(), and setBxNrWord64().

const int L1GtFdlWord::BxNrWord = 0
staticprivate

Definition at line 425 of file L1GtFdlWord.h.

Referenced by setBxNrWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::EventNrMask = 0x0000000000FFFFFFULL
staticprivate

Definition at line 432 of file L1GtFdlWord.h.

Referenced by setEventNr().

const int L1GtFdlWord::EventNrShift = 0
staticprivate

Definition at line 438 of file L1GtFdlWord.h.

Referenced by setEventNr(), and setEventNrWord64().

const int L1GtFdlWord::EventNrWord = 0
staticprivate

Definition at line 426 of file L1GtFdlWord.h.

Referenced by setEventNrWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::FinalORMask = 0x00000000000000FFULL
staticprivate

Definition at line 475 of file L1GtFdlWord.h.

Referenced by setFinalOR().

const int L1GtFdlWord::FinalORShift = 0
staticprivate

Definition at line 481 of file L1GtFdlWord.h.

Referenced by setFinalOR(), and setFinalORWord64().

const int L1GtFdlWord::FinalORWord = 5
staticprivate

Definition at line 469 of file L1GtFdlWord.h.

Referenced by setFinalORWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::GtDecisionWordAMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 449 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordA().

const int L1GtFdlWord::GtDecisionWordAShift = 0
staticprivate

Definition at line 450 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordA(), and setGtDecisionWordAWord64().

const int L1GtFdlWord::GtDecisionWordAWord = 2
staticprivate

Definition at line 448 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordAWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::GtDecisionWordBMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 455 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordB().

const int L1GtFdlWord::GtDecisionWordBShift = 0
staticprivate

Definition at line 456 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordB(), and setGtDecisionWordBWord64().

const int L1GtFdlWord::GtDecisionWordBWord = 3
staticprivate

Definition at line 454 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordBWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::GtDecisionWordExtendedMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 461 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtended().

const int L1GtFdlWord::GtDecisionWordExtendedShift = 0
staticprivate

Definition at line 462 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtended(), and setGtDecisionWordExtendedWord64().

const int L1GtFdlWord::GtDecisionWordExtendedWord = 4
staticprivate

Definition at line 460 of file L1GtFdlWord.h.

Referenced by setGtDecisionWordExtendedWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::GtPrescaleFactorIndexAlgoMask = 0x000000FF00000000ULL
staticprivate

Definition at line 473 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexAlgo().

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

Definition at line 467 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexAlgoWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::GtPrescaleFactorIndexTechMask = 0x00FF000000000000ULL
staticprivate

Definition at line 472 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexTech().

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

Definition at line 466 of file L1GtFdlWord.h.

Referenced by setGtPrescaleFactorIndexTechWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::GtTechnicalTriggerWordMask = 0xFFFFFFFFFFFFFFFFULL
staticprivate

Definition at line 443 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWord().

const int L1GtFdlWord::GtTechnicalTriggerWordShift = 0
staticprivate

Definition at line 444 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWord(), and setGtTechnicalTriggerWordWord64().

const int L1GtFdlWord::GtTechnicalTriggerWordWord = 1
staticprivate

Definition at line 442 of file L1GtFdlWord.h.

Referenced by setGtTechnicalTriggerWordWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::LocalBxNrMask = 0x0000000000000FFFULL
staticprivate

Definition at line 490 of file L1GtFdlWord.h.

Referenced by setLocalBxNr().

const int L1GtFdlWord::LocalBxNrShift = 0
staticprivate

Definition at line 494 of file L1GtFdlWord.h.

Referenced by setLocalBxNr(), and setLocalBxNrWord64().

const int L1GtFdlWord::LocalBxNrWord = 6
staticprivate

Definition at line 486 of file L1GtFdlWord.h.

Referenced by setLocalBxNrWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::LumiSegmentNrMask = 0x00000000FFFF0000ULL
staticprivate

Definition at line 489 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNr().

const int L1GtFdlWord::LumiSegmentNrShift = 16
staticprivate

Definition at line 493 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNr(), and setLumiSegmentNrWord64().

const int L1GtFdlWord::LumiSegmentNrWord = 6
staticprivate

Definition at line 485 of file L1GtFdlWord.h.

Referenced by setLumiSegmentNrWord64(), and unpack().

boost::uint16_t L1GtFdlWord::m_boardId
private

board identifier

Definition at line 500 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 503 of file L1GtFdlWord.h.

Referenced by bxInEvent(), L1GtFdlWord(), operator==(), print(), reset(), setBxInEvent(), and setBxInEventWord64().

boost::uint16_t L1GtFdlWord::m_bxNr
private

bunch cross number of the actual bx

Definition at line 506 of file L1GtFdlWord.h.

Referenced by bxNr(), L1GtFdlWord(), operator==(), print(), reset(), setBxNr(), and setBxNrWord64().

boost::uint32_t L1GtFdlWord::m_eventNr
private

event number since last L1 reset generated in FDL

Definition at line 509 of file L1GtFdlWord.h.

Referenced by eventNr(), L1GtFdlWord(), operator==(), print(), reset(), setEventNr(), and setEventNrWord64().

boost::uint16_t L1GtFdlWord::m_finalOR
private

FINOR (7:0) Final OR bits. FINOR(i) is connected to Partition (i);

Definition at line 536 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
boost::uint16_t L1GtFdlWord::m_gtPrescaleFactorIndexAlgo
private
boost::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 528 of file L1GtFdlWord.h.

Referenced by gtPrescaleFactorIndexTech(), L1GtFdlWord(), operator==(), print(), reset(), setGtPrescaleFactorIndexTech(), and setGtPrescaleFactorIndexTechWord64().

TechnicalTriggerWord L1GtFdlWord::m_gtTechnicalTriggerWord
private
boost::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 548 of file L1GtFdlWord.h.

Referenced by L1GtFdlWord(), localBxNr(), operator==(), print(), reset(), setLocalBxNr(), and setLocalBxNrWord64().

boost::uint16_t L1GtFdlWord::m_lumiSegmentNr
private

luminosity segment number

Definition at line 544 of file L1GtFdlWord.h.

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

boost::uint16_t L1GtFdlWord::m_noAlgo
private

true if no algorithm (from a defined group - default all) triggered

Definition at line 532 of file L1GtFdlWord.h.

Referenced by L1GtFdlWord(), noAlgo(), operator==(), print(), reset(), setNoAlgo(), and setNoAlgoWord64().

boost::uint32_t L1GtFdlWord::m_orbitNr
private

orbit number

Definition at line 541 of file L1GtFdlWord.h.

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

boost::uint16_t L1GtFdlWord::m_physicsDeclared
private

set to true when physics declared

Definition at line 524 of file L1GtFdlWord.h.

Referenced by L1GtFdlWord(), operator==(), physicsDeclared(), print(), reset(), setPhysicsDeclared(), and setPhysicsDeclaredWord64().

const boost::uint64_t L1GtFdlWord::NoAlgoMask = 0x0000000000000100ULL
staticprivate

Definition at line 474 of file L1GtFdlWord.h.

Referenced by setNoAlgo().

const int L1GtFdlWord::NoAlgoShift = 8
staticprivate

Definition at line 480 of file L1GtFdlWord.h.

Referenced by setNoAlgo(), and setNoAlgoWord64().

const int L1GtFdlWord::NoAlgoWord = 5
staticprivate

Definition at line 468 of file L1GtFdlWord.h.

Referenced by setNoAlgoWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::OrbitNrMask = 0xFFFFFFFF00000000ULL
staticprivate

Definition at line 488 of file L1GtFdlWord.h.

Referenced by setOrbitNr().

const int L1GtFdlWord::OrbitNrShift = 32
staticprivate

Definition at line 492 of file L1GtFdlWord.h.

Referenced by setOrbitNr(), and setOrbitNrWord64().

const int L1GtFdlWord::OrbitNrWord = 6
staticprivate

Definition at line 484 of file L1GtFdlWord.h.

Referenced by setOrbitNrWord64(), and unpack().

const boost::uint64_t L1GtFdlWord::PhysicsDeclaredMask = 0x8000000000000000ULL
staticprivate

Definition at line 471 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclared().

const int L1GtFdlWord::PhysicsDeclaredShift = 63
staticprivate

Definition at line 477 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclared(), and setPhysicsDeclaredWord64().

const int L1GtFdlWord::PhysicsDeclaredWord = 5
staticprivate

Definition at line 465 of file L1GtFdlWord.h.

Referenced by setPhysicsDeclaredWord64(), and unpack().