CMS 3D CMS Logo

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

#include <GlobalAlgBlk.h>

Public Member Functions

void copyInitialToInterm ()
 Copy vectors words. More...
 
void copyIntermToFinal ()
 
std::vector< bool > const & getAlgoDecisionFinal () const
 
bool getAlgoDecisionFinal (unsigned int bit) const
 
std::vector< bool > const & getAlgoDecisionInitial () const
 Get decision bits. More...
 
bool getAlgoDecisionInitial (unsigned int bit) const
 Get decision bits. More...
 
std::vector< bool > const & getAlgoDecisionInterm () const
 
bool getAlgoDecisionInterm (unsigned int bit) const
 
const int getbxInEventNr () const
 
const bool getFinalOR () const
 
const bool getFinalORPreVeto () const
 
const bool getFinalORVeto () const
 
const int getL1FirmwareUUID () const
 
const int getL1MenuUUID () const
 get simple members More...
 
const int getPreScColumn () const
 
 GlobalAlgBlk ()
 constructors More...
 
 GlobalAlgBlk (int orbitNr, int bxNr, int bxInEvent)
 
virtual bool operator!= (const GlobalAlgBlk &rhs) const
 
virtual bool operator== (const GlobalAlgBlk &rhs) const
 
void print (std::ostream &myCout) const
 pretty print the content of a GlobalAlgBlk More...
 
void reset ()
 reset the content of a GlobalAlgBlk More...
 
void setAlgoDecisionFinal (unsigned int bit, bool val)
 
void setAlgoDecisionInitial (unsigned int bit, bool val)
 Set decision bits. More...
 
void setAlgoDecisionInterm (unsigned int bit, bool val)
 
void setbxInEventNr (int bxNr)
 
void setFinalOR (bool fOR)
 
void setFinalORPreVeto (bool fOR)
 
void setFinalORVeto (bool fOR)
 
void setL1FirmwareUUID (int fuuid)
 
void setL1MenuUUID (int uuid)
 set simple members More...
 
void setPreScColumn (int psC)
 
virtual ~GlobalAlgBlk ()
 destructor More...
 

Static Public Attributes

static constexpr unsigned int maxPhysicsTriggers = 512
 

Private Attributes

std::vector< bool > m_algoDecisionFinal
 
std::vector< bool > m_algoDecisionInitial
 
std::vector< bool > m_algoDecisionPreScaled
 
int m_bxInEvent
 bunch cross in the GT event record (E,F,0,1,2) More...
 
int m_bxNr
 bunch cross number of the actual bx -> L1FirmwareUUID More...
 
bool m_finalOR
 
bool m_finalORPreVeto
 
bool m_finalORVeto
 
int m_orbitNr
 orbit number -> L1MenuUUID More...
 
int m_preScColumn
 

Detailed Description

Description: L1 micro Global Trigger - Block holding Algorithm Information

Implementation: <TODO: enter implementation details>

Author
: Brian Winer - Ohio State

Description: see header file.

Implementation: <TODO: enter implementation details>

Author
: Brian Winer – Ohio State

Definition at line 41 of file GlobalAlgBlk.h.

Constructor & Destructor Documentation

◆ GlobalAlgBlk() [1/2]

GlobalAlgBlk::GlobalAlgBlk ( )

constructors

Definition at line 46 of file GlobalAlgBlk.cc.

References m_algoDecisionFinal, m_algoDecisionInitial, m_algoDecisionPreScaled, m_bxInEvent, m_bxNr, m_finalOR, m_finalORPreVeto, m_finalORVeto, m_orbitNr, m_preScColumn, and maxPhysicsTriggers.

46  {
47  //Clear out the header data
48  m_orbitNr = 0;
49  m_bxNr = 0;
50  m_bxInEvent = 0;
51  m_finalOR = false;
52  m_finalORPreVeto = false;
53  m_finalORVeto = false;
54  m_preScColumn = 0;
55 
56  // Reserve/Clear out the decision words
59 
62 
65 }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119
bool m_finalORPreVeto
Definition: GlobalAlgBlk.h:113
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
Definition: GlobalAlgBlk.h:106
int m_orbitNr
orbit number -> L1MenuUUID
Definition: GlobalAlgBlk.h:103
std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
Definition: GlobalAlgBlk.h:109
static constexpr unsigned int maxPhysicsTriggers
Definition: GlobalAlgBlk.h:52
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120
bool m_finalORVeto
Definition: GlobalAlgBlk.h:114

◆ GlobalAlgBlk() [2/2]

GlobalAlgBlk::GlobalAlgBlk ( int  orbitNr,
int  bxNr,
int  bxInEvent 
)

Definition at line 28 of file GlobalAlgBlk.cc.

References m_algoDecisionFinal, m_algoDecisionInitial, m_algoDecisionPreScaled, m_finalOR, m_preScColumn, and maxPhysicsTriggers.

29  : m_orbitNr(orbitNr), m_bxNr(bxNr), m_bxInEvent(bxInEvent) {
30  //Clear out the header data
31  m_finalOR = false;
32  m_preScColumn = 0;
33 
34  // Reserve/Clear out the decision words
37 
40 
43 }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
Definition: GlobalAlgBlk.h:106
int m_orbitNr
orbit number -> L1MenuUUID
Definition: GlobalAlgBlk.h:103
std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
Definition: GlobalAlgBlk.h:109
static constexpr unsigned int maxPhysicsTriggers
Definition: GlobalAlgBlk.h:52
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120

◆ ~GlobalAlgBlk()

GlobalAlgBlk::~GlobalAlgBlk ( )
virtual

destructor

Definition at line 68 of file GlobalAlgBlk.cc.

68  {
69  // empty now
70 }

Member Function Documentation

◆ copyInitialToInterm()

void GlobalAlgBlk::copyInitialToInterm ( )
inline

Copy vectors words.

Definition at line 73 of file GlobalAlgBlk.h.

References m_algoDecisionInitial, and m_algoDecisionPreScaled.

std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120

◆ copyIntermToFinal()

void GlobalAlgBlk::copyIntermToFinal ( )
inline

Definition at line 74 of file GlobalAlgBlk.h.

References m_algoDecisionFinal, and m_algoDecisionPreScaled.

std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120

◆ getAlgoDecisionFinal() [1/2]

std::vector<bool> const& GlobalAlgBlk::getAlgoDecisionFinal ( ) const
inline

Definition at line 84 of file GlobalAlgBlk.h.

References m_algoDecisionFinal.

Referenced by L1TGlobalPrescaler::filter().

84 { return m_algoDecisionFinal; }
std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121

◆ getAlgoDecisionFinal() [2/2]

bool GlobalAlgBlk::getAlgoDecisionFinal ( unsigned int  bit) const

Definition at line 117 of file GlobalAlgBlk.cc.

References triggerObjects_cff::bit, and m_algoDecisionFinal.

117  {
118  if (bit >= m_algoDecisionFinal.size())
119  return false;
120  return m_algoDecisionFinal.at(bit);
121 }
std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121

◆ getAlgoDecisionInitial() [1/2]

std::vector<bool> const& GlobalAlgBlk::getAlgoDecisionInitial ( ) const
inline

Get decision bits.

Definition at line 82 of file GlobalAlgBlk.h.

References m_algoDecisionInitial.

Referenced by L1TGlobalPrescaler::filter(), and operator==().

82 { return m_algoDecisionInitial; }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119

◆ getAlgoDecisionInitial() [2/2]

bool GlobalAlgBlk::getAlgoDecisionInitial ( unsigned int  bit) const

Get decision bits.

Definition at line 105 of file GlobalAlgBlk.cc.

References triggerObjects_cff::bit, and m_algoDecisionInitial.

105  {
106  if (bit >= m_algoDecisionInitial.size())
107  return false;
108  return m_algoDecisionInitial.at(bit);
109 }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119

◆ getAlgoDecisionInterm() [1/2]

std::vector<bool> const& GlobalAlgBlk::getAlgoDecisionInterm ( ) const
inline

Definition at line 83 of file GlobalAlgBlk.h.

References m_algoDecisionPreScaled.

83 { return m_algoDecisionPreScaled; }
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120

◆ getAlgoDecisionInterm() [2/2]

bool GlobalAlgBlk::getAlgoDecisionInterm ( unsigned int  bit) const

Definition at line 111 of file GlobalAlgBlk.cc.

References triggerObjects_cff::bit, and m_algoDecisionPreScaled.

111  {
112  if (bit >= m_algoDecisionPreScaled.size())
113  return false;
114  return m_algoDecisionPreScaled.at(bit);
115 }
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120

◆ getbxInEventNr()

const int GlobalAlgBlk::getbxInEventNr ( ) const
inline

Definition at line 66 of file GlobalAlgBlk.h.

References m_bxInEvent.

Referenced by operator==().

66 { return m_bxInEvent; }
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
Definition: GlobalAlgBlk.h:109

◆ getFinalOR()

const bool GlobalAlgBlk::getFinalOR ( ) const
inline

Definition at line 67 of file GlobalAlgBlk.h.

References m_finalOR.

67 { return m_finalOR; }

◆ getFinalORPreVeto()

const bool GlobalAlgBlk::getFinalORPreVeto ( ) const
inline

Definition at line 68 of file GlobalAlgBlk.h.

References m_finalORPreVeto.

Referenced by l1t::stage2::GlobalAlgBlkUnpacker::unpack().

68 { return m_finalORPreVeto; };
bool m_finalORPreVeto
Definition: GlobalAlgBlk.h:113

◆ getFinalORVeto()

const bool GlobalAlgBlk::getFinalORVeto ( ) const
inline

Definition at line 69 of file GlobalAlgBlk.h.

References m_finalORVeto.

Referenced by L1TGlobalPrescaler::filter(), and l1t::stage2::GlobalAlgBlkUnpacker::unpack().

69 { return m_finalORVeto; }
bool m_finalORVeto
Definition: GlobalAlgBlk.h:114

◆ getL1FirmwareUUID()

const int GlobalAlgBlk::getL1FirmwareUUID ( ) const
inline

Definition at line 65 of file GlobalAlgBlk.h.

References m_bxNr.

Referenced by operator==().

65 { return m_bxNr; }
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
Definition: GlobalAlgBlk.h:106

◆ getL1MenuUUID()

const int GlobalAlgBlk::getL1MenuUUID ( ) const
inline

get simple members

Definition at line 64 of file GlobalAlgBlk.h.

References m_orbitNr.

Referenced by operator==().

64 { return m_orbitNr; }
int m_orbitNr
orbit number -> L1MenuUUID
Definition: GlobalAlgBlk.h:103

◆ getPreScColumn()

const int GlobalAlgBlk::getPreScColumn ( ) const
inline

Definition at line 70 of file GlobalAlgBlk.h.

References m_preScColumn.

70 { return m_preScColumn; }

◆ operator!=()

virtual bool GlobalAlgBlk::operator!= ( const GlobalAlgBlk rhs) const
inlinevirtual

Definition at line 94 of file GlobalAlgBlk.h.

References operator==().

94 { return !(operator==(rhs)); };
virtual bool operator==(const GlobalAlgBlk &rhs) const

◆ operator==()

bool GlobalAlgBlk::operator== ( const GlobalAlgBlk rhs) const
virtual

Definition at line 142 of file GlobalAlgBlk.cc.

References getAlgoDecisionInitial(), getbxInEventNr(), getL1FirmwareUUID(), getL1MenuUUID(), m_algoDecisionInitial, m_bxInEvent, m_bxNr, and m_orbitNr.

Referenced by operator!=().

142  {
143  // Not all variables can be compared since the prescale counters are
144  // generally not the same when producing the collections and so the
145  // prescaled algo decisions do not match.
146  bool eq = m_orbitNr == rhs.getL1MenuUUID() && m_bxNr == rhs.getL1FirmwareUUID() &&
147  m_bxInEvent == rhs.getbxInEventNr()
148  //&& m_finalOR == rhs.getFinalOR()
149  //&& m_finalORPreVeto == rhs.getFinalORPreVeto()
150  //&& m_finalORVeto == rhs.getFinalORVeto()
151  //&& m_preScColumn == rhs.getPreScColumn()
153  //&& m_algoDecisionPreScaled == rhs.getAlgoDecisionInterm()
154  //&& m_algoDecisionFinal == rhs.getAlgoDecisionFinal()
155  ;
156 
157  //if (not eq) {
158  // std::cout << "m_orbitNr: " << m_orbitNr << " : " << rhs.getL1MenuUUID() << std::endl
159  // << "m_bxNr: " << m_bxNr << " : " << rhs.getL1FirmwareUUID() << std::endl
160  // << "m_bxInEvent: " << m_bxInEvent << " : " << rhs.getbxInEventNr() << std::endl
161  // << "m_finalOR: " << m_finalOR << " : " << rhs.getFinalOR() << std::endl
162  // << "m_finalORPreVeto: " << m_finalORPreVeto << " : " << rhs.getFinalORPreVeto() << std::endl
163  // << "m_finalORVeto: " << m_finalORVeto << " : " << rhs.getFinalORVeto() << std::endl
164  // << "m_preScColumn: " << m_preScColumn << " : " << rhs.getPreScColumn() << std::endl
165  // << std::endl;
166  // std::cout << "algoDecisions" << std::endl;
167  // for (size_t i = 0; i < m_algoDecisionInitial.size(); ++i) {
168  // std::cout << "bit " << i << ": " << m_algoDecisionInitial.at(i) << " : " << rhs.getAlgoDecisionInitial(i)
169  // << " " << m_algoDecisionPreScaled.at(i) << " : " << rhs.getAlgoDecisionInterm(i)
170  // << " " << m_algoDecisionFinal.at(i) << " : " << rhs.getAlgoDecisionFinal(i) << std::endl;
171  // }
172  //}
173 
174  return eq;
175 }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
Definition: GlobalAlgBlk.h:106
int m_orbitNr
orbit number -> L1MenuUUID
Definition: GlobalAlgBlk.h:103
const int getbxInEventNr() const
Definition: GlobalAlgBlk.h:66
std::vector< bool > const & getAlgoDecisionInitial() const
Get decision bits.
Definition: GlobalAlgBlk.h:82
const int getL1MenuUUID() const
get simple members
Definition: GlobalAlgBlk.h:64
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
Definition: GlobalAlgBlk.h:109
const int getL1FirmwareUUID() const
Definition: GlobalAlgBlk.h:65

◆ print()

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

pretty print the content of a GlobalAlgBlk

Definition at line 178 of file GlobalAlgBlk.cc.

References mps_fire::i, m_algoDecisionFinal, m_algoDecisionInitial, m_algoDecisionPreScaled, m_bxInEvent, m_bxNr, m_finalOR, m_finalORVeto, m_orbitNr, and m_preScColumn.

178  {
179  myCout << " uGtGlobalAlgBlk: " << std::endl;
180 
181  myCout << " L1 Menu Name (hash): 0x" << std::hex << m_orbitNr << std::endl;
182 
183  myCout << " L1 firmware (hash): 0x" << std::hex << m_bxNr << std::endl;
184 
185  myCout << " Local Bx (hex): 0x" << std::hex << std::setw(1) << std::setfill('0') << m_bxInEvent << std::endl;
186 
187  myCout << " PreScale Column: " << std::setw(2) << m_preScColumn << std::endl;
188 
189  myCout << " Final OR Veto: " << std::hex << std::setw(1) << std::setfill('0') << m_finalORVeto << std::endl;
190 
191  myCout << " Final OR: " << std::hex << std::setw(1) << std::setfill('0') << m_finalOR << std::endl;
192 
193  // Loop through bits to create a hex word of algorithm bits.
194  int lengthWd = m_algoDecisionInitial.size();
195  myCout << " Decision (Initial) 0x" << std::hex;
196  int digit = 0;
197  for (int i = lengthWd - 1; i > -1; i--) {
198  if (m_algoDecisionInitial.at(i))
199  digit |= (1 << (i % 4));
200  if ((i % 4) == 0) {
201  myCout << std::hex << std::setw(1) << digit;
202  digit = 0;
203  if (i % 32 == 0 && i < lengthWd - 1)
204  myCout << " ";
205  }
206  } //end loop over algorithm bits
207  myCout << std::endl;
208 
209  // Loop through bits to create a hex word of algorithm bits.
210  lengthWd = m_algoDecisionPreScaled.size();
211  myCout << " Decision (Prescaled) 0x" << std::hex;
212  digit = 0;
213  for (int i = lengthWd - 1; i > -1; i--) {
214  if (m_algoDecisionPreScaled.at(i))
215  digit |= (1 << (i % 4));
216  if ((i % 4) == 0) {
217  myCout << std::hex << std::setw(1) << digit;
218  digit = 0;
219  if (i % 32 == 0 && i < lengthWd - 1)
220  myCout << " ";
221  }
222  } //end loop over algorithm bits
223  myCout << std::endl;
224 
225  // Loop through bits to create a hex word of algorithm bits.
226  lengthWd = m_algoDecisionFinal.size();
227  myCout << " Decision (Final) 0x" << std::hex;
228  digit = 0;
229  for (int i = lengthWd - 1; i > -1; i--) {
230  if (m_algoDecisionFinal.at(i))
231  digit |= (1 << (i % 4));
232  if ((i % 4) == 0) {
233  myCout << std::hex << std::setw(1) << digit;
234  digit = 0;
235  if (i % 32 == 0 && i < lengthWd - 1)
236  myCout << " ";
237  }
238  } //end loop over algorithm bits
239  myCout << std::endl;
240 }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
Definition: GlobalAlgBlk.h:106
int m_orbitNr
orbit number -> L1MenuUUID
Definition: GlobalAlgBlk.h:103
std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
Definition: GlobalAlgBlk.h:109
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120
bool m_finalORVeto
Definition: GlobalAlgBlk.h:114

◆ reset()

void GlobalAlgBlk::reset ( void  )

reset the content of a GlobalAlgBlk

Definition at line 124 of file GlobalAlgBlk.cc.

References m_algoDecisionFinal, m_algoDecisionInitial, m_algoDecisionPreScaled, m_bxInEvent, m_bxNr, m_finalOR, m_finalORPreVeto, m_finalORVeto, m_orbitNr, m_preScColumn, and maxPhysicsTriggers.

Referenced by l1t::GlobalBoard::GlobalBoard().

124  {
125  //Clear out the header data
126  m_orbitNr = 0;
127  m_bxNr = 0;
128  m_bxInEvent = 0;
129  m_finalOR = false;
130  m_finalORPreVeto = false;
131  m_finalORVeto = false;
132  m_preScColumn = 0;
133 
134  // Clear out the decision words
135  // but leave the vector intact
139 }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119
bool m_finalORPreVeto
Definition: GlobalAlgBlk.h:113
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
Definition: GlobalAlgBlk.h:106
int m_orbitNr
orbit number -> L1MenuUUID
Definition: GlobalAlgBlk.h:103
std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
Definition: GlobalAlgBlk.h:109
static constexpr unsigned int maxPhysicsTriggers
Definition: GlobalAlgBlk.h:52
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120
bool m_finalORVeto
Definition: GlobalAlgBlk.h:114

◆ setAlgoDecisionFinal()

void GlobalAlgBlk::setAlgoDecisionFinal ( unsigned int  bit,
bool  val 
)

Definition at line 94 of file GlobalAlgBlk.cc.

References triggerObjects_cff::bit, LogTrace, m_algoDecisionFinal, and heppy_batch::val.

Referenced by L1TGlobalPrescaler::filter(), and l1t::stage2::GlobalAlgBlkUnpacker::unpack().

94  {
95  if (bit < m_algoDecisionFinal.size()) {
97  } else {
98  // Need some erorr checking here.
99  LogTrace("L1TGlobal") << "Attempting to set an algorithm bit " << bit << " beyond limit "
100  << m_algoDecisionFinal.size();
101  }
102 }
#define LogTrace(id)
std::vector< bool > m_algoDecisionFinal
Definition: GlobalAlgBlk.h:121

◆ setAlgoDecisionInitial()

void GlobalAlgBlk::setAlgoDecisionInitial ( unsigned int  bit,
bool  val 
)

Set decision bits.

Definition at line 73 of file GlobalAlgBlk.cc.

References triggerObjects_cff::bit, LogTrace, m_algoDecisionInitial, and heppy_batch::val.

Referenced by l1t::stage2::GlobalAlgBlkUnpacker::unpack().

73  {
74  if (bit < m_algoDecisionInitial.size()) {
76 
77  } else {
78  // Need some erorr checking here.
79  LogTrace("L1TGlobal") << "Attempting to set an algorithm bit " << bit << " beyond limit "
80  << m_algoDecisionInitial.size();
81  }
82 }
std::vector< bool > m_algoDecisionInitial
Definition: GlobalAlgBlk.h:119
#define LogTrace(id)

◆ setAlgoDecisionInterm()

void GlobalAlgBlk::setAlgoDecisionInterm ( unsigned int  bit,
bool  val 
)

Definition at line 84 of file GlobalAlgBlk.cc.

References triggerObjects_cff::bit, LogTrace, m_algoDecisionPreScaled, and heppy_batch::val.

Referenced by l1t::stage2::GlobalAlgBlkUnpacker::unpack().

84  {
85  if (bit < m_algoDecisionPreScaled.size()) {
87  } else {
88  // Need some erorr checking here.
89  LogTrace("L1TGlobal") << "Attempting to set an algorithm bit " << bit << " beyond limit "
90  << m_algoDecisionPreScaled.size();
91  }
92 }
#define LogTrace(id)
std::vector< bool > m_algoDecisionPreScaled
Definition: GlobalAlgBlk.h:120

◆ setbxInEventNr()

void GlobalAlgBlk::setbxInEventNr ( int  bxNr)
inline

Definition at line 57 of file GlobalAlgBlk.h.

References m_bxInEvent.

57 { m_bxInEvent = bxNr; }
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
Definition: GlobalAlgBlk.h:109

◆ setFinalOR()

void GlobalAlgBlk::setFinalOR ( bool  fOR)
inline

Definition at line 60 of file GlobalAlgBlk.h.

References m_finalOR.

Referenced by L1TGlobalPrescaler::filter(), and l1t::stage2::GlobalAlgBlkUnpacker::unpack().

60 { m_finalOR = fOR; }

◆ setFinalORPreVeto()

void GlobalAlgBlk::setFinalORPreVeto ( bool  fOR)
inline

Definition at line 59 of file GlobalAlgBlk.h.

References m_finalORPreVeto.

Referenced by L1TGlobalPrescaler::filter(), and l1t::stage2::GlobalAlgBlkUnpacker::unpack().

59 { m_finalORPreVeto = fOR; }
bool m_finalORPreVeto
Definition: GlobalAlgBlk.h:113

◆ setFinalORVeto()

void GlobalAlgBlk::setFinalORVeto ( bool  fOR)
inline

Definition at line 58 of file GlobalAlgBlk.h.

References m_finalORVeto.

Referenced by l1t::stage2::GlobalAlgBlkUnpacker::unpack().

58 { m_finalORVeto = fOR; }
bool m_finalORVeto
Definition: GlobalAlgBlk.h:114

◆ setL1FirmwareUUID()

void GlobalAlgBlk::setL1FirmwareUUID ( int  fuuid)
inline

Definition at line 56 of file GlobalAlgBlk.h.

References m_bxNr.

Referenced by l1t::stage2::GlobalAlgBlkUnpacker::unpack().

56 { m_bxNr = fuuid; }
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
Definition: GlobalAlgBlk.h:106

◆ setL1MenuUUID()

void GlobalAlgBlk::setL1MenuUUID ( int  uuid)
inline

set simple members

Definition at line 55 of file GlobalAlgBlk.h.

References m_orbitNr, and createPayload::uuid.

Referenced by l1t::stage2::GlobalAlgBlkUnpacker::unpack().

55 { m_orbitNr = uuid; }
int m_orbitNr
orbit number -> L1MenuUUID
Definition: GlobalAlgBlk.h:103

◆ setPreScColumn()

void GlobalAlgBlk::setPreScColumn ( int  psC)
inline

Definition at line 61 of file GlobalAlgBlk.h.

References m_preScColumn.

Referenced by L1TGlobalPrescaler::filter(), and l1t::stage2::GlobalAlgBlkUnpacker::unpack().

61 { m_preScColumn = psC; }

Member Data Documentation

◆ m_algoDecisionFinal

std::vector<bool> GlobalAlgBlk::m_algoDecisionFinal
private

◆ m_algoDecisionInitial

std::vector<bool> GlobalAlgBlk::m_algoDecisionInitial
private

◆ m_algoDecisionPreScaled

std::vector<bool> GlobalAlgBlk::m_algoDecisionPreScaled
private

◆ m_bxInEvent

int GlobalAlgBlk::m_bxInEvent
private

bunch cross in the GT event record (E,F,0,1,2)

Definition at line 109 of file GlobalAlgBlk.h.

Referenced by getbxInEventNr(), GlobalAlgBlk(), operator==(), print(), reset(), and setbxInEventNr().

◆ m_bxNr

int GlobalAlgBlk::m_bxNr
private

bunch cross number of the actual bx -> L1FirmwareUUID

Definition at line 106 of file GlobalAlgBlk.h.

Referenced by getL1FirmwareUUID(), GlobalAlgBlk(), operator==(), print(), reset(), and setL1FirmwareUUID().

◆ m_finalOR

bool GlobalAlgBlk::m_finalOR
private

Definition at line 112 of file GlobalAlgBlk.h.

Referenced by getFinalOR(), GlobalAlgBlk(), print(), reset(), and setFinalOR().

◆ m_finalORPreVeto

bool GlobalAlgBlk::m_finalORPreVeto
private

Definition at line 113 of file GlobalAlgBlk.h.

Referenced by getFinalORPreVeto(), GlobalAlgBlk(), reset(), and setFinalORPreVeto().

◆ m_finalORVeto

bool GlobalAlgBlk::m_finalORVeto
private

Definition at line 114 of file GlobalAlgBlk.h.

Referenced by getFinalORVeto(), GlobalAlgBlk(), print(), reset(), and setFinalORVeto().

◆ m_orbitNr

int GlobalAlgBlk::m_orbitNr
private

orbit number -> L1MenuUUID

Definition at line 103 of file GlobalAlgBlk.h.

Referenced by getL1MenuUUID(), GlobalAlgBlk(), operator==(), print(), reset(), and setL1MenuUUID().

◆ m_preScColumn

int GlobalAlgBlk::m_preScColumn
private

Definition at line 117 of file GlobalAlgBlk.h.

Referenced by getPreScColumn(), GlobalAlgBlk(), print(), reset(), and setPreScColumn().

◆ maxPhysicsTriggers

constexpr unsigned int GlobalAlgBlk::maxPhysicsTriggers = 512
static