29 : m_orbitNr(orbitNr), m_bxNr(bxNr), m_bxInEvent(bxInEvent) {
79 LogTrace(
"L1TGlobal") <<
"Attempting to set an algorithm bit " << bit <<
" beyond limit " 89 LogTrace(
"L1TGlobal") <<
"Attempting to set an algorithm bit " << bit <<
" beyond limit " 99 LogTrace(
"L1TGlobal") <<
"Attempting to set an algorithm bit " << bit <<
" beyond limit " 179 myCout <<
" uGtGlobalAlgBlk: " << std::endl;
181 myCout <<
" L1 Menu Name (hash): 0x" << std::hex <<
m_orbitNr << std::endl;
183 myCout <<
" L1 firmware (hash): 0x" << std::hex <<
m_bxNr << std::endl;
185 myCout <<
" Local Bx (hex): 0x" << std::hex << std::setw(1) << std::setfill(
'0') <<
m_bxInEvent << std::endl;
187 myCout <<
" PreScale Column: " << std::setw(2) <<
m_preScColumn << std::endl;
189 myCout <<
" Final OR Veto: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalORVeto << std::endl;
191 myCout <<
" Final OR: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalOR << std::endl;
195 myCout <<
" Decision (Initial) 0x" << std::hex;
197 for (
int i = lengthWd - 1;
i > -1;
i--) {
199 digit |= (1 << (
i % 4));
201 myCout << std::hex << std::setw(1) << digit;
203 if (
i % 32 == 0 &&
i < lengthWd - 1)
211 myCout <<
" Decision (Prescaled) 0x" << std::hex;
213 for (
int i = lengthWd - 1;
i > -1;
i--) {
215 digit |= (1 << (
i % 4));
217 myCout << std::hex << std::setw(1) << digit;
219 if (
i % 32 == 0 &&
i < lengthWd - 1)
227 myCout <<
" Decision (Final) 0x" << std::hex;
229 for (
int i = lengthWd - 1;
i > -1;
i--) {
231 digit |= (1 << (
i % 4));
233 myCout << std::hex << std::setw(1) << digit;
235 if (
i % 32 == 0 &&
i < lengthWd - 1)
const int getL1MenuUUID() const
get simple members
const int getbxInEventNr() const
std::vector< bool > const & getAlgoDecisionInitial() const
Get decision bits.
std::vector< bool > m_algoDecisionInitial
std::vector< bool > const & getAlgoDecisionFinal() const
void setAlgoDecisionInitial(unsigned int bit, bool val)
Set decision bits.
GlobalAlgBlk()
constructors
int m_bxNr
bunch cross number of the actual bx -> L1FirmwareUUID
const int getL1FirmwareUUID() const
void print(std::ostream &myCout) const
pretty print the content of a GlobalAlgBlk
void reset()
reset the content of a GlobalAlgBlk
virtual ~GlobalAlgBlk()
destructor
void setAlgoDecisionInterm(unsigned int bit, bool val)
static unsigned int maxPhysicsTriggers
int m_orbitNr
orbit number -> L1MenuUUID
virtual bool operator==(const GlobalAlgBlk &rhs) const
std::vector< bool > m_algoDecisionFinal
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
std::vector< bool > const & getAlgoDecisionInterm() const
std::vector< bool > m_algoDecisionPreScaled
void setAlgoDecisionFinal(unsigned int bit, bool val)