25 template<
typename T,
int T
id>
27 inputTag_ (iConfig.
template getParameter<edm::InputTag>(
"inputTag")),
28 saveTag_ (iConfig.
template getUntrackedParameter<bool>(
"saveTag",
false)),
29 cut_ (iConfig.
template getParameter<std::string> (
"cut" )),
30 min_N_ (iConfig.
template getParameter<int> (
"MinN" )),
36 produces<trigger::TriggerFilterObjectWithRefs>();
39 template<
typename T,
int T
id>
49 template<
typename T,
int T
id>
56 using namespace trigger;
58 typedef vector<T> TCollection;
66 auto_ptr<TriggerFilterObjectWithRefs>
68 if (saveTag_) filterObject->addCollectionTag(inputTag_);
79 typename TCollection::const_iterator
i ( objects->begin() );
80 for (;
i!=objects->end();
i++) {
83 ref=TRef(objects,distance(objects->begin(),
i));
84 filterObject->addObject(Tid,ref);
92 iEvent.
put(filterObject);
HLTSmartSinglet(const edm::ParameterSet &)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual bool filter(edm::Event &, const edm::EventSetup &)