1 #ifndef CondFormats_L1TObjects_L1GtAlgorithm_h
2 #define CondFormats_L1TObjects_L1GtAlgorithm_h
46 L1GtAlgorithm(
const std::string&,
const std::string&,
const int);
87 inline const std::vector<L1GtLogicParser::TokenRPN>&
algoRpnVector()
const {
118 const int pinsOnConditionChip,
119 const std::vector<int>& orderConditionChip)
const;
123 const int pinsOnConditionChip,
124 const std::vector<int>& orderConditionChip)
const;
127 virtual void print(std::ostream& myCout)
const;
std::string m_algoLogicalExpression
algorithm logical expression
void setAlgoAlias(const std::string &algoAliasValue)
virtual void print(std::ostream &myCout) const
print condition
void setAlgoBitNumber(const int algoBitNumberValue)
const std::string algoName() const
get / set algorithm name
virtual ~L1GtAlgorithm()
destructor
std::string const & algoAlias() const
get / set algorithm alias
void setAlgoChipNumber(const int algoChipNumberValue)
void setAlgoLogicalExpresssion(const std::string &logicalExpression)
const std::vector< L1GtLogicParser::TokenRPN > & algoRpnVector() const
return the RPN vector
std::string m_algoAlias
algorithm alias
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
std::string const & algoLogicalExpression() const
get / set the logical expression for the algorithm
int algoBitNumber() const
get / set algorithm bit number
std::vector< L1GtLogicParser::TokenRPN > m_algoRpnVector
algorithm RPN vector
std::string m_algoName
algorithm name
const int algoChipNumber() const
get / set algorithm bit number
friend std::ostream & operator<<(std::ostream &, const L1GtAlgorithm &)
output stream operator
void setAlgoName(const std::string &algoNameValue)
int m_algoChipNumber
chip number (redundant with bit number)