23 summaryTag_ (iConfig.getParameter<edm::InputTag>(
"summary")),
24 memberTag_ (iConfig.getParameter<edm::InputTag>(
"member" )),
25 cut_ (iConfig.getParameter<std::string> (
"cut" )),
26 min_N_ (iConfig.getParameter<int> (
"minN" )),
30 <<
"Summary/member/cut/ncut : "
51 using namespace trigger;
57 LogError(
"HLTSummaryFilter") <<
"Trigger summary product "
59 <<
" not found! Filter returns false always";
68 if (index<summary->sizeFilters()) {
77 <<
" Filter objects: " << n <<
"/" << n1;
83 if (index<summary->sizeCollections()) {
85 const size_type n0 (index == 0? 0 : KEYS.at(index-1));
93 <<
" Collection objects: " << n <<
"/" <<n1-
n0;
99 LogInfo(
"HLTSummaryFilter") <<
" Default decision: " <<
accept;
#define DEFINE_FWK_MODULE(type)
StringCutObjectSelector< trigger::TriggerObject > select_
HLTSummaryFilter(const edm::ParameterSet &)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Single trigger physics object (e.g., an isolated muon)
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< size_type > Keys
edm::InputTag summaryTag_