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