38 const std::string& algoNameVal)
const {
40 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator
43 if (itObj->algoName() == algoNameVal) {
52 <<
"\n\n ERROR: The requested algorithm name = " << algoNameVal
53 <<
"\n does not exists in the trigger menu."
54 <<
"\n Returning zero pointer for getObjectMap\n\n" << std::endl;
62 const int algoBitNumberVal)
const {
64 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator
67 if (itObj->algoBitNumber() == algoBitNumberVal) {
76 <<
"\n\n ERROR: The requested algorithm with bit number = " << algoBitNumberVal
77 <<
"\n does not exists in the trigger menu."
78 <<
"\n Returning zero pointer for getObjectMap\n\n" << std::endl;
87 const std::string& algoNameVal,
const std::string& condNameVal)
const
90 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
93 if ( itObj->algoName() == algoNameVal ) {
95 return itObj->getCombinationsInCond(condNameVal);
102 <<
"\n\n ERROR: The requested \n (algorithm name, condition name) = ("
103 << algoNameVal <<
", " << condNameVal
104 <<
") \n does not exists in the trigger menu."
105 <<
"\n Returning zero pointer for getCombinationsInCond\n\n"
115 const int algoBitNumberVal,
const std::string& condNameVal)
const
118 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
121 if ( itObj->algoBitNumber() == algoBitNumberVal ) {
122 return itObj->getCombinationsInCond(condNameVal);
128 <<
"\n\n ERROR: The requested \n (algorithm bit number, condition name) = ("
129 << algoBitNumberVal <<
", " << condNameVal
130 <<
") \n does not exists in the trigger menu."
131 <<
"\n Returning zero pointer for getCombinationsInCond\n\n"
141 const std::string& algoNameVal,
const std::string& condNameVal)
const
144 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
147 if ( itObj->algoName() == algoNameVal ) {
148 return itObj->getConditionResult(condNameVal);
154 <<
"\n\n ERROR: The requested \n (algorithm name, condition name) = ("
155 << algoNameVal <<
", " << condNameVal
156 <<
") \n does not exists in the trigger menu."
157 <<
"\n Returning false for condition result! Unknown result, in fact!\n\n"
167 const int algoBitNumberVal,
const std::string& condNameVal)
const
170 for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
173 if ( itObj->algoBitNumber() == algoBitNumberVal ) {
174 return itObj->getConditionResult(condNameVal);
180 <<
"\n\n ERROR: The requested \n (algorithm bit number, condition name) = ("
181 << algoBitNumberVal <<
", " << condNameVal
182 <<
") \n does not exists in the trigger menu."
183 <<
"\n Returning false for condition result! Unknown result, in fact!\n\n"
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