#include <L1GtAlgorithmEvaluation.h>
Public Types | |
typedef ConditionEvaluationMap::const_iterator | CItEvalMap |
typedef __gnu_cxx::hash_map < std::string, L1GtConditionEvaluation * > | ConditionEvaluationMap |
copy constructor More... | |
typedef ConditionEvaluationMap::iterator | ItEvalMap |
typedef L1GtLogicParser::OperandToken | OperandToken |
typedef std::vector< TokenRPN > | RpnVector |
typedef L1GtLogicParser::TokenRPN | TokenRPN |
Public Member Functions | |
void | evaluateAlgorithm (const int chipNumber, const std::vector< ConditionEvaluationMap > &) |
evaluate an algorithm More... | |
std::vector< CombinationsInCond > & | gtAlgoCombinationVector () |
bool | gtAlgoResult () const |
get / set the result of the algorithm More... | |
L1GtAlgorithmEvaluation (const L1GtAlgorithm &) | |
constructor More... | |
std::vector < L1GtLogicParser::OperandToken > & | operandTokenVector () |
void | print (std::ostream &myCout) const |
void | setGtAlgoResult (const bool algoResult) |
Private Attributes | |
std::vector< CombinationsInCond > | m_algoCombinationVector |
bool | m_algoResult |
algorithm result More... | |
std::string const & | m_logicalExpression |
std::vector< OperandToken > | m_operandTokenVector |
RpnVector const & | m_rpnVector |
Description: Evaluation of a L1 Global Trigger algorithm.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 68 of file L1GtAlgorithmEvaluation.h.
typedef ConditionEvaluationMap::const_iterator L1GtAlgorithmEvaluation::CItEvalMap |
Definition at line 90 of file L1GtAlgorithmEvaluation.h.
typedef __gnu_cxx ::hash_map<std::string, L1GtConditionEvaluation*> L1GtAlgorithmEvaluation::ConditionEvaluationMap |
typedef ConditionEvaluationMap::iterator L1GtAlgorithmEvaluation::ItEvalMap |
Definition at line 91 of file L1GtAlgorithmEvaluation.h.
Definition at line 73 of file L1GtAlgorithmEvaluation.h.
typedef std::vector<TokenRPN> L1GtAlgorithmEvaluation::RpnVector |
Definition at line 72 of file L1GtAlgorithmEvaluation.h.
Definition at line 71 of file L1GtAlgorithmEvaluation.h.
|
explicit |
constructor
constructor from an algorithm from event setup
Definition at line 47 of file L1GtAlgorithmEvaluation.cc.
void L1GtAlgorithmEvaluation::evaluateAlgorithm | ( | const int | chipNumber, |
const std::vector< ConditionEvaluationMap > & | conditionResultMaps | ||
) |
evaluate an algorithm
Definition at line 60 of file L1GtAlgorithmEvaluation.cc.
References edm::hlt::Exception, spr::find(), m_algoCombinationVector, m_algoResult, m_logicalExpression, m_operandTokenVector, m_rpnVector, L1GtLogicParser::OP_AND, L1GtLogicParser::OP_NOT, L1GtLogicParser::OP_OPERAND, L1GtLogicParser::OP_OR, L1GtLogicParser::OperandToken::tokenName, L1GtLogicParser::OperandToken::tokenNumber, and L1GtLogicParser::OperandToken::tokenResult.
Referenced by L1GlobalTriggerGTL::run().
|
inline |
get all the object combinations evaluated to true in the conditions from the algorithm
Definition at line 110 of file L1GtAlgorithmEvaluation.h.
References m_algoCombinationVector.
Referenced by L1GlobalTriggerGTL::run().
|
inline |
get / set the result of the algorithm
Definition at line 96 of file L1GtAlgorithmEvaluation.h.
References m_algoResult.
Referenced by L1GlobalTriggerGTL::run().
|
inline |
Definition at line 114 of file L1GtAlgorithmEvaluation.h.
References m_operandTokenVector.
Referenced by L1GlobalTriggerGTL::run().
void L1GtAlgorithmEvaluation::print | ( | std::ostream & | myCout | ) | const |
Definition at line 186 of file L1GtAlgorithmEvaluation.cc.
References i, m_algoCombinationVector, m_algoResult, and m_operandTokenVector.
Referenced by L1GlobalTriggerGTL::run().
|
inline |
Definition at line 100 of file L1GtAlgorithmEvaluation.h.
References m_algoResult.
|
private |
Definition at line 131 of file L1GtAlgorithmEvaluation.h.
Referenced by evaluateAlgorithm(), gtAlgoCombinationVector(), and print().
|
private |
algorithm result
Definition at line 123 of file L1GtAlgorithmEvaluation.h.
Referenced by evaluateAlgorithm(), gtAlgoResult(), print(), and setGtAlgoResult().
|
private |
Definition at line 126 of file L1GtAlgorithmEvaluation.h.
Referenced by evaluateAlgorithm().
|
private |
Definition at line 129 of file L1GtAlgorithmEvaluation.h.
Referenced by evaluateAlgorithm(), operandTokenVector(), and print().
|
private |
Definition at line 127 of file L1GtAlgorithmEvaluation.h.
Referenced by evaluateAlgorithm().