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