46 LogTrace(
"L1TGlobal") <<
"Attempting to set a external bit " << bit <<
" beyond limit " <<
m_extDecision.size();
66 myCout <<
" GlobalExtBlk " << std::endl;
70 myCout <<
" External Conditions 0x" << std::hex;
72 bool firstNonZero =
false;
73 for (
int i = lengthWd - 1;
i > -1;
i--) {
75 digit |= (1 << (
i % 4));
78 if ((
i % 4) == 0 && firstNonZero) {
79 myCout << std::hex << std::setw(1) << digit;
81 if (
i % 32 == 0 &&
i < lengthWd - 1)
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