#include <HLTEventSelector.h>
Public Member Functions | |
HLTEventSelector (const edm::ParameterSet &pset, edm::ConsumesCollector &&iC) | |
HLTEventSelector (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
bool | select (const edm::Event &) const override |
decision of the selector module More... | |
~HLTEventSelector () override | |
Public Member Functions inherited from EventSelector | |
const std::vector< std::string > & | description () |
EventSelector () | |
EventSelector (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
EventSelector (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
const std::string & | name () const |
name of the module (from configuration) More... | |
virtual | ~EventSelector () |
Private Attributes | |
std::vector< std::string > | pathNames_ |
trigger path names (ORed) More... | |
edm::InputTag | triggerResults_ |
tag for input collection More... | |
edm::EDGetTokenT < edm::TriggerResults > | triggerResultsToken_ |
Additional Inherited Members | |
Protected Attributes inherited from EventSelector | |
std::vector< std::string > | description_ |
std::string | name_ |
Trivial example for a HLT selector. To be modified for analysis!
Definition at line 25 of file HLTEventSelector.h.
|
inline |
Definition at line 27 of file HLTEventSelector.h.
HLTEventSelector::HLTEventSelector | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 7 of file HLTEventSelector.cc.
References edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), pathNames_, edm::HLTGlobalStatus::size(), triggerResults_, and triggerResultsToken_.
|
inlineoverride |
Definition at line 30 of file HLTEventSelector.h.
|
overridevirtual |
decision of the selector module
Implements EventSelector.
Definition at line 19 of file HLTEventSelector.cc.
References mps_fire::i, edm::HandleBase::isValid(), LogDebug, pathNames_, edm::TriggerNames::size(), edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerNames(), triggerResults_, and triggerResultsToken_.
|
private |
trigger path names (ORed)
Definition at line 35 of file HLTEventSelector.h.
Referenced by HLTEventSelector(), and select().
|
private |
tag for input collection
Definition at line 33 of file HLTEventSelector.h.
Referenced by HLTEventSelector(), and select().
|
private |
Definition at line 34 of file HLTEventSelector.h.
Referenced by HLTEventSelector(), and select().