1 #ifndef DataFormats_PatCandidates_TriggerFilter_h 2 #define DataFormats_PatCandidates_TriggerFilter_h
edm::RefVector< TriggerFilterCollection > TriggerFilterRefVector
Vector of persistent references to items in the same TriggerFilterCollection.
int status_
Indicator for filter status: -1: not run, 0: failed, 1: succeeded.
virtual ~TriggerFilter()
Destructor.
edm::RefVectorIterator< TriggerFilterCollection > TriggerFilterRefVectorIterator
Const iterator over vector of persistent references to items in the same TriggerFilterCollection.
bool setStatus(int status)
bool hasTriggerObjectType(int triggerObjectType) const
TriggerFilter()
Constructors and Desctructor.
void setLabel(const std::string &label)
Methods.
void addTriggerObjectType(trigger::TriggerObjectType triggerObjectType)
Add a new trigger object type identifier.
std::vector< int > objectIds() const
bool hasObjectId(trigger::TriggerObjectType triggerObjectType) const
void addObjectKey(unsigned objectKey)
Add a new trigger object collection index.
std::vector< unsigned > objectKeys_
std::vector< trigger::TriggerObjectType > triggerObjectTypes_
bool hasTriggerObjectType(trigger::TriggerObjectType triggerObjectType) const
Checks, if a certain trigger object type identifier is assigned.
Analysis-level HLTrigger filter class.
edm::Ref< TriggerFilterCollection > TriggerFilterRef
Persistent reference to an item in a TriggerFilterCollection.
void addTriggerObjectType(int triggerObjectType)
const std::string & type() const
Get the filter module type.
bool hasObjectKey(unsigned objectKey) const
Checks, if a certain trigger object collection index is assigned.
void setSaveTags(bool saveTags)
Set the L3 status.
bool saveTags() const
Get the L3 status.
int status() const
Get the filter status.
std::string label_
Data Members.
std::vector< TriggerFilter > TriggerFilterCollection
Collection of TriggerFilter.
bool hasObjectId(int triggerObjectType) const
std::string type_
CMSSW module type.
void addObjectId(trigger::TriggerObjectType triggerObjectType)
void setType(const std::string &type)
Set the filter module type.
void addObjectId(int triggerObjectType)
const std::string & label() const
Get the filter label.
std::vector< int > triggerObjectTypes() const
Get all trigger object type identifiers.
edm::RefProd< TriggerFilterCollection > TriggerFilterRefProd
Persistent reference to a TriggerFilterCollection product.
const std::vector< unsigned > & objectKeys() const
Get all trigger object collection indeces.