29 inputToken_(consumes<std::
vector<
T>>(inputTag_)),
30 triggerType_(iConfig.
template getParameter<int>(
"triggerType")),
32 min_N_(iConfig.
template getParameter<int>(
"MinN")),
43 makeHLTFilterDescription(desc);
45 desc.
add<
int>(
"triggerType", 0);
47 desc.
add<
int>(
"MinN", 1);
63 using namespace trigger;
65 typedef vector<T> TCollection;
85 typename TCollection::const_iterator
i(
objects->begin());
90 filterproduct.
addObject(triggerType_, ref);
HLTSmartSinglet(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
std::string defaultModuleLabel()
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
~HLTSmartSinglet() override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)