32 m_orbitNr(orbitNr), m_bxNr(bxNr), m_bxInEvent(bxInEvent)
169 myCout <<
" uGtGlobalAlgBlk: " << std::endl;
171 myCout <<
" Orbit Number (hex): 0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
m_orbitNr << std::endl;
173 myCout <<
" Bx Number (hex): 0x" << std::hex << std::setw(4) << std::setfill(
'0') <<
m_bxNr << std::endl;
175 myCout <<
" Local Bx (hex): 0x" << std::hex << std::setw(1) << std::setfill(
'0') <<
m_bxInEvent << std::endl;
177 myCout <<
" PreScale Column: " <<std::setw(2) <<
m_preScColumn << std::endl;
179 myCout <<
" Final OR Veto: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalORVeto << std::endl;
181 myCout <<
" Final OR: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalOR << std::endl;
185 myCout <<
" Decision (Initial) 0x" << std::hex;
187 for(
int i=lengthWd-1;
i>-1;
i--) {
190 myCout << std::hex << std::setw(1) << digit;
192 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
199 myCout <<
" Decision (Prescaled) 0x" << std::hex;
201 for(
int i=lengthWd-1;
i>-1;
i--) {
204 myCout << std::hex << std::setw(1) << digit;
206 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
214 myCout <<
" Decision (Final) 0x" << std::hex;
216 for(
int i=lengthWd-1;
i>-1;
i--) {
219 myCout << std::hex << std::setw(1) << digit;
221 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
std::vector< bool > m_algoDecisionInitial
void setAlgoDecisionInitial(unsigned int bit, bool val)
Set decision bits.
GlobalAlgBlk()
constructors
bool getAlgoDecisionFinal(unsigned int bit) const
int m_bxNr
bunch cross number of the actual bx
bool getAlgoDecisionInitial(unsigned int bit) const
Get decision bits.
static const unsigned int maxPhysicsTriggers
void setAlgoDecisionPreScaled(unsigned int bit, bool val)
void print(std::ostream &myCout) const
pretty print the content of a GlobalAlgBlk
void reset()
reset the content of a GlobalAlgBlk
virtual ~GlobalAlgBlk()
destructor
int m_orbitNr
orbit number
std::vector< bool > m_algoDecisionFinal
int m_bxInEvent
bunch cross in the GT event record (E,F,0,1,2)
std::vector< bool > m_algoDecisionPreScaled
void setAlgoDecisionFinal(unsigned int bit, bool val)
bool getAlgoDecisionPreScaled(unsigned int bit) const