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