29 inputTag_ (iConfig.
template getParameter<edm::InputTag>(
"inputTag")),
30 triggerType_ (iConfig.
template getParameter<int>(
"triggerType")),
31 cut_ (iConfig.
template getParameter<std::string> (
"cut" )),
32 min_N_ (iConfig.
template getParameter<int> (
"MinN" )),
35 LogDebug(
"") <<
"Input/tyre/cut/ncut : "
51 makeHLTFilterDescription(desc);
53 desc.
add<
int>(
"triggerType",0);
54 desc.
add<std::string>(
"cut",
"1>0");
55 desc.
add<
int>(
"MinN",1);
71 using namespace trigger;
73 typedef vector<T> TCollection;
92 typename TCollection::const_iterator
i ( objects->begin() );
93 for (;
i!=objects->end();
i++) {
96 ref=TRef(objects,distance(objects->begin(),
i));
97 filterproduct.
addObject(triggerType_,ref);
HLTSmartSinglet(const edm::ParameterSet &)
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>)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)