14 edm::LogInfo(
"HLTEventSelector") <<
"constructed with \n" 16 <<
" #pathnames = " << pathNames_.
size();
35 unsigned int trgSize = trgNames.
size();
47 for ( std::vector<std::string>::const_iterator
i=
pathNames_.begin();
51 if ( index==trgSize ) {
57 if ( hltHandle->
accept(index) ) {
58 LogDebug(
"HLTEventSelector") <<
"Event selected by " << *
i;
63 LogDebug(
"HLTEventSelector") <<
"Event rejected";
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
bool accept() const
Has at least one path accepted the event?
Strings::size_type size() const
HLTEventSelector(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
edm::InputTag triggerResults_
tag for input collection
Strings const & triggerNames() const
unsigned int triggerIndex(std::string const &name) const
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
unsigned int size() const
Get number of paths stored.
std::vector< std::string > pathNames_
trigger path names (ORed)
bool select(const edm::Event &) const override
decision of the selector module