#include <L1GtAlgorithm.h>
Public Member Functions | |
std::string const & | algoAlias () const |
get / set algorithm alias More... | |
int | algoBitNumber () const |
get / set algorithm bit number More... | |
const int | algoChipNumber () const |
get / set algorithm bit number More... | |
const int | algoChipNumber (const int numberConditionChips, const int pinsOnConditionChip, const std::vector< int > &orderConditionChip) const |
get the condition chip number the algorithm is located on More... | |
std::string const & | algoLogicalExpression () const |
get / set the logical expression for the algorithm More... | |
const std::string | algoName () const |
get / set algorithm name More... | |
const int | algoOutputPin (const int numberConditionChips, const int pinsOnConditionChip, const std::vector< int > &orderConditionChip) const |
get the output pin on the condition chip for the algorithm More... | |
const std::vector < L1GtLogicParser::TokenRPN > & | algoRpnVector () const |
return the RPN vector More... | |
L1GtAlgorithm () | |
L1GtAlgorithm (const std::string &algoNameValue) | |
name only More... | |
L1GtAlgorithm (const std::string &, const std::string &) | |
name and logical expression More... | |
L1GtAlgorithm (const std::string &, const std::string &, const int) | |
name, logical expression and bit number More... | |
virtual void | print (std::ostream &myCout) const |
print condition More... | |
void | setAlgoAlias (const std::string &algoAliasValue) |
void | setAlgoBitNumber (const int algoBitNumberValue) |
void | setAlgoChipNumber (const int algoChipNumberValue) |
void | setAlgoLogicalExpresssion (const std::string &logicalExpression) |
void | setAlgoName (const std::string &algoNameValue) |
virtual | ~L1GtAlgorithm () |
destructor More... | |
Private Attributes | |
COND_SERIALIZABLE | |
std::string | m_algoAlias |
algorithm alias More... | |
int | m_algoBitNumber |
int | m_algoChipNumber |
chip number (redundant with bit number) More... | |
std::string | m_algoLogicalExpression |
algorithm logical expression More... | |
std::string | m_algoName |
algorithm name More... | |
std::vector < L1GtLogicParser::TokenRPN > | m_algoRpnVector |
algorithm RPN vector More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1GtAlgorithm &) |
output stream operator More... | |
Description: L1 GT algorithm.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 32 of file L1GtAlgorithm.h.
L1GtAlgorithm::L1GtAlgorithm | ( | ) |
constructor(s) empty
Definition at line 30 of file L1GtAlgorithm.cc.
References m_algoBitNumber, and m_algoChipNumber.
L1GtAlgorithm::L1GtAlgorithm | ( | const std::string & | algoNameValue | ) |
name only
Definition at line 40 of file L1GtAlgorithm.cc.
References m_algoBitNumber, and m_algoChipNumber.
L1GtAlgorithm::L1GtAlgorithm | ( | const std::string & | algoNameValue, |
const std::string & | algoLogicalExpressionValue | ||
) |
name and logical expression
Definition at line 51 of file L1GtAlgorithm.cc.
References m_algoBitNumber, m_algoChipNumber, m_algoLogicalExpression, m_algoRpnVector, and L1GtLogicParser::rpnVector().
L1GtAlgorithm::L1GtAlgorithm | ( | const std::string & | algoNameValue, |
const std::string & | algoLogicalExpressionValue, | ||
const int | algoBitNumberValue | ||
) |
name, logical expression and bit number
Definition at line 64 of file L1GtAlgorithm.cc.
References m_algoChipNumber, m_algoLogicalExpression, m_algoRpnVector, and L1GtLogicParser::rpnVector().
|
virtual |
|
inline |
get / set algorithm alias
Definition at line 67 of file L1GtAlgorithm.h.
References m_algoAlias.
Referenced by L1GtTriggerMenuXmlParser::insertAlgorithmIntoMap(), and l1t::TriggerMenuXmlParser::insertAlgorithmIntoMap().
|
inline |
get / set algorithm bit number
Definition at line 94 of file L1GtAlgorithm.h.
References m_algoBitNumber.
Referenced by L1GtTriggerMenuXmlParser::insertAlgorithmIntoMap(), l1t::TriggerMenuXmlParser::insertAlgorithmIntoMap(), L1GtTriggerMenuXmlParser::insertTechTriggerIntoMap(), and l1t::TriggerMenuXmlParser::insertTechTriggerIntoMap().
|
inline |
get / set algorithm bit number
Definition at line 105 of file L1GtAlgorithm.h.
References m_algoChipNumber.
Referenced by algoOutputPin(), L1GtTriggerMenuXmlParser::insertAlgorithmIntoMap(), and l1t::TriggerMenuXmlParser::insertAlgorithmIntoMap().
const int L1GtAlgorithm::algoChipNumber | ( | const int | numberConditionChips, |
const int | pinsOnConditionChip, | ||
const std::vector< int > & | orderConditionChip | ||
) | const |
get the condition chip number the algorithm is located on
Definition at line 88 of file L1GtAlgorithm.cc.
References m_algoBitNumber.
|
inline |
get / set the logical expression for the algorithm
Definition at line 78 of file L1GtAlgorithm.h.
References m_algoLogicalExpression.
|
inline |
get / set algorithm name
Definition at line 56 of file L1GtAlgorithm.h.
References m_algoName.
Referenced by L1GtTriggerMenuXmlParser::insertAlgorithmIntoMap(), l1t::TriggerMenuXmlParser::insertAlgorithmIntoMap(), L1GtTriggerMenuXmlParser::insertTechTriggerIntoMap(), and l1t::TriggerMenuXmlParser::insertTechTriggerIntoMap().
const int L1GtAlgorithm::algoOutputPin | ( | const int | numberConditionChips, |
const int | pinsOnConditionChip, | ||
const std::vector< int > & | orderConditionChip | ||
) | const |
get the output pin on the condition chip for the algorithm
Definition at line 104 of file L1GtAlgorithm.cc.
References algoChipNumber(), and m_algoBitNumber.
Referenced by L1GtTriggerMenuXmlParser::insertAlgorithmIntoMap(), and l1t::TriggerMenuXmlParser::insertAlgorithmIntoMap().
|
inline |
return the RPN vector
Definition at line 89 of file L1GtAlgorithm.h.
References m_algoRpnVector.
|
virtual |
print condition
Definition at line 119 of file L1GtAlgorithm.cc.
References i, m_algoAlias, m_algoBitNumber, m_algoChipNumber, m_algoLogicalExpression, m_algoName, and m_algoRpnVector.
Referenced by operator<<(), l1t::TriggerMenuXmlParser::workAlgorithm(), L1GtTriggerMenuXmlParser::workTechTrigger(), and l1t::TriggerMenuXmlParser::workTechTrigger().
|
inline |
Definition at line 72 of file L1GtAlgorithm.h.
References m_algoAlias.
Referenced by L1GtTriggerMenuConfigOnlineProd::buildAlgorithmMap(), l1t::TriggerMenuXmlParser::workAlgorithm(), L1GtTriggerMenuXmlParser::workTechTrigger(), and l1t::TriggerMenuXmlParser::workTechTrigger().
|
inline |
|
inline |
Definition at line 110 of file L1GtAlgorithm.h.
References m_algoChipNumber.
Referenced by L1GtTriggerMenuConfigOnlineProd::buildAlgorithmMap(), and l1t::TriggerMenuXmlParser::workAlgorithm().
|
inline |
Definition at line 83 of file L1GtAlgorithm.h.
References m_algoLogicalExpression.
|
inline |
|
friend |
output stream operator
Definition at line 166 of file L1GtAlgorithm.cc.
|
private |
Definition at line 158 of file L1GtAlgorithm.h.
|
private |
algorithm alias
Definition at line 141 of file L1GtAlgorithm.h.
Referenced by algoAlias(), print(), and setAlgoAlias().
|
private |
bit number (determined by output pin, chip number, chip order) the result for the algorithm is found at m_algoBitNumber position in the decision word vector<bool>
Definition at line 152 of file L1GtAlgorithm.h.
Referenced by algoBitNumber(), algoChipNumber(), algoOutputPin(), L1GtAlgorithm(), print(), and setAlgoBitNumber().
|
private |
chip number (redundant with bit number)
Definition at line 155 of file L1GtAlgorithm.h.
Referenced by algoChipNumber(), L1GtAlgorithm(), print(), and setAlgoChipNumber().
|
private |
algorithm logical expression
Definition at line 144 of file L1GtAlgorithm.h.
Referenced by algoLogicalExpression(), L1GtAlgorithm(), print(), and setAlgoLogicalExpresssion().
|
private |
algorithm name
Definition at line 138 of file L1GtAlgorithm.h.
Referenced by algoName(), print(), and setAlgoName().
|
private |
algorithm RPN vector
Definition at line 147 of file L1GtAlgorithm.h.
Referenced by algoRpnVector(), L1GtAlgorithm(), and print().