33 m_orbitNr(orbitNr), m_bxNr(bxNr), m_bxInEvent(bxInEvent)
170 myCout <<
" uGtGlobalAlgBlk: " << std::endl;
172 myCout <<
" Orbit Number (hex): 0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
m_orbitNr << std::endl;
174 myCout <<
" Bx Number (hex): 0x" << std::hex << std::setw(4) << std::setfill(
'0') <<
m_bxNr << std::endl;
176 myCout <<
" Local Bx (hex): 0x" << std::hex << std::setw(1) << std::setfill(
'0') <<
m_bxInEvent << std::endl;
178 myCout <<
" PreScale Column: " <<std::setw(2) <<
m_preScColumn << std::endl;
180 myCout <<
" Final OR Veto: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalORVeto << std::endl;
182 myCout <<
" Final OR: " << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalOR << std::endl;
186 myCout <<
" Decision (Initial) 0x" << std::hex;
188 for(
int i=lengthWd-1;
i>-1;
i--) {
191 myCout << std::hex << std::setw(1) << digit;
193 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
200 myCout <<
" Decision (Prescaled) 0x" << std::hex;
202 for(
int i=lengthWd-1;
i>-1;
i--) {
205 myCout << std::hex << std::setw(1) << digit;
207 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
215 myCout <<
" Decision (Final) 0x" << std::hex;
217 for(
int i=lengthWd-1;
i>-1;
i--) {
220 myCout << std::hex << std::setw(1) << digit;
222 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.
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
static const unsigned int maxPhysicsTriggers
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