Go to the documentation of this file. 1 #ifndef HLTReco_TriggerEvent_h
2 #define HLTReco_TriggerEvent_h
115 return (
idx == std::string::npos ?
tag :
tag.substr(0,
idx));
TriggerFilterObject(const edm::InputTag &filterTag, const Vids &filterIds, const Keys &filterKeys)
trigger::size_type sizeFilters() const
const Keys & filterKeys(trigger::size_type index) const
TriggerFilterObject()
constructors
std::vector< std::string > collectionTags_
Input tags of packed up collections.
const Keys & collectionKeys() const
const std::string & collectionTagEncoded(trigger::size_type index) const
std::string filterTag_
encoded InputTag of filter product
Vids filterIds_
physics object type as per filter
const edm::InputTag collectionTag(trigger::size_type index) const
const std::vector< std::string > & collectionTags() const
void addCollections(const std::vector< edm::InputTag > &collectionTags, const Keys &collectionKeys)
trigger::size_type collectionKey(trigger::size_type index) const
void addCollections(const std::vector< std::string > &collectionTags, const Keys &collectionKeys)
std::string filterLabel(trigger::size_type index) const
const edm::InputTag filterTag(trigger::size_type index) const
Keys filterKeys_
indices pointing into collection of unique TriggerObjects
TriggerObjectCollection triggerObjects_
collection of all unique physics objects (linearised vector)
Keys collectionKeys_
1-past-end indices into linearised vector
std::vector< TriggerFilterObject > triggerFilters_
collection of all TriggerFilterObjects
TriggerFilterObject(const edm::InputTag &filterTag)
trigger::size_type sizeCollections() const
other
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
std::string usedProcessName_
data members
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
std::vector< size_type > Keys
void addFilter(const edm::InputTag &filterTag, const Vids &filterIds, const Keys &filterKeys)
The single EDProduct to be saved for each event (AOD case)
const TriggerObjectCollection & getObjects() const
trigger::size_type sizeObjects() const
const Vids & filterIds(trigger::size_type index) const
const std::string & filterTagEncoded(trigger::size_type index) const
void addObjects(const TriggerObjectCollection &triggerObjects)
setters
TriggerEvent(const std::string &usedProcessName, trigger::size_type nc, trigger::size_type no, trigger::size_type nf)
trigger::size_type collectionIndex(const edm::InputTag &collectionTag) const
find index of collection from collection tag
const std::string & usedProcessName() const
getters
Helper class: recording trigger objects firing a single filter.