42 edm::LogError(
"L1GlobalTriggerObjectMap") <<
"\n\n ERROR: The requested condition with tokenName = " << condNameVal
43 <<
"\n does not exists in the operand token vector." 44 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" 60 <<
"\n\n ERROR: The requested condition with tokenNumber = " << condNumberVal
61 <<
"\n does not exists in the operand token vector." 62 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" 76 edm::LogError(
"L1GlobalTriggerObjectMap") <<
"\n\n ERROR: The requested condition with name = " << condNameVal
77 <<
"\n does not exists in the operand token vector." 78 <<
"\n Returning false for getConditionResult\n\n" 101 myCout <<
"L1GlobalTriggerObjectMap: print " << std::endl;
103 myCout <<
" Algorithm name: " <<
m_algoName << std::endl;
109 myCout <<
" Operand token vector size: " << operandTokenVectorSize;
111 if (operandTokenVectorSize == 0) {
112 myCout <<
" - not properly initialized! " << std::endl;
116 for (
int i = 0;
i < operandTokenVectorSize; ++
i) {
124 myCout <<
" conditions: " << std::endl;
126 std::vector<CombinationsInCond>::const_iterator itVVV;
132 myCout <<
" Condition " << condName <<
" evaluated to " << condResult << std::endl;
134 myCout <<
" List of combinations passing all requirements for this condition:" << std::endl;
138 if ((*itVVV).empty()) {
141 CombinationsInCond::const_iterator itVV;
142 for (itVV = (*itVVV).begin(); itVV != (*itVVV).end(); itVV++) {
145 std::copy((*itVV).begin(), (*itVV).end(), std::ostream_iterator<int>(myCout,
" "));
void print(std::ostream &myCout) const
print the full object map
const CombinationsInCond * getCombinationsInCond(const std::string &condNameVal) const
return all the combinations passing the requirements imposed in condition condNameVal ...
Log< level::Error, false > LogError
std::vector< L1GtLogicParser::OperandToken > m_operandTokenVector
const bool getConditionResult(const std::string &condNameVal) const
return the result for the condition condNameVal
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