27 inputTag_ (iConfig.
template getParameter<
edm::InputTag>(
"inputTag")),
28 inputToken_ (consumes<
std::vector<
T> >(inputTag_)),
29 triggerType_ (iConfig.
template getParameter<
int>(
"triggerType")),
31 min_N_ (iConfig.
template getParameter<
int> (
"MinN" )),
34 LogDebug(
"") <<
"Input/tyre/cut/ncut : " 50 desc.
add<
int>(
"triggerType",0);
52 desc.
add<
int>(
"MinN",1);
70 typedef vector<T> TCollection;
89 typename TCollection::const_iterator
i ( objects->begin() );
90 for (;
i!=objects->end();
i++) {
93 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)
StringCutObjectSelector< T, true > select_
edm::EDGetTokenT< std::vector< T > > inputToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)