38 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator
41 if (itObj->algoName() == algoNameVal) {
50 <<
" ERROR: The requested algorithm name = " << algoNameVal
51 <<
" does not exist in the trigger menu." 52 <<
" Returning zero pointer for getObjectMap." << std::endl;
60 const int algoBitNumberVal)
const {
62 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator
65 if (itObj->algoBitNumber() == algoBitNumberVal) {
74 <<
" ERROR: The requested algorithm with bit number = " << algoBitNumberVal
75 <<
" does not exist in the trigger menu." 76 <<
" Returning zero pointer for getObjectMap." << std::endl;
88 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
91 if ( itObj->algoName() == algoNameVal ) {
93 return itObj->getCombinationsInCond(condNameVal);
100 <<
" ERROR: The requested (algorithm name, condition name) = (" 101 << algoNameVal <<
", " << condNameVal
102 <<
") does not exist in the trigger menu." 103 <<
" Returning zero pointer for getCombinationsInCond." 113 const int algoBitNumberVal,
const std::string& condNameVal)
const 116 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
119 if ( itObj->algoBitNumber() == algoBitNumberVal ) {
120 return itObj->getCombinationsInCond(condNameVal);
126 <<
" ERROR: The requested (algorithm bit number, condition name) = (" 127 << algoBitNumberVal <<
", " << condNameVal
128 <<
") does not exist in the trigger menu." 129 <<
" Returning zero pointer for getCombinationsInCond." 142 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
145 if ( itObj->algoName() == algoNameVal ) {
146 return itObj->getConditionResult(condNameVal);
152 <<
" ERROR: The requested (algorithm name, condition name) = (" 153 << algoNameVal <<
", " << condNameVal
154 <<
") does not exist in the trigger menu." 155 <<
" Returning false for condition result! Unknown result, in fact!" 165 const int algoBitNumberVal,
const std::string& condNameVal)
const 168 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
171 if ( itObj->algoBitNumber() == algoBitNumberVal ) {
172 return itObj->getConditionResult(condNameVal);
178 <<
" ERROR: The requested (algorithm bit number, condition name) = (" 179 << algoBitNumberVal <<
", " << condNameVal
180 <<
") does not exist in the trigger menu." 181 <<
" Returning false for condition result! Unknown result, in fact!"
const CombinationsInCond * getCombinationsInCond(const std::string &algoNameVal, const std::string &condNameVal) const
std::vector< L1GlobalTriggerObjectMap > m_gtObjectMap
bool getConditionResult(const std::string &algoNameVal, const std::string &condNameVal) const
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition
const L1GlobalTriggerObjectMap * getObjectMap(const std::string &algoNameVal) const
return the object map for the algorithm algoNameVal