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;
bool gtAlgoResult() const
get / set the result of the algorithm
ConditionEvaluationMap::const_iterator CItEvalMap
void print(std::ostream &myCout) const
void setGtAlgoResult(const bool algoResult)
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()
std::unordered_map< std::string, ConditionEvaluation * > ConditionEvaluationMap
copy constructor
bool m_algoResult
algorithm result
std::vector< OperandToken > m_operandTokenVector