32 m_orbitNr(orbitNr), m_bxNr(bxNr), m_bxInEvent(bxInEvent)
168 myCout <<
" uGtGlobalAlgBlk: " << std::endl;
170 myCout <<
" L1 Menu Name (hash): 0x" << std::hex <<
m_orbitNr << std::endl;
172 myCout <<
" L1 firmware (hash): 0x" << std::hex <<
m_bxNr << std::endl;
174 myCout <<
" Local Bx (hex): 0x" << std::hex << std::setw(1) << std::setfill(
'0') <<
m_bxInEvent << std::endl;
176 myCout <<
" PreScale Column: " <<std::setw(2) <<
m_preScColumn << std::endl;
178 myCout <<
" Final OR Veto: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalORVeto << std::endl;
180 myCout <<
" Final OR: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalOR << std::endl;
184 myCout <<
" Decision (Initial) 0x" << std::hex;
186 for(
int i=lengthWd-1;
i>-1;
i--) {
189 myCout << std::hex << std::setw(1) << digit;
191 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
198 myCout <<
" Decision (Prescaled) 0x" << std::hex;
200 for(
int i=lengthWd-1;
i>-1;
i--) {
203 myCout << std::hex << std::setw(1) << digit;
205 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
213 myCout <<
" Decision (Final) 0x" << std::hex;
215 for(
int i=lengthWd-1;
i>-1;
i--) {
218 myCout << std::hex << std::setw(1) << digit;
220 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
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
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
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)