1 #ifndef DataFormats_PatCandidates_TriggerAlgorithm_h 2 #define DataFormats_PatCandidates_TriggerAlgorithm_h Analysis-level L1 trigger algorithm class.
bool decisionAfterMask() const
Get L1 algorithm decision, considering the mask.
edm::Ref< TriggerAlgorithmCollection > TriggerAlgorithmRef
Persistent reference to an item in a TriggerAlgorithmCollection.
bool gtlResult_
L1 algorithm result as determined on the GTL board.
std::string logic_
L1 algorithm logival expression.
std::vector< TriggerAlgorithm > TriggerAlgorithmCollection
Collection of TriggerAlgorithm.
edm::RefVector< TriggerAlgorithmCollection > TriggerAlgorithmRefVector
Vector of persistent references to items in the same TriggerAlgorithmCollection.
void setGtlResult(bool gtlResult)
Set L1 algorithm GTL result.
std::string name_
Data Members.
unsigned bit_
L1 algorithm bit number.
void setBit(unsigned bit)
Set L1 algorithm bit number.
bool tech_
Flag for technical L1 algorithms.
void setMask(bool mask)
Set L1 algorithm mask.
bool techTrigger() const
Get flag for technical L1 algorithms.
bool gtlResult() const
Get L1 algorithm GTL result.
std::string alias_
L1 algorithm alias.
void setDecisionBeforeMask(bool decisionBeforeMask)
Set L1 algorithm decision, not considering the mask.
unsigned bit() const
Get L1 algorithm bit number.
virtual ~TriggerAlgorithm()
Destructor.
edm::RefVectorIterator< TriggerAlgorithmCollection > TriggerAlgorithmRefVectorIterator
Const iterator over vector of persistent references to items in the same TriggerAlgorithmCollection.
bool mask_
L1 algorithm mask.
bool mask() const
Get L1 algorithm mask.
void setLogicalExpression(const std::string &expression)
Set L1 algorithm logical expression.
void setPrescale(unsigned prescale)
Set L1 algorithm pre-scale.
const std::string & logicalExpression() const
Get L1 algorithm logical expression.
const std::string & alias() const
Get L1 algorithm alias.
std::vector< unsigned > conditionKeys_
void setDecisionAfterMas(bool decisionAfterMask)
Set L1 algorithm decision, considering the mask.
bool decisionBeforeMask_
L1 algorithm decision, not considering the mask.
unsigned prescale_
L1 algorithm pre-scale.
edm::RefProd< TriggerAlgorithmCollection > TriggerAlgorithmRefProd
Persistent reference to a TriggerAlgorithmCollection product.
const std::string & name() const
Get L1 algorithm name.
void addConditionKey(unsigned conditionKey)
Add a new trigger condition collection index.
void setTechTrigger(bool tech)
Set flag for technical L1 algorithms.
void setName(const std::string &name)
Methods.
TriggerAlgorithm()
Constructors and Destructor.
unsigned prescale() const
Get L1 algorithm pre-scale.
void setAlias(const std::string &alias)
Set L1 algorithm alias.
bool hasConditionKey(unsigned conditionKey) const
Checks, if a certain trigger condition collection index is assigned.
bool decisionAfterMask_
L1 algorithm decision, considering the mask.
const std::vector< unsigned > & conditionKeys() const
Get all trigger condition collection indeces.
bool decisionBeforeMask() const
Get L1 algorithm decision, not considering the mask.