1 #ifndef GlobalTrigger_AlgorithmEvaluation_h
2 #define GlobalTrigger_AlgorithmEvaluation_h
30 #include <boost/cstdint.hpp>
34 #include <ext/hash_map>
91 typedef __gnu_cxx ::hash_map<std::string, ConditionEvaluation*>
93 typedef ConditionEvaluationMap::const_iterator
CItEvalMap;
121 void print(std::ostream& myCout)
const;
bool gtAlgoResult() const
get / set the result of the algorithm
ConditionEvaluationMap::const_iterator CItEvalMap
void print(std::ostream &myCout) const
std::vector< L1GtLogicParser::OperandToken > & operandTokenVector()
void setGtAlgoResult(const bool algoResult)
__gnu_cxx::hash_map< std::string, ConditionEvaluation * > ConditionEvaluationMap
copy constructor
std::vector< CombinationsInCond > m_algoCombinationVector
ConditionEvaluationMap::iterator ItEvalMap
L1GtLogicParser::TokenRPN TokenRPN
std::string const & m_logicalExpression
std::vector< CombinationsInCond > & gtAlgoCombinationVector()
std::vector< TokenRPN > RpnVector
L1GtLogicParser::OperandToken OperandToken
AlgorithmEvaluation(const L1GtAlgorithm &)
constructor
void evaluateAlgorithm(const int chipNumber, const std::vector< ConditionEvaluationMap > &)
evaluate an algorithm
RpnVector const & m_rpnVector
bool m_algoResult
algorithm result
std::vector< OperandToken > m_operandTokenVector