29 inputToken_(consumes<
std::
vector<
T>>(inputTag_)),
30 triggerType_(iConfig.
template getParameter<
int>(
"triggerType")),
43 makeHLTFilterDescription(
desc);
45 desc.add<
int>(
"triggerType", 0);
47 desc.add<
int>(
"MinN", 1);
65 typedef vector<T> TCollection;
85 typename TCollection::const_iterator
i(
objects->begin());
90 filterproduct.
addObject(triggerType_, ref);
HLTSmartSinglet(const edm::ParameterSet &)
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
def template(fileName, svg, replaceme="REPLACEME")
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)