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