#include <GlobalAlgorithm.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< GlobalLogicParser::TokenRPN > & | algoRpnVector () const |
return the RPN vector More... | |
GlobalAlgorithm () | |
GlobalAlgorithm (const std::string &algoNameValue) | |
name only More... | |
GlobalAlgorithm (const std::string &, const std::string &) | |
name and logical expression More... | |
GlobalAlgorithm (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 | ~GlobalAlgorithm () |
destructor More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
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< GlobalLogicParser::TokenRPN > | m_algoRpnVector |
algorithm RPN vector More... | |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
std::ostream & | operator<< (std::ostream &, const GlobalAlgorithm &) |
output stream operator More... | |
Description: L1 GT algorithm.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 32 of file GlobalAlgorithm.h.
GlobalAlgorithm::GlobalAlgorithm | ( | ) |
constructor(s) empty
Definition at line 30 of file GlobalAlgorithm.cc.
References m_algoBitNumber, and m_algoChipNumber.
GlobalAlgorithm::GlobalAlgorithm | ( | const std::string & | algoNameValue | ) |
name only
Definition at line 38 of file GlobalAlgorithm.cc.
References m_algoBitNumber, and m_algoChipNumber.
GlobalAlgorithm::GlobalAlgorithm | ( | const std::string & | algoNameValue, |
const std::string & | algoLogicalExpressionValue | ||
) |
name and logical expression
Definition at line 46 of file GlobalAlgorithm.cc.
References m_algoBitNumber, m_algoChipNumber, m_algoLogicalExpression, m_algoRpnVector, and GlobalLogicParser::rpnVector().
GlobalAlgorithm::GlobalAlgorithm | ( | const std::string & | algoNameValue, |
const std::string & | algoLogicalExpressionValue, | ||
const int | algoBitNumberValue | ||
) |
name, logical expression and bit number
Definition at line 57 of file GlobalAlgorithm.cc.
References m_algoChipNumber, m_algoLogicalExpression, m_algoRpnVector, and GlobalLogicParser::rpnVector().
|
virtual |
|
inline |
get / set algorithm alias
Definition at line 57 of file GlobalAlgorithm.h.
References m_algoAlias.
Referenced by l1t::TriggerMenuParser::insertAlgorithmIntoMap().
|
inline |
get / set algorithm bit number
Definition at line 72 of file GlobalAlgorithm.h.
References m_algoBitNumber.
Referenced by l1t::TriggerMenuParser::insertAlgorithmIntoMap().
|
inline |
get / set algorithm bit number
Definition at line 77 of file GlobalAlgorithm.h.
References m_algoChipNumber.
Referenced by algoOutputPin(), and l1t::TriggerMenuParser::insertAlgorithmIntoMap().
const int GlobalAlgorithm::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 80 of file GlobalAlgorithm.cc.
References m_algoBitNumber.
|
inline |
get / set the logical expression for the algorithm
Definition at line 62 of file GlobalAlgorithm.h.
References m_algoLogicalExpression.
|
inline |
get / set algorithm name
Definition at line 52 of file GlobalAlgorithm.h.
References m_algoName.
Referenced by l1t::TriggerMenuParser::insertAlgorithmIntoMap().
const int GlobalAlgorithm::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 95 of file GlobalAlgorithm.cc.
References algoChipNumber(), and m_algoBitNumber.
Referenced by l1t::TriggerMenuParser::insertAlgorithmIntoMap().
|
inline |
return the RPN vector
Definition at line 69 of file GlobalAlgorithm.h.
References m_algoRpnVector.
|
virtual |
print condition
Definition at line 106 of file GlobalAlgorithm.cc.
References mps_fire::i, m_algoAlias, m_algoBitNumber, m_algoChipNumber, m_algoLogicalExpression, m_algoName, and m_algoRpnVector.
Referenced by l1t::TriggerMenuParser::parseAlgorithm().
|
private |
|
inline |
Definition at line 59 of file GlobalAlgorithm.h.
References m_algoAlias.
Referenced by l1t::TriggerMenuParser::parseAlgorithm().
|
inline |
|
inline |
Definition at line 79 of file GlobalAlgorithm.h.
References m_algoChipNumber.
Referenced by l1t::TriggerMenuParser::parseAlgorithm().
|
inline |
Definition at line 64 of file GlobalAlgorithm.h.
References hltEGL1SeedsForDoubleEleIsolatedFilter_cfi::logicalExpression, and m_algoLogicalExpression.
|
inline |
|
friend |
Definition at line 119 of file GlobalAlgorithm.h.
|
friend |
Definition at line 119 of file GlobalAlgorithm.h.
|
friend |
output stream operator
Definition at line 147 of file GlobalAlgorithm.cc.
|
private |
algorithm alias
Definition at line 103 of file GlobalAlgorithm.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 114 of file GlobalAlgorithm.h.
Referenced by algoBitNumber(), algoChipNumber(), algoOutputPin(), GlobalAlgorithm(), print(), and setAlgoBitNumber().
|
private |
chip number (redundant with bit number)
Definition at line 117 of file GlobalAlgorithm.h.
Referenced by algoChipNumber(), GlobalAlgorithm(), print(), and setAlgoChipNumber().
|
private |
algorithm logical expression
Definition at line 106 of file GlobalAlgorithm.h.
Referenced by algoLogicalExpression(), GlobalAlgorithm(), print(), and setAlgoLogicalExpresssion().
|
private |
algorithm name
Definition at line 100 of file GlobalAlgorithm.h.
Referenced by algoName(), print(), and setAlgoName().
|
private |
algorithm RPN vector
Definition at line 109 of file GlobalAlgorithm.h.
Referenced by algoRpnVector(), GlobalAlgorithm(), and print().