35 for (std::vector<GlobalObjectMap>::const_iterator
38 if (itObj->algoName() == algoNameVal) {
47 <<
"\n\n ERROR: The requested algorithm name = " << algoNameVal
48 <<
"\n does not exists in the trigger menu." 49 <<
"\n Returning zero pointer for getObjectMap\n\n" << std::endl;
57 const int algoBitNumberVal)
const {
59 for (std::vector<GlobalObjectMap>::const_iterator
62 if (itObj->algoBitNumber() == algoBitNumberVal) {
71 <<
"\n\n ERROR: The requested algorithm with bit number = " << algoBitNumberVal
72 <<
"\n does not exists in the trigger menu." 73 <<
"\n Returning zero pointer for getObjectMap\n\n" << std::endl;
85 for (std::vector<GlobalObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
88 if ( itObj->algoName() == algoNameVal ) {
90 return itObj->getCombinationsInCond(condNameVal);
97 <<
"\n\n ERROR: The requested \n (algorithm name, condition name) = (" 98 << algoNameVal <<
", " << condNameVal
99 <<
") \n does not exists in the trigger menu." 100 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" 110 const int algoBitNumberVal,
const std::string& condNameVal)
const 113 for (std::vector<GlobalObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
116 if ( itObj->algoBitNumber() == algoBitNumberVal ) {
117 return itObj->getCombinationsInCond(condNameVal);
123 <<
"\n\n ERROR: The requested \n (algorithm bit number, condition name) = (" 124 << algoBitNumberVal <<
", " << condNameVal
125 <<
") \n does not exists in the trigger menu." 126 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" 139 for (std::vector<GlobalObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
142 if ( itObj->algoName() == algoNameVal ) {
143 return itObj->getConditionResult(condNameVal);
149 <<
"\n\n ERROR: The requested \n (algorithm name, condition name) = (" 150 << algoNameVal <<
", " << condNameVal
151 <<
") \n does not exists in the trigger menu." 152 <<
"\n Returning false for condition result! Unknown result, in fact!\n\n" 162 const int algoBitNumberVal,
const std::string& condNameVal)
const 165 for (std::vector<GlobalObjectMap>::const_iterator itObj =
m_gtObjectMap.begin();
168 if ( itObj->algoBitNumber() == algoBitNumberVal ) {
169 return itObj->getConditionResult(condNameVal);
175 <<
"\n\n ERROR: The requested \n (algorithm bit number, condition name) = (" 176 << algoBitNumberVal <<
", " << condNameVal
177 <<
") \n does not exists in the trigger menu." 178 <<
"\n Returning false for condition result! Unknown result, in fact!\n\n"
const GlobalObjectMap * getObjectMap(const std::string &algoNameVal) const
return the object map for the algorithm algoNameVal
bool getConditionResult(const std::string &algoNameVal, const std::string &condNameVal) const
std::vector< GlobalObjectMap > m_gtObjectMap
const CombinationsInCond * getCombinationsInCond(const std::string &algoNameVal, const std::string &condNameVal) const
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition