CMS 3D CMS Logo

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

#include <L1TcsWord.h>

Public Member Functions

const cms_uint32_t assignedPartitions () const
 get/set assigned partition: bit "i" correspond to detector partition "i" More...
 
const cms_uint16_t boardId () const
 get/set board ID More...
 
const cms_uint16_t bxNr () const
 get/set bunch cross number as counted in the TCS chip More...
 
const cms_uint16_t daqNr () const
 get/set number of DAQ partition to which the L1A has been sent More...
 
const cms_uint32_t eventNr () const
 get/set event number since last L1 reset generated in TCS chip More...
 
const unsigned int getSize () const
 get the size of the TCS block in GT EVM record (in multiple of 8 bits) More...
 
 L1TcsWord ()
 constructors More...
 
 L1TcsWord (cms_uint16_t boardIdValue, cms_uint16_t bxNrValue, cms_uint16_t daqNrValue, cms_uint16_t triggerTypeValue, cms_uint16_t statusValue, cms_uint16_t luminositySegmentNrValue, cms_uint32_t partRunNrValue, cms_uint32_t assignedPartitionsValue, cms_uint32_t partTrigNrValue, cms_uint32_t eventNrValue, cms_uint64_t orbitNrValue)
 constructor from unpacked values; More...
 
const cms_uint16_t luminositySegmentNr () const
 get/set luminosity segment number More...
 
bool operator!= (const L1TcsWord &) const
 unequal operator More...
 
bool operator== (const L1TcsWord &) const
 equal operator More...
 
const cms_uint64_t orbitNr () const
 get/set orbit number since start of run More...
 
const cms_uint32_t partRunNr () const
 get/set partition run number More...
 
const cms_uint32_t partTrigNr () const
 get/set total number of L1A sent since start of the run to this DAQ partition More...
 
void print (std::ostream &myCout) const
 pretty print the content of a L1TcsWord More...
 
void reset ()
 reset the content of a L1TcsWord More...
 
void setAssignedPartitions (const cms_uint32_t assignedPartitionsValue)
 
void setAssignedPartitions (const cms_uint64_t &word64)
 set the AssignedPartitions value from a 64-bits word More...
 
void setAssignedPartitionsWord64 (cms_uint64_t &word64, int iWord)
 
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, 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, int iWord)
 
void setDaqNr (const cms_uint16_t daqNrValue)
 
void setDaqNr (const cms_uint64_t &word64)
 set the DaqNr value from a 64-bits word More...
 
void setDaqNrWord64 (cms_uint64_t &word64, 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, int iWord)
 
void setLuminositySegmentNr (const cms_uint16_t luminositySegmentNrValue)
 
void setLuminositySegmentNr (const cms_uint64_t &word64)
 set the luminosity segment number value from a 64-bits word More...
 
void setLuminositySegmentNrWord64 (cms_uint64_t &word64, int iWord)
 
void setOrbitNr (const cms_uint64_t orbitNrValue)
 
void setOrbitNrFrom (const cms_uint64_t &word64)
 set the OrbitNr value from a 64-bits word More...
 
void setOrbitNrWord64 (cms_uint64_t &word64, int iWord)
 
void setPartRunNr (const cms_uint32_t partRunNrValue)
 
void setPartRunNr (const cms_uint64_t &word64)
 set the PartRunNr value from a 64-bits word More...
 
void setPartRunNrWord64 (cms_uint64_t &word64, int iWord)
 
void setPartTrigNr (const cms_uint32_t partTrigNrValue)
 
void setPartTrigNr (const cms_uint64_t &word64)
 set the PartTrigNr value from a 64-bits word More...
 
void setPartTrigNrWord64 (cms_uint64_t &word64, int iWord)
 
void setStatus (const cms_uint16_t statusValue)
 
void setStatus (const cms_uint64_t &word64)
 set the Status value from a 64-bits word More...
 
void setStatusWord64 (cms_uint64_t &word64, int iWord)
 
void setTriggerType (const cms_uint16_t triggerTypeValue)
 
void setTriggerType (const cms_uint64_t &word64)
 set the TriggerType value from a 64-bits word More...
 
void setTriggerTypeWord64 (cms_uint64_t &word64, int iWord)
 
const cms_uint16_t status () const
 get/set status: 0000 = normal rate; 1000 = low rate = warning More...
 
const cms_uint16_t triggerType () const
 get/set trigger type, identical with event type in CMS header More...
 
void unpack (const unsigned char *tcsPtr)
 
virtual ~L1TcsWord ()
 destructor More...
 

Private Attributes

cms_uint32_t m_assignedPartitions
 
cms_uint16_t m_boardId
 board identifier More...
 
cms_uint16_t m_bxNr
 bunch cross number as counted in the TCS chip More...
 
cms_uint16_t m_daqNr
 number of DAQ partition to which the L1A has been sent More...
 
cms_uint32_t m_eventNr
 event number since last L1 reset generated in TCS chip More...
 
cms_uint16_t m_luminositySegmentNr
 luminosity segment number More...
 
cms_uint64_t m_orbitNr
 orbit number since start of run (48 bits, in fact) More...
 
cms_uint32_t m_partRunNr
 partition run number More...
 
cms_uint32_t m_partTrigNr
 
cms_uint16_t m_status
 0000 = normal rate; 1000 = low rate = warning More...
 
cms_uint16_t m_triggerType
 trigger type, identical with event type in CMS header (event type) More...
 

Static Private Attributes

static const cms_uint64_t AssignedPartitionsMask = 0x00000000FFFFFFFFULL
 
static const int AssignedPartitionsShift = 0
 
static const int AssignedPartitionsWord = 1
 
static const int BlockSize = 5
 
static const cms_uint64_t BoardIdMask = 0xFFFF000000000000ULL
 
static const int BoardIdShift = 48
 
static const int BoardIdWord = 0
 
static const cms_uint64_t BxNrMask = 0x00000FFF00000000ULL
 
static const int BxNrShift = 32
 
static const int BxNrWord = 0
 
static const cms_uint64_t DaqNrMask = 0x000000000F000000ULL
 
static const int DaqNrShift = 24
 
static const int DaqNrWord = 0
 
static const cms_uint64_t EventNrMask = 0x00000000FFFFFFFFULL
 
static const int EventNrShift = 0
 
static const int EventNrWord = 2
 
static const cms_uint64_t LuminositySegmentNrMask = 0x000000000000FFFFULL
 
static const int LuminositySegmentNrShift = 0
 
static const int LuminositySegmentNrWord = 0
 
static const cms_uint64_t OrbitNrMask = 0x0000FFFFFFFFFFFFULL
 
static const int OrbitNrShift = 0
 
static const int OrbitNrWord = 3
 
static const cms_uint64_t PartRunNrMask = 0xFFFFFFFF00000000ULL
 
static const int PartRunNrShift = 32
 
static const int PartRunNrWord = 1
 
static const cms_uint64_t PartTrigNrMask = 0xFFFFFFFF00000000ULL
 
static const int PartTrigNrShift = 32
 
static const int PartTrigNrWord = 2
 
static const cms_uint64_t StatusMask = 0x00000000000F0000ULL
 
static const int StatusShift = 16
 
static const int StatusWord = 0
 
static const cms_uint64_t TriggerTypeMask = 0x0000000000F00000ULL
 
static const int TriggerTypeShift = 20
 
static const int TriggerTypeWord = 0
 

Detailed Description

Description: L1 Global Trigger - TCS words 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 L1TcsWord.h.

Constructor & Destructor Documentation

◆ L1TcsWord() [1/2]

L1TcsWord::L1TcsWord ( )

constructors

Definition at line 30 of file L1TcsWord.cc.

30  {
31  m_boardId = 0;
32  m_bxNr = 0;
33  m_daqNr = 0;
34  m_triggerType = 0;
35  m_status = 0;
37  m_partRunNr = 0;
39  m_partTrigNr = 0;
40  m_eventNr = 0;
41  m_orbitNr = 0;
42 }

References m_assignedPartitions, m_boardId, m_bxNr, m_daqNr, m_eventNr, m_luminositySegmentNr, m_orbitNr, m_partRunNr, m_partTrigNr, m_status, and m_triggerType.

◆ L1TcsWord() [2/2]

L1TcsWord::L1TcsWord ( cms_uint16_t  boardIdValue,
cms_uint16_t  bxNrValue,
cms_uint16_t  daqNrValue,
cms_uint16_t  triggerTypeValue,
cms_uint16_t  statusValue,
cms_uint16_t  luminositySegmentNrValue,
cms_uint32_t  partRunNrValue,
cms_uint32_t  assignedPartitionsValue,
cms_uint32_t  partTrigNrValue,
cms_uint32_t  eventNrValue,
cms_uint64_t  orbitNrValue 
)

constructor from unpacked values;

Definition at line 45 of file L1TcsWord.cc.

55  {
56  m_boardId = boardIdValue;
57  m_bxNr = bxNrValue;
58  m_daqNr = daqNrValue;
59  m_triggerType = triggerTypeValue;
60  m_status = statusValue;
61  m_luminositySegmentNr = luminositySegmentNrValue;
62  m_partRunNr = partRunNrValue;
63  m_assignedPartitions = assignedPartitionsValue;
64  m_partTrigNr = partTrigNrValue;
65  m_eventNr = eventNrValue;
66  m_orbitNr = orbitNrValue;
67 }

References m_assignedPartitions, m_boardId, m_bxNr, m_daqNr, m_eventNr, m_luminositySegmentNr, m_orbitNr, m_partRunNr, m_partTrigNr, m_status, and m_triggerType.

◆ ~L1TcsWord()

L1TcsWord::~L1TcsWord ( )
virtual

destructor

Definition at line 70 of file L1TcsWord.cc.

70  {
71  // empty
72 }

Member Function Documentation

◆ assignedPartitions()

const cms_uint32_t L1TcsWord::assignedPartitions ( ) const
inline

get/set assigned partition: bit "i" correspond to detector partition "i"

Definition at line 147 of file L1TcsWord.h.

147 { return m_assignedPartitions; }

References m_assignedPartitions.

◆ boardId()

const cms_uint16_t L1TcsWord::boardId ( ) const
inline

get/set board ID

get BoardId value

Definition at line 60 of file L1TcsWord.h.

60 { return m_boardId; }

References m_boardId.

◆ bxNr()

const cms_uint16_t L1TcsWord::bxNr ( ) const
inline

get/set bunch cross number as counted in the TCS chip

Definition at line 73 of file L1TcsWord.h.

73 { return m_bxNr; }

References m_bxNr.

Referenced by L1TGT::analyze().

◆ daqNr()

const cms_uint16_t L1TcsWord::daqNr ( ) const
inline

get/set number of DAQ partition to which the L1A has been sent

Definition at line 85 of file L1TcsWord.h.

85 { return m_daqNr; }

References m_daqNr.

◆ eventNr()

const cms_uint32_t L1TcsWord::eventNr ( ) const
inline

get/set event number since last L1 reset generated in TCS chip

Definition at line 173 of file L1TcsWord.h.

173 { return m_eventNr; }

References m_eventNr.

Referenced by L1TGT::analyze().

◆ getSize()

const unsigned int L1TcsWord::getSize ( ) const
inline

get the size of the TCS block in GT EVM record (in multiple of 8 bits)

Definition at line 197 of file L1TcsWord.h.

197  {
198  int unitLengthBits = L1GlobalTriggerReadoutSetup::UnitLength;
199 
200  return BlockSize * unitLengthBits;
201  }

References BlockSize, and L1GlobalTriggerReadoutSetup::UnitLength.

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

◆ luminositySegmentNr()

const cms_uint16_t L1TcsWord::luminositySegmentNr ( ) const
inline

get/set luminosity segment number

Definition at line 121 of file L1TcsWord.h.

121 { return m_luminositySegmentNr; }

References m_luminositySegmentNr.

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

◆ operator!=()

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

unequal operator

Definition at line 125 of file L1TcsWord.cc.

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

References mps_fire::result.

◆ operator==()

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

equal operator

Definition at line 75 of file L1TcsWord.cc.

75  {
76  if (m_boardId != result.m_boardId) {
77  return false;
78  }
79 
80  if (m_bxNr != result.m_bxNr) {
81  return false;
82  }
83 
84  if (m_daqNr != result.m_daqNr) {
85  return false;
86  }
87 
88  if (m_triggerType != result.m_triggerType) {
89  return false;
90  }
91 
92  if (m_status != result.m_status) {
93  return false;
94  }
95 
96  if (m_luminositySegmentNr != result.m_luminositySegmentNr) {
97  return false;
98  }
99 
100  if (m_partRunNr != result.m_partRunNr) {
101  return false;
102  }
103 
104  if (m_assignedPartitions != result.m_assignedPartitions) {
105  return false;
106  }
107 
108  if (m_partTrigNr != result.m_partTrigNr) {
109  return false;
110  }
111 
112  if (m_eventNr != result.m_eventNr) {
113  return false;
114  }
115 
116  if (m_orbitNr != result.m_orbitNr) {
117  return false;
118  }
119 
120  // all members identical
121  return true;
122 }

References m_assignedPartitions, m_boardId, m_bxNr, m_daqNr, m_eventNr, m_luminositySegmentNr, m_orbitNr, m_partRunNr, m_partTrigNr, m_status, m_triggerType, and mps_fire::result.

◆ orbitNr()

const cms_uint64_t L1TcsWord::orbitNr ( ) const
inline

get/set orbit number since start of run

Definition at line 185 of file L1TcsWord.h.

185 { return m_orbitNr; }

References m_orbitNr.

Referenced by L1TGT::analyze().

◆ partRunNr()

const cms_uint32_t L1TcsWord::partRunNr ( ) const
inline

get/set partition run number

Definition at line 135 of file L1TcsWord.h.

135 { return m_partRunNr; }

References m_partRunNr.

◆ partTrigNr()

const cms_uint32_t L1TcsWord::partTrigNr ( ) const
inline

get/set total number of L1A sent since start of the run to this DAQ partition

Definition at line 161 of file L1TcsWord.h.

161 { return m_partTrigNr; }

References m_partTrigNr.

Referenced by L1TGT::analyze(), and L1Analysis::L1AnalysisGT::SetEvm().

◆ print()

void L1TcsWord::print ( std::ostream &  myCout) const

pretty print the content of a L1TcsWord

Definition at line 274 of file L1TcsWord.cc.

274  {
275  myCout << "\n L1TcsWord::print \n" << std::endl;
276 
277  int iWord = 0;
278 
279  myCout << "\n Word " << iWord << std::endl;
280 
281  myCout << " Board Id: " << std::hex << " hex: "
282  << " " << std::setw(4) << std::setfill('0') << m_boardId << std::setfill(' ') << std::dec
283  << " dec: " << m_boardId << std::endl;
284 
285  myCout << " BxNr: " << std::hex << " hex: "
286  << " " << std::setw(3) << std::setfill('0') << m_bxNr << std::setfill(' ') << std::dec
287  << " dec: " << m_bxNr << std::endl;
288 
289  myCout << " DaqNr: " << std::hex << " hex: "
290  << " " << std::setw(1) << m_daqNr << std::dec << " dec: " << m_daqNr << std::endl;
291 
292  myCout << " TriggerType: " << std::hex << " hex: "
293  << " " << std::setw(1) << m_triggerType << std::dec << " dec: " << m_triggerType << std::endl;
294 
295  myCout << " Status: " << std::hex << " hex: "
296  << " " << std::setw(1) << m_status << std::dec << " dec: " << m_status << std::endl;
297 
298  myCout << " LuminositySegmentNr: " << std::hex << " hex: "
299  << " " << std::setw(4) << m_luminositySegmentNr << std::dec << " dec: " << m_luminositySegmentNr
300  << std::endl;
301 
302  iWord++;
303  myCout << "\n Word " << iWord << std::endl;
304 
305  myCout << " PartRunNr: " << std::hex << " hex: "
306  << " " << std::setw(8) << std::setfill('0') << m_partRunNr << std::setfill(' ') << std::dec
307  << " dec: " << m_partRunNr << std::endl;
308 
309  myCout << " AssignedPartitions: " << std::hex << " hex: "
310  << " " << std::setw(8) << std::setfill('0') << m_assignedPartitions << std::setfill(' ') << std::dec
311  << " dec: " << m_assignedPartitions << std::endl;
312 
313  iWord++;
314  myCout << "\n Word " << iWord << std::endl;
315 
316  myCout << " PartTrigNr: " << std::hex << " hex: "
317  << " " << std::setw(8) << std::setfill('0') << m_partTrigNr << std::setfill(' ') << std::dec
318  << " dec: " << m_partTrigNr << std::endl;
319 
320  myCout << " EventNr: " << std::hex << " hex: "
321  << " " << std::setw(8) << std::setfill('0') << m_eventNr << std::setfill(' ') << std::dec
322  << " dec: " << m_eventNr << std::endl;
323 
324  iWord++;
325  myCout << "\n Word " << iWord << std::endl;
326 
327  myCout << " OrbitNr: " << std::hex << " hex: "
328  << "" << std::setw(12) << std::setfill('0') << m_orbitNr << std::setfill(' ') << std::dec
329  << " dec: " << m_orbitNr << std::endl;
330 
331  iWord++;
332  myCout << "\n Word " << iWord << std::endl;
333 
334  myCout << " Empty word " << std::endl;
335 }

References TauDecayModes::dec, m_assignedPartitions, m_boardId, m_bxNr, m_daqNr, m_eventNr, m_luminositySegmentNr, m_orbitNr, m_partRunNr, m_partTrigNr, m_status, and m_triggerType.

Referenced by L1GlobalTriggerEvmReadoutRecord::print(), L1GTEvmDigiToRaw::produce(), and L1GlobalTriggerEvmRawToDigi::produce().

◆ reset()

void L1TcsWord::reset ( void  )

reset the content of a L1TcsWord

Definition at line 259 of file L1TcsWord.cc.

259  {
260  m_boardId = 0;
261  m_bxNr = 0;
262  m_daqNr = 0;
263  m_triggerType = 0;
264  m_status = 0;
266  m_partRunNr = 0;
268  m_partTrigNr = 0;
269  m_eventNr = 0;
270  m_orbitNr = 0;
271 }

References m_assignedPartitions, m_boardId, m_bxNr, m_daqNr, m_eventNr, m_luminositySegmentNr, m_orbitNr, m_partRunNr, m_partTrigNr, m_status, and m_triggerType.

Referenced by L1GlobalTriggerEvmRawToDigi::produce().

◆ setAssignedPartitions() [1/2]

void L1TcsWord::setAssignedPartitions ( const cms_uint32_t  assignedPartitionsValue)
inline

Definition at line 149 of file L1TcsWord.h.

149  {
150  m_assignedPartitions = assignedPartitionsValue;
151  }

References m_assignedPartitions.

Referenced by unpack().

◆ setAssignedPartitions() [2/2]

void L1TcsWord::setAssignedPartitions ( const cms_uint64_t word64)

set the AssignedPartitions value from a 64-bits word

Definition at line 211 of file L1TcsWord.cc.

References AssignedPartitionsMask, AssignedPartitionsShift, and m_assignedPartitions.

◆ setAssignedPartitionsWord64()

void L1TcsWord::setAssignedPartitionsWord64 ( cms_uint64_t word64,
int  iWord 
)

set the AssignedPartitions value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 217 of file L1TcsWord.cc.

217  {
218  if (iWord == AssignedPartitionsWord) {
219  word64 = word64 | (static_cast<cms_uint64_t>(m_assignedPartitions) << AssignedPartitionsShift);
220  }
221 }

References AssignedPartitionsShift, AssignedPartitionsWord, and m_assignedPartitions.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setBoardId() [1/2]

void L1TcsWord::setBoardId ( const cms_uint16_t  boardIdValue)
inline

set BoardId from a BoardId value

Definition at line 63 of file L1TcsWord.h.

63 { m_boardId = boardIdValue; }

References m_boardId.

Referenced by L1GlobalTrigger::produce(), and unpack().

◆ setBoardId() [2/2]

void L1TcsWord::setBoardId ( const cms_uint64_t word64)

set the BoardId value from a 64-bits word

Definition at line 130 of file L1TcsWord.cc.

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

References BoardIdMask, BoardIdShift, and m_boardId.

◆ setBoardIdWord64()

void L1TcsWord::setBoardIdWord64 ( cms_uint64_t word64,
int  iWord 
)

set the BoardId value in a 64-bits word, having the index iWord in the GTFE raw record

Definition at line 134 of file L1TcsWord.cc.

134  {
135  if (iWord == BoardIdWord) {
136  word64 = word64 | (static_cast<cms_uint64_t>(m_boardId) << BoardIdShift);
137  }
138 }

References BoardIdShift, BoardIdWord, and m_boardId.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setBxNr() [1/2]

void L1TcsWord::setBxNr ( const cms_uint16_t  bxNrValue)
inline

Definition at line 75 of file L1TcsWord.h.

75 { m_bxNr = bxNrValue; }

References m_bxNr.

Referenced by L1GlobalTrigger::produce(), and unpack().

◆ setBxNr() [2/2]

void L1TcsWord::setBxNr ( const cms_uint64_t word64)

set the BxNr value from a 64-bits word

Definition at line 141 of file L1TcsWord.cc.

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

References BxNrMask, BxNrShift, and m_bxNr.

◆ setBxNrWord64()

void L1TcsWord::setBxNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the BxNr value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 145 of file L1TcsWord.cc.

145  {
146  if (iWord == BxNrWord) {
147  word64 = word64 | (static_cast<cms_uint64_t>(m_bxNr) << BxNrShift);
148  }
149 }

References BxNrShift, BxNrWord, and m_bxNr.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setDaqNr() [1/2]

void L1TcsWord::setDaqNr ( const cms_uint16_t  daqNrValue)
inline

Definition at line 87 of file L1TcsWord.h.

87 { m_daqNr = daqNrValue; }

References m_daqNr.

Referenced by unpack().

◆ setDaqNr() [2/2]

void L1TcsWord::setDaqNr ( const cms_uint64_t word64)

set the DaqNr value from a 64-bits word

Definition at line 152 of file L1TcsWord.cc.

152 { m_daqNr = (word64 & DaqNrMask) >> DaqNrShift; }

References DaqNrMask, DaqNrShift, and m_daqNr.

◆ setDaqNrWord64()

void L1TcsWord::setDaqNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the DaqNr value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 156 of file L1TcsWord.cc.

156  {
157  if (iWord == DaqNrWord) {
158  word64 = word64 | (static_cast<cms_uint64_t>(m_daqNr) << DaqNrShift);
159  }
160 }

References DaqNrShift, DaqNrWord, and m_daqNr.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setEventNr() [1/2]

void L1TcsWord::setEventNr ( const cms_uint32_t  eventNrValue)
inline

Definition at line 175 of file L1TcsWord.h.

175 { m_eventNr = eventNrValue; }

References m_eventNr.

Referenced by L1GlobalTrigger::produce(), and unpack().

◆ setEventNr() [2/2]

void L1TcsWord::setEventNr ( const cms_uint64_t word64)

set the EventNr value from a 64-bits word

Definition at line 237 of file L1TcsWord.cc.

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

References EventNrMask, EventNrShift, and m_eventNr.

◆ setEventNrWord64()

void L1TcsWord::setEventNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the EventNr value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 241 of file L1TcsWord.cc.

241  {
242  if (iWord == EventNrWord) {
243  word64 = word64 | (static_cast<cms_uint64_t>(m_eventNr) << EventNrShift);
244  }
245 }

References EventNrShift, EventNrWord, and m_eventNr.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setLuminositySegmentNr() [1/2]

void L1TcsWord::setLuminositySegmentNr ( const cms_uint16_t  luminositySegmentNrValue)
inline

Definition at line 123 of file L1TcsWord.h.

123  {
124  m_luminositySegmentNr = luminositySegmentNrValue;
125  }

References m_luminositySegmentNr.

Referenced by L1GlobalTriggerEvmRawToDigi::produce(), L1GlobalTrigger::produce(), and unpack().

◆ setLuminositySegmentNr() [2/2]

void L1TcsWord::setLuminositySegmentNr ( const cms_uint64_t word64)

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

Definition at line 187 of file L1TcsWord.cc.

References LuminositySegmentNrMask, LuminositySegmentNrShift, and m_luminositySegmentNr.

◆ setLuminositySegmentNrWord64()

void L1TcsWord::setLuminositySegmentNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the luminosity segment number value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 193 of file L1TcsWord.cc.

193  {
194  if (iWord == LuminositySegmentNrWord) {
195  word64 = word64 | (static_cast<cms_uint64_t>(m_luminositySegmentNr) << LuminositySegmentNrShift);
196  }
197 }

References LuminositySegmentNrShift, LuminositySegmentNrWord, and m_luminositySegmentNr.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setOrbitNr()

void L1TcsWord::setOrbitNr ( const cms_uint64_t  orbitNrValue)
inline

Definition at line 187 of file L1TcsWord.h.

187 { m_orbitNr = orbitNrValue; }

References m_orbitNr.

Referenced by L1GlobalTrigger::produce().

◆ setOrbitNrFrom()

void L1TcsWord::setOrbitNrFrom ( const cms_uint64_t word64)

set the OrbitNr value from a 64-bits word

Definition at line 248 of file L1TcsWord.cc.

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

References m_orbitNr, OrbitNrMask, and OrbitNrShift.

Referenced by unpack().

◆ setOrbitNrWord64()

void L1TcsWord::setOrbitNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the OrbitNr value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 252 of file L1TcsWord.cc.

252  {
253  if (iWord == OrbitNrWord) {
254  word64 = word64 | (static_cast<cms_uint64_t>(m_orbitNr) << OrbitNrShift);
255  }
256 }

References m_orbitNr, OrbitNrShift, and OrbitNrWord.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setPartRunNr() [1/2]

void L1TcsWord::setPartRunNr ( const cms_uint32_t  partRunNrValue)
inline

Definition at line 137 of file L1TcsWord.h.

137 { m_partRunNr = partRunNrValue; }

References m_partRunNr.

Referenced by unpack().

◆ setPartRunNr() [2/2]

void L1TcsWord::setPartRunNr ( const cms_uint64_t word64)

set the PartRunNr value from a 64-bits word

Definition at line 200 of file L1TcsWord.cc.

200 { m_partRunNr = (word64 & PartRunNrMask) >> PartRunNrShift; }

References m_partRunNr, PartRunNrMask, and PartRunNrShift.

◆ setPartRunNrWord64()

void L1TcsWord::setPartRunNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the PartRunNr value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 204 of file L1TcsWord.cc.

204  {
205  if (iWord == PartRunNrWord) {
206  word64 = word64 | (static_cast<cms_uint64_t>(m_partRunNr) << PartRunNrShift);
207  }
208 }

References m_partRunNr, PartRunNrShift, and PartRunNrWord.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setPartTrigNr() [1/2]

void L1TcsWord::setPartTrigNr ( const cms_uint32_t  partTrigNrValue)
inline

Definition at line 163 of file L1TcsWord.h.

163 { m_partTrigNr = partTrigNrValue; }

References m_partTrigNr.

Referenced by unpack().

◆ setPartTrigNr() [2/2]

void L1TcsWord::setPartTrigNr ( const cms_uint64_t word64)

set the PartTrigNr value from a 64-bits word

Definition at line 224 of file L1TcsWord.cc.

224  {
226 }

References m_partTrigNr, PartTrigNrMask, and PartTrigNrShift.

◆ setPartTrigNrWord64()

void L1TcsWord::setPartTrigNrWord64 ( cms_uint64_t word64,
int  iWord 
)

set the PartTrigNr value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 230 of file L1TcsWord.cc.

230  {
231  if (iWord == PartTrigNrWord) {
232  word64 = word64 | (static_cast<cms_uint64_t>(m_partTrigNr) << PartTrigNrShift);
233  }
234 }

References m_partTrigNr, PartTrigNrShift, and PartTrigNrWord.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setStatus() [1/2]

void L1TcsWord::setStatus ( const cms_uint16_t  statusValue)
inline

Definition at line 111 of file L1TcsWord.h.

111 { m_status = statusValue; }

References m_status.

Referenced by unpack().

◆ setStatus() [2/2]

void L1TcsWord::setStatus ( const cms_uint64_t word64)

set the Status value from a 64-bits word

Definition at line 176 of file L1TcsWord.cc.

176 { m_status = (word64 & StatusMask) >> StatusShift; }

References m_status, StatusMask, and StatusShift.

◆ setStatusWord64()

void L1TcsWord::setStatusWord64 ( cms_uint64_t word64,
int  iWord 
)

set the Status value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 180 of file L1TcsWord.cc.

180  {
181  if (iWord == StatusWord) {
182  word64 = word64 | (static_cast<cms_uint64_t>(m_status) << StatusShift);
183  }
184 }

References m_status, StatusShift, and StatusWord.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ setTriggerType() [1/2]

void L1TcsWord::setTriggerType ( const cms_uint16_t  triggerTypeValue)
inline

Definition at line 99 of file L1TcsWord.h.

99 { m_triggerType = triggerTypeValue; }

References m_triggerType.

Referenced by L1GlobalTrigger::produce(), and unpack().

◆ setTriggerType() [2/2]

void L1TcsWord::setTriggerType ( const cms_uint64_t word64)

set the TriggerType value from a 64-bits word

Definition at line 163 of file L1TcsWord.cc.

163  {
165 }

References m_triggerType, TriggerTypeMask, and TriggerTypeShift.

◆ setTriggerTypeWord64()

void L1TcsWord::setTriggerTypeWord64 ( cms_uint64_t word64,
int  iWord 
)

set the TriggerType value in a 64-bits word, having the index iWord in the GTFE EVM raw record

Definition at line 169 of file L1TcsWord.cc.

169  {
170  if (iWord == TriggerTypeWord) {
171  word64 = word64 | (static_cast<cms_uint64_t>(m_triggerType) << TriggerTypeShift);
172  }
173 }

References m_triggerType, TriggerTypeShift, and TriggerTypeWord.

Referenced by L1GTEvmDigiToRaw::packTCS().

◆ status()

const cms_uint16_t L1TcsWord::status ( ) const
inline

get/set status: 0000 = normal rate; 1000 = low rate = warning

Definition at line 109 of file L1TcsWord.h.

109 { return m_status; }

References m_status.

◆ triggerType()

const cms_uint16_t L1TcsWord::triggerType ( ) const
inline

get/set trigger type, identical with event type in CMS header

Definition at line 97 of file L1TcsWord.h.

97 { return m_triggerType; }

References m_triggerType.

Referenced by L1TGT::analyze().

◆ unpack()

void L1TcsWord::unpack ( const unsigned char *  tcsPtr)

unpack TCS tcsPtr pointer to the beginning of the TCS block in the raw data

Definition at line 339 of file L1TcsWord.cc.

339  {
340  LogDebug("L1GtTcsWord") << "\nUnpacking TCS block.\n" << std::endl;
341 
342  const cms_uint64_t* payload = reinterpret_cast<cms_uint64_t const*>(tcsPtr);
343 
350 
353 
356 
358 
359  if (edm::isDebugEnabled()) {
360  for (int iWord = 0; iWord < BlockSize; ++iWord) {
361  LogTrace("L1GtTcsWord") << std::setw(4) << iWord << " " << std::hex << std::setfill('0') << std::setw(16)
362  << payload[iWord] << std::dec << std::setfill(' ') << std::endl;
363  }
364  }
365 }

References AssignedPartitionsWord, BlockSize, BoardIdWord, BxNrWord, DaqNrWord, TauDecayModes::dec, EventNrWord, edm::isDebugEnabled(), LogDebug, LogTrace, LuminositySegmentNrWord, OrbitNrWord, PartRunNrWord, PartTrigNrWord, jets_cff::payload, setAssignedPartitions(), setBoardId(), setBxNr(), setDaqNr(), setEventNr(), setLuminositySegmentNr(), setOrbitNrFrom(), setPartRunNr(), setPartTrigNr(), setStatus(), setTriggerType(), StatusWord, and TriggerTypeWord.

Referenced by L1GlobalTriggerEvmRawToDigi::produce().

Member Data Documentation

◆ AssignedPartitionsMask

const cms_uint64_t L1TcsWord::AssignedPartitionsMask = 0x00000000FFFFFFFFULL
staticprivate

Definition at line 252 of file L1TcsWord.h.

Referenced by setAssignedPartitions().

◆ AssignedPartitionsShift

const int L1TcsWord::AssignedPartitionsShift = 0
staticprivate

Definition at line 255 of file L1TcsWord.h.

Referenced by setAssignedPartitions(), and setAssignedPartitionsWord64().

◆ AssignedPartitionsWord

const int L1TcsWord::AssignedPartitionsWord = 1
staticprivate

Definition at line 249 of file L1TcsWord.h.

Referenced by setAssignedPartitionsWord64(), and unpack().

◆ BlockSize

const int L1TcsWord::BlockSize = 5
staticprivate

Definition at line 218 of file L1TcsWord.h.

Referenced by getSize(), and unpack().

◆ BoardIdMask

const cms_uint64_t L1TcsWord::BoardIdMask = 0xFFFF000000000000ULL
staticprivate

Definition at line 231 of file L1TcsWord.h.

Referenced by setBoardId().

◆ BoardIdShift

const int L1TcsWord::BoardIdShift = 48
staticprivate

Definition at line 239 of file L1TcsWord.h.

Referenced by setBoardId(), and setBoardIdWord64().

◆ BoardIdWord

const int L1TcsWord::BoardIdWord = 0
staticprivate

Definition at line 223 of file L1TcsWord.h.

Referenced by setBoardIdWord64(), and unpack().

◆ BxNrMask

const cms_uint64_t L1TcsWord::BxNrMask = 0x00000FFF00000000ULL
staticprivate

Definition at line 232 of file L1TcsWord.h.

Referenced by setBxNr().

◆ BxNrShift

const int L1TcsWord::BxNrShift = 32
staticprivate

Definition at line 240 of file L1TcsWord.h.

Referenced by setBxNr(), and setBxNrWord64().

◆ BxNrWord

const int L1TcsWord::BxNrWord = 0
staticprivate

Definition at line 224 of file L1TcsWord.h.

Referenced by setBxNrWord64(), and unpack().

◆ DaqNrMask

const cms_uint64_t L1TcsWord::DaqNrMask = 0x000000000F000000ULL
staticprivate

Definition at line 233 of file L1TcsWord.h.

Referenced by setDaqNr().

◆ DaqNrShift

const int L1TcsWord::DaqNrShift = 24
staticprivate

Definition at line 241 of file L1TcsWord.h.

Referenced by setDaqNr(), and setDaqNrWord64().

◆ DaqNrWord

const int L1TcsWord::DaqNrWord = 0
staticprivate

Definition at line 225 of file L1TcsWord.h.

Referenced by setDaqNrWord64(), and unpack().

◆ EventNrMask

const cms_uint64_t L1TcsWord::EventNrMask = 0x00000000FFFFFFFFULL
staticprivate

Definition at line 263 of file L1TcsWord.h.

Referenced by setEventNr().

◆ EventNrShift

const int L1TcsWord::EventNrShift = 0
staticprivate

Definition at line 266 of file L1TcsWord.h.

Referenced by setEventNr(), and setEventNrWord64().

◆ EventNrWord

const int L1TcsWord::EventNrWord = 2
staticprivate

Definition at line 260 of file L1TcsWord.h.

Referenced by setEventNrWord64(), and unpack().

◆ LuminositySegmentNrMask

const cms_uint64_t L1TcsWord::LuminositySegmentNrMask = 0x000000000000FFFFULL
staticprivate

Definition at line 236 of file L1TcsWord.h.

Referenced by setLuminositySegmentNr().

◆ LuminositySegmentNrShift

const int L1TcsWord::LuminositySegmentNrShift = 0
staticprivate

Definition at line 244 of file L1TcsWord.h.

Referenced by setLuminositySegmentNr(), and setLuminositySegmentNrWord64().

◆ LuminositySegmentNrWord

const int L1TcsWord::LuminositySegmentNrWord = 0
staticprivate

Definition at line 228 of file L1TcsWord.h.

Referenced by setLuminositySegmentNrWord64(), and unpack().

◆ m_assignedPartitions

cms_uint32_t L1TcsWord::m_assignedPartitions
private

bit "i" correspond to detector partition "i" if bit = 1, detection partition connected to actual DAQ partition

Definition at line 307 of file L1TcsWord.h.

Referenced by assignedPartitions(), L1TcsWord(), operator==(), print(), reset(), setAssignedPartitions(), and setAssignedPartitionsWord64().

◆ m_boardId

cms_uint16_t L1TcsWord::m_boardId
private

board identifier

Definition at line 282 of file L1TcsWord.h.

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

◆ m_bxNr

cms_uint16_t L1TcsWord::m_bxNr
private

bunch cross number as counted in the TCS chip

Definition at line 285 of file L1TcsWord.h.

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

◆ m_daqNr

cms_uint16_t L1TcsWord::m_daqNr
private

number of DAQ partition to which the L1A has been sent

Definition at line 288 of file L1TcsWord.h.

Referenced by daqNr(), L1TcsWord(), operator==(), print(), reset(), setDaqNr(), and setDaqNrWord64().

◆ m_eventNr

cms_uint32_t L1TcsWord::m_eventNr
private

event number since last L1 reset generated in TCS chip

Definition at line 316 of file L1TcsWord.h.

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

◆ m_luminositySegmentNr

cms_uint16_t L1TcsWord::m_luminositySegmentNr
private

luminosity segment number

Definition at line 297 of file L1TcsWord.h.

Referenced by L1TcsWord(), luminositySegmentNr(), operator==(), print(), reset(), setLuminositySegmentNr(), and setLuminositySegmentNrWord64().

◆ m_orbitNr

cms_uint64_t L1TcsWord::m_orbitNr
private

orbit number since start of run (48 bits, in fact)

Definition at line 321 of file L1TcsWord.h.

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

◆ m_partRunNr

cms_uint32_t L1TcsWord::m_partRunNr
private

partition run number

Definition at line 302 of file L1TcsWord.h.

Referenced by L1TcsWord(), operator==(), partRunNr(), print(), reset(), setPartRunNr(), and setPartRunNrWord64().

◆ m_partTrigNr

cms_uint32_t L1TcsWord::m_partTrigNr
private

total number of L1A sent since start of the run to this DAQ partition

Definition at line 313 of file L1TcsWord.h.

Referenced by L1TcsWord(), operator==(), partTrigNr(), print(), reset(), setPartTrigNr(), and setPartTrigNrWord64().

◆ m_status

cms_uint16_t L1TcsWord::m_status
private

0000 = normal rate; 1000 = low rate = warning

Definition at line 294 of file L1TcsWord.h.

Referenced by L1TcsWord(), operator==(), print(), reset(), setStatus(), setStatusWord64(), and status().

◆ m_triggerType

cms_uint16_t L1TcsWord::m_triggerType
private

trigger type, identical with event type in CMS header (event type)

Definition at line 291 of file L1TcsWord.h.

Referenced by L1TcsWord(), operator==(), print(), reset(), setTriggerType(), setTriggerTypeWord64(), and triggerType().

◆ OrbitNrMask

const cms_uint64_t L1TcsWord::OrbitNrMask = 0x0000FFFFFFFFFFFFULL
staticprivate

Definition at line 272 of file L1TcsWord.h.

Referenced by setOrbitNrFrom().

◆ OrbitNrShift

const int L1TcsWord::OrbitNrShift = 0
staticprivate

Definition at line 274 of file L1TcsWord.h.

Referenced by setOrbitNrFrom(), and setOrbitNrWord64().

◆ OrbitNrWord

const int L1TcsWord::OrbitNrWord = 3
staticprivate

Definition at line 270 of file L1TcsWord.h.

Referenced by setOrbitNrWord64(), and unpack().

◆ PartRunNrMask

const cms_uint64_t L1TcsWord::PartRunNrMask = 0xFFFFFFFF00000000ULL
staticprivate

Definition at line 251 of file L1TcsWord.h.

Referenced by setPartRunNr().

◆ PartRunNrShift

const int L1TcsWord::PartRunNrShift = 32
staticprivate

Definition at line 254 of file L1TcsWord.h.

Referenced by setPartRunNr(), and setPartRunNrWord64().

◆ PartRunNrWord

const int L1TcsWord::PartRunNrWord = 1
staticprivate

Definition at line 248 of file L1TcsWord.h.

Referenced by setPartRunNrWord64(), and unpack().

◆ PartTrigNrMask

const cms_uint64_t L1TcsWord::PartTrigNrMask = 0xFFFFFFFF00000000ULL
staticprivate

Definition at line 262 of file L1TcsWord.h.

Referenced by setPartTrigNr().

◆ PartTrigNrShift

const int L1TcsWord::PartTrigNrShift = 32
staticprivate

Definition at line 265 of file L1TcsWord.h.

Referenced by setPartTrigNr(), and setPartTrigNrWord64().

◆ PartTrigNrWord

const int L1TcsWord::PartTrigNrWord = 2
staticprivate

Definition at line 259 of file L1TcsWord.h.

Referenced by setPartTrigNrWord64(), and unpack().

◆ StatusMask

const cms_uint64_t L1TcsWord::StatusMask = 0x00000000000F0000ULL
staticprivate

Definition at line 235 of file L1TcsWord.h.

Referenced by setStatus().

◆ StatusShift

const int L1TcsWord::StatusShift = 16
staticprivate

Definition at line 243 of file L1TcsWord.h.

Referenced by setStatus(), and setStatusWord64().

◆ StatusWord

const int L1TcsWord::StatusWord = 0
staticprivate

Definition at line 227 of file L1TcsWord.h.

Referenced by setStatusWord64(), and unpack().

◆ TriggerTypeMask

const cms_uint64_t L1TcsWord::TriggerTypeMask = 0x0000000000F00000ULL
staticprivate

Definition at line 234 of file L1TcsWord.h.

Referenced by setTriggerType().

◆ TriggerTypeShift

const int L1TcsWord::TriggerTypeShift = 20
staticprivate

Definition at line 242 of file L1TcsWord.h.

Referenced by setTriggerType(), and setTriggerTypeWord64().

◆ TriggerTypeWord

const int L1TcsWord::TriggerTypeWord = 0
staticprivate

Definition at line 226 of file L1TcsWord.h.

Referenced by setTriggerTypeWord64(), and unpack().

L1TcsWord::setAssignedPartitions
void setAssignedPartitions(const cms_uint32_t assignedPartitionsValue)
Definition: L1TcsWord.h:149
L1GlobalTriggerReadoutSetup::UnitLength
static const int UnitLength
one unit in the word is UnitLength bits
Definition: L1GlobalTriggerReadoutSetup.h:56
L1TcsWord::m_orbitNr
cms_uint64_t m_orbitNr
orbit number since start of run (48 bits, in fact)
Definition: L1TcsWord.h:321
L1TcsWord::m_luminositySegmentNr
cms_uint16_t m_luminositySegmentNr
luminosity segment number
Definition: L1TcsWord.h:297
L1TcsWord::OrbitNrMask
static const cms_uint64_t OrbitNrMask
Definition: L1TcsWord.h:272
L1TcsWord::StatusMask
static const cms_uint64_t StatusMask
Definition: L1TcsWord.h:235
L1TcsWord::setLuminositySegmentNr
void setLuminositySegmentNr(const cms_uint16_t luminositySegmentNrValue)
Definition: L1TcsWord.h:123
L1TcsWord::m_partTrigNr
cms_uint32_t m_partTrigNr
Definition: L1TcsWord.h:313
L1TcsWord::LuminositySegmentNrMask
static const cms_uint64_t LuminositySegmentNrMask
Definition: L1TcsWord.h:236
L1TcsWord::setOrbitNrFrom
void setOrbitNrFrom(const cms_uint64_t &word64)
set the OrbitNr value from a 64-bits word
Definition: L1TcsWord.cc:248
L1TcsWord::m_triggerType
cms_uint16_t m_triggerType
trigger type, identical with event type in CMS header (event type)
Definition: L1TcsWord.h:291
L1TcsWord::m_status
cms_uint16_t m_status
0000 = normal rate; 1000 = low rate = warning
Definition: L1TcsWord.h:294
L1TcsWord::setPartTrigNr
void setPartTrigNr(const cms_uint32_t partTrigNrValue)
Definition: L1TcsWord.h:163
L1TcsWord::DaqNrMask
static const cms_uint64_t DaqNrMask
Definition: L1TcsWord.h:233
L1TcsWord::m_partRunNr
cms_uint32_t m_partRunNr
partition run number
Definition: L1TcsWord.h:302
L1TcsWord::DaqNrShift
static const int DaqNrShift
Definition: L1TcsWord.h:241
L1TcsWord::OrbitNrShift
static const int OrbitNrShift
Definition: L1TcsWord.h:274
L1TcsWord::setStatus
void setStatus(const cms_uint16_t statusValue)
Definition: L1TcsWord.h:111
L1TcsWord::setTriggerType
void setTriggerType(const cms_uint16_t triggerTypeValue)
Definition: L1TcsWord.h:99
L1TcsWord::m_bxNr
cms_uint16_t m_bxNr
bunch cross number as counted in the TCS chip
Definition: L1TcsWord.h:285
L1TcsWord::BoardIdMask
static const cms_uint64_t BoardIdMask
Definition: L1TcsWord.h:231
L1TcsWord::BxNrWord
static const int BxNrWord
Definition: L1TcsWord.h:224
L1TcsWord::StatusShift
static const int StatusShift
Definition: L1TcsWord.h:243
L1TcsWord::TriggerTypeMask
static const cms_uint64_t TriggerTypeMask
Definition: L1TcsWord.h:234
jets_cff.payload
payload
Definition: jets_cff.py:32
L1TcsWord::PartTrigNrMask
static const cms_uint64_t PartTrigNrMask
Definition: L1TcsWord.h:262
L1TcsWord::m_assignedPartitions
cms_uint32_t m_assignedPartitions
Definition: L1TcsWord.h:307
L1TcsWord::StatusWord
static const int StatusWord
Definition: L1TcsWord.h:227
L1TcsWord::AssignedPartitionsWord
static const int AssignedPartitionsWord
Definition: L1TcsWord.h:249
L1TcsWord::PartTrigNrShift
static const int PartTrigNrShift
Definition: L1TcsWord.h:265
L1TcsWord::LuminositySegmentNrShift
static const int LuminositySegmentNrShift
Definition: L1TcsWord.h:244
L1TcsWord::BxNrShift
static const int BxNrShift
Definition: L1TcsWord.h:240
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
L1TcsWord::BoardIdWord
static const int BoardIdWord
Definition: L1TcsWord.h:223
L1TcsWord::setDaqNr
void setDaqNr(const cms_uint16_t daqNrValue)
Definition: L1TcsWord.h:87
L1TcsWord::TriggerTypeWord
static const int TriggerTypeWord
Definition: L1TcsWord.h:226
L1TcsWord::BlockSize
static const int BlockSize
Definition: L1TcsWord.h:218
L1TcsWord::BxNrMask
static const cms_uint64_t BxNrMask
Definition: L1TcsWord.h:232
L1TcsWord::setEventNr
void setEventNr(const cms_uint32_t eventNrValue)
Definition: L1TcsWord.h:175
L1TcsWord::EventNrWord
static const int EventNrWord
Definition: L1TcsWord.h:260
L1TcsWord::m_daqNr
cms_uint16_t m_daqNr
number of DAQ partition to which the L1A has been sent
Definition: L1TcsWord.h:288
cms_uint64_t
unsigned long long cms_uint64_t
Definition: typedefs.h:17
L1TcsWord::EventNrShift
static const int EventNrShift
Definition: L1TcsWord.h:266
L1TcsWord::m_boardId
cms_uint16_t m_boardId
board identifier
Definition: L1TcsWord.h:282
L1TcsWord::AssignedPartitionsMask
static const cms_uint64_t AssignedPartitionsMask
Definition: L1TcsWord.h:252
L1TcsWord::PartRunNrShift
static const int PartRunNrShift
Definition: L1TcsWord.h:254
L1TcsWord::DaqNrWord
static const int DaqNrWord
Definition: L1TcsWord.h:225
L1TcsWord::BoardIdShift
static const int BoardIdShift
Definition: L1TcsWord.h:239
L1TcsWord::PartRunNrMask
static const cms_uint64_t PartRunNrMask
Definition: L1TcsWord.h:251
L1TcsWord::m_eventNr
cms_uint32_t m_eventNr
event number since last L1 reset generated in TCS chip
Definition: L1TcsWord.h:316
L1TcsWord::PartTrigNrWord
static const int PartTrigNrWord
Definition: L1TcsWord.h:259
L1TcsWord::EventNrMask
static const cms_uint64_t EventNrMask
Definition: L1TcsWord.h:263
edm::isDebugEnabled
bool isDebugEnabled()
Definition: MessageLogger.cc:12
mps_fire.result
result
Definition: mps_fire.py:311
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:234
L1TcsWord::TriggerTypeShift
static const int TriggerTypeShift
Definition: L1TcsWord.h:242
L1TcsWord::AssignedPartitionsShift
static const int AssignedPartitionsShift
Definition: L1TcsWord.h:255
L1TcsWord::PartRunNrWord
static const int PartRunNrWord
Definition: L1TcsWord.h:248
L1TcsWord::setPartRunNr
void setPartRunNr(const cms_uint32_t partRunNrValue)
Definition: L1TcsWord.h:137
L1TcsWord::setBoardId
void setBoardId(const cms_uint16_t boardIdValue)
set BoardId from a BoardId value
Definition: L1TcsWord.h:63
L1TcsWord::setBxNr
void setBxNr(const cms_uint16_t bxNrValue)
Definition: L1TcsWord.h:75
L1TcsWord::OrbitNrWord
static const int OrbitNrWord
Definition: L1TcsWord.h:270
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142
L1TcsWord::LuminositySegmentNrWord
static const int LuminositySegmentNrWord
Definition: L1TcsWord.h:228