60 LogTrace(
"L1TGlobal") <<
"Attempting to set a external bit " << bit <<
" beyond limit " <<
m_extDecision.size();
89 myCout <<
" GlobalExtBlk " << std::endl;
93 myCout <<
" External Conditions 0x" << std::hex;
95 bool firstNonZero =
false;
96 for(
int i=lengthWd-1;
i>-1;
i--) {
98 if(digit > 0) firstNonZero =
true;
99 if((
i%4) == 0 && firstNonZero){
100 myCout << std::hex << std::setw(1) << digit;
102 if(
i%32 == 0 &&
i<lengthWd-1) myCout <<
" ";
105 if(!firstNonZero) myCout <<
"0";
void print(std::ostream &myCout) const
pretty print the content of a GlobalExtBlk
void reset()
reset the content of a GlobalExtBlk
static const unsigned int maxExternalConditions
virtual ~GlobalExtBlk()
destructor
void setExternalDecision(unsigned int bit, bool val)
Set decision bits.
bool getExternalDecision(unsigned int bit) const
Get decision bits.
GlobalExtBlk()
constructors
std::vector< bool > m_extDecision