Go to the documentation of this file. 1 #ifndef DataFormats_PatCandidates_TriggerPath_h
2 #define DataFormats_PatCandidates_TriggerPath_h
32 typedef std::pair<bool, std::string>
L1Seed;
145 std::vector<std::string>
l1Seeds(
const bool decision)
const;
void addL1Seed(bool decision, const std::string &expression)
void addL1Seed(const L1Seed &seed)
Add a new L1 seed.
edm::RefVectorIterator< TriggerPathCollection > TriggerPathRefVectorIterator
Const iterator over vector of persistent references to items in the same TriggerPathCollection.
unsigned index() const
Get the path index.
void setError(bool error)
Set the error flag.
unsigned lastActiveFilterSlot() const
Get the index of the last active filter.
TriggerPath()
Constructors and Desctructor.
void addModule(const std::string &name)
Add a new module label.
std::string name_
Data Members.
unsigned l3Filters() const
std::pair< bool, std::string > L1Seed
Pair to store decision and name of L1 seeds.
bool wasAccept() const
Get the success flag.
void setPrescale(unsigned prescale)
Set the path pre-scale.
void setAccept(bool accept)
Set the success flag.
std::vector< unsigned > filterIndices_
int indexModule(const std::string &name) const
unsigned prescale_
Pre-scale.
void setName(const std::string &name)
Methods.
void setRun(bool run)
Set the run flag.
std::vector< TriggerPath > TriggerPathCollection
Collection of TriggerPath.
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
void setLastActiveFilterSlot(unsigned lastActiveFilterSlot)
Set the index of the last active filter.
unsigned prescale() const
Get the path pre-scale.
bool wasError() const
Get the error flag.
std::vector< std::string > acceptedL1Seeds() const
Get names of all succeeding L1 seeds.
void setIndex(unsigned index)
Set the path index.
const std::vector< std::string > & modules() const
Get all module labels.
std::vector< L1Seed > L1SeedCollection
Collection of L1Seed.
Analysis-level HLTrigger path class.
std::vector< std::string > failedL1Seeds() const
Get names of all failing L1 seeds.
std::vector< std::string > modules_
const std::string & name() const
Get the path name.
edm::RefProd< TriggerPathCollection > TriggerPathRefProd
Persistent reference to a TriggerPathCollection product.
unsigned lastActiveFilterSlot_
Index of the last active filter in the list of modules.
bool wasRun() const
Get the run flag.
edm::RefVector< TriggerPathCollection > TriggerPathRefVector
Vector of persistent references to items in the same TriggerPathCollection.
unsigned index_
Path index in trigger table.
edm::Ref< TriggerPathCollection > TriggerPathRef
Persistent reference to an item in a TriggerPathCollection.
const L1SeedCollection & l1Seeds() const
Get all L1 seeds.
bool error_
Was path in error?
const std::vector< unsigned > & filterIndices() const
Get all trigger fillter collection indeces.
virtual ~TriggerPath()
Destructor.
void addFilterIndex(const unsigned index)
Add a new trigger fillter collection index.
void setL3Filters(unsigned l3Filters)
Set the number of modules identified as L3 filter.
bool accept_
Did path succeed?
L1SeedCollection l1Seeds_
List of L1 seeds and their decisions.