1 #ifndef L1Trigger_L1TGlobal_AlgorithmEvaluation_h
2 #define L1Trigger_L1TGlobal_AlgorithmEvaluation_h
32 #include <boost/cstdint.hpp>
36 #include <ext/hash_map>
49 return hash<const char*> ()(x.c_str());
92 typedef __gnu_cxx ::hash_map<std::string, ConditionEvaluation*>
94 typedef ConditionEvaluationMap::const_iterator
CItEvalMap;
122 void print(std::ostream& myCout)
const;
bool gtAlgoResult() const
get / set the result of the algorithm
size_t operator()(const std::string &x) const
ConditionEvaluationMap::const_iterator CItEvalMap
void print(std::ostream &myCout) const
void setGtAlgoResult(const bool algoResult)
__gnu_cxx::hash_map< std::string, ConditionEvaluation * > ConditionEvaluationMap
copy constructor
std::vector< CombinationsInCond > m_algoCombinationVector
ConditionEvaluationMap::iterator ItEvalMap
std::string const & m_logicalExpression
std::vector< CombinationsInCond > & gtAlgoCombinationVector()
std::vector< TokenRPN > RpnVector
AlgorithmEvaluation(const GlobalAlgorithm &)
constructor
void evaluateAlgorithm(const int chipNumber, const std::vector< ConditionEvaluationMap > &)
evaluate an algorithm
RpnVector const & m_rpnVector
GlobalLogicParser::TokenRPN TokenRPN
GlobalLogicParser::OperandToken OperandToken
std::vector< GlobalLogicParser::OperandToken > & operandTokenVector()
bool m_algoResult
algorithm result
std::vector< OperandToken > m_operandTokenVector