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 setIndex(unsigned index)
Set the path index.
std::vector< unsigned > filterIndices_
std::vector< L1Seed > L1SeedCollection
Collection of L1Seed.
void setPrescale(unsigned prescale)
Set the path pre-scale.
edm::RefVector< TriggerPathCollection > TriggerPathRefVector
Vector of persistent references to items in the same TriggerPathCollection.
unsigned prescale_
Pre-scale.
const std::string & name() const
Get the path name.
edm::Ref< TriggerPathCollection > TriggerPathRef
Persistent reference to an item in a TriggerPathCollection.
edm::RefProd< TriggerPathCollection > TriggerPathRefProd
Persistent reference to a TriggerPathCollection product.
std::vector< std::string > failedL1Seeds() const
Get names of all failing L1 seeds.
bool accept_
Did path succeed?
std::vector< std::string > modules_
unsigned index() const
Get the path index.
const L1SeedCollection & l1Seeds() const
Get all L1 seeds.
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
std::string name_
Data Members.
unsigned l3Filters() const
edm::RefVectorIterator< TriggerPathCollection > TriggerPathRefVectorIterator
Const iterator over vector of persistent references to items in the same TriggerPathCollection.
const std::vector< std::string > & modules() const
Get all module labels.
const std::vector< unsigned > & filterIndices() const
Get all trigger fillter collection indeces.
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.
std::pair< bool, std::string > L1Seed
Pair to store decision and name of L1 seeds.
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.
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.
unsigned prescale() const
Get the path pre-scale.
bool wasError() const
Get the error flag.
std::vector< TriggerPath > TriggerPathCollection
Collection of TriggerPath.
void setAccept(bool accept)
Set the success flag.
bool wasAccept() const
Get the success flag.
bool error_
Was path in error?
void addFilterIndex(const unsigned index)
Add a new trigger fillter collection index.
virtual ~TriggerPath()
Destructor.
int indexModule(const std::string &name) const
unsigned lastActiveFilterSlot() const
Get the index of the last active filter.
unsigned lastActiveFilterSlot_
Index of the last active filter in the list of modules.
bool wasRun() const
Get the run flag.
void addModule(const std::string &name)
Add a new module label.
unsigned index_
Path index in trigger table.
std::vector< std::string > acceptedL1Seeds() const
Get names of all succeeding L1 seeds.