1 #ifndef GlobalTrigger_L1GtAlgorithmEvaluation_h 2 #define GlobalTrigger_L1GtAlgorithmEvaluation_h 30 #include <boost/cstdint.hpp> 34 #include <ext/hash_map> 45 return hash<const char*> ()(x.c_str());
86 typedef __gnu_cxx ::hash_map<std::string, L1GtConditionEvaluation*>
88 typedef ConditionEvaluationMap::const_iterator
CItEvalMap;
99 m_algoResult = algoResult;
103 void evaluateAlgorithm(
const int chipNumber,
const std::vector<
109 return m_algoCombinationVector;
113 return m_operandTokenVector;
116 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
S & print(S &os, JobReport::InputFile const &f)
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
std::string const & m_logicalExpression
ConditionEvaluationMap::const_iterator CItEvalMap