31 m_orbitNr(orbitNr), m_bxNr(bxNr), m_bxInEvent(bxInEvent)
145 myCout <<
" uGtGlobalAlgBlk: " << std::endl;
147 myCout <<
" Orbit Number (hex): 0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
m_orbitNr << std::endl;
149 myCout <<
" Bx Number (hex): 0x" << std::hex << std::setw(4) << std::setfill(
'0') <<
m_bxNr << std::endl;
151 myCout <<
" Local Bx (hex): 0x" << std::hex << std::setw(1) << std::setfill(
'0') <<
m_bxInEvent << std::endl;
153 myCout <<
" Final OR (hex): Ox" << std::hex << std::setw(1) << std::setfill(
'0') <<
m_finalOR << std::endl;
157 myCout <<
" Decision (Initial) 0x" << std::hex;
159 for(
int i=lengthWd-1;
i>-1;
i--) {
162 myCout << std::hex << std::setw(1) << digit;
170 myCout <<
" Decision (Prescaled) 0x" << std::hex;
172 for(
int i=lengthWd-1;
i>-1;
i--) {
175 myCout << std::hex << std::setw(1) << digit;
184 myCout <<
" Decision (Final) 0x" << std::hex;
186 for(
int i=lengthWd-1;
i>-1;
i--) {
189 myCout << std::hex << std::setw(1) << digit;
std::vector< bool > m_algoDecisionInitial
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 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 NumberPhysTriggers
void setAlgoDecisionPreScaled(int bit, bool val)
int m_orbitNr
orbit number
void setAlgoDecisionInitial(int bit, bool val)
Set decision bits.
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(int bit, bool val)
bool getAlgoDecisionPreScaled(unsigned int bit) const