29 inputToken_(consumes<
std::vector<
T>>(inputTag_)),
30 triggerType_(iConfig.
template getParameter<
int>(
"triggerType")),
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());
86 for (;
i != objects->end();
i++) {
89 ref = TRef(objects,
distance(objects->begin(),
i));
HLTSmartSinglet(const edm::ParameterSet &)
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
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")
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< std::vector< T > > inputToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
StringCutObjectSelector< T, true > select_