1 #ifndef GlobalTrigger_L1GtAlgorithmEvaluation_h 2 #define GlobalTrigger_L1GtAlgorithmEvaluation_h 26 #include <unordered_map> 55 typedef ConditionEvaluationMap::const_iterator
CItEvalMap;
65 void evaluateAlgorithm(
const int chipNumber,
const std::vector<ConditionEvaluationMap> &);
73 void print(std::ostream &myCout)
const;
RpnVector const & m_rpnVector
std::vector< TokenRPN > RpnVector
bool m_algoResult
algorithm result
L1GtLogicParser::TokenRPN TokenRPN
std::vector< CombinationsInCond > & gtAlgoCombinationVector()
bool gtAlgoResult() const
get / set the result of the algorithm
std::vector< L1GtLogicParser::OperandToken > & operandTokenVector()
std::vector< OperandToken > m_operandTokenVector
L1GtLogicParser::OperandToken OperandToken
void print(std::ostream &myCout) const
std::vector< CombinationsInCond > m_algoCombinationVector
std ::unordered_map< std::string, L1GtConditionEvaluation * > ConditionEvaluationMap
copy constructor
void setGtAlgoResult(const bool algoResult)
ConditionEvaluationMap::iterator ItEvalMap
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