CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CandViewCountEventSelFlagProducer.cc
Go to the documentation of this file.
2 
4 
6  : eventSelector_(cfg, consumesCollector())
7 {
8  produces<bool>();
9 }
10 
12 {
13  std::auto_ptr<bool> boolPtr(new bool(eventSelector_(evt, es)));
14  evt.put(boolPtr);
15 }
16 
18 
tuple cfg
Definition: looper.py:293
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
void produce(edm::Event &, const edm::EventSetup &)
ObjectCountEventSelector< CandidateView, AnySelector, MinNumberSelector > eventSelector_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:121
CandViewCountEventSelFlagProducer(const edm::ParameterSet &)