41 const std::string& condNameVal)
const {
53 <<
"\n\n ERROR: The requested condition with tokenName = " << condNameVal
54 <<
"\n does not exists in the operand token vector."
55 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" << std::endl;
74 <<
"\n\n ERROR: The requested condition with tokenNumber = " << condNumberVal
75 <<
"\n does not exists in the operand token vector."
76 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" << std::endl;
93 <<
"\n\n ERROR: The requested condition with name = " << condNameVal
94 <<
"\n does not exists in the operand token vector."
95 <<
"\n Returning false for getConditionResult\n\n" << std::endl;
124 myCout <<
"L1GlobalTriggerObjectMap: print " << std::endl;
126 myCout <<
" Algorithm name: " <<
m_algoName << std::endl;
132 myCout <<
" Operand token vector size: " << operandTokenVectorSize;
134 if (operandTokenVectorSize == 0) {
135 myCout <<
" - not properly initialized! " << std::endl;
140 for (
int i = 0;
i < operandTokenVectorSize; ++
i) {
152 myCout <<
" conditions: " << std::endl;
154 std::vector<CombinationsInCond>::const_iterator itVVV;
162 myCout <<
" Condition " << condName <<
" evaluated to " << condResult
165 myCout <<
" List of combinations passing all requirements for this condition:"
170 if ((*itVVV).size() == 0) {
174 CombinationsInCond::const_iterator itVV;
175 for(itVV = (*itVVV).begin(); itVV != (*itVVV).end(); itVV++) {
179 std::copy((*itVV).begin(), (*itVV).end(),
180 std::ostream_iterator<int> (myCout,
" "));
std::vector< L1GtLogicParser::OperandToken > m_operandTokenVector
const CombinationsInCond * getCombinationsInCond(const std::string &condNameVal) const
return all the combinations passing the requirements imposed in condition condNameVal ...
void print(std::ostream &myCout) const
print the full object map
std::vector< CombinationsInCond > m_combinationVector
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition
void reset()
reset the object map
const bool getConditionResult(const std::string &condNameVal) const
return the result for the condition condNameVal