CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalLaserEventFiltProducer2012.cc
Go to the documentation of this file.
5 
6 using namespace std;
7 
9  hcalLaserEventFilter2012 = new HcalLaserEventFilter2012(iConfig);
10  produces<bool>();
11 }
12 
14  hcalLaserEventFilter2012->endJob();
15 }
16 
18  std::auto_ptr<bool> output(new bool(hcalLaserEventFilter2012->filter(iEvent, iSetup)));
19  iEvent.put(output);
20 }
21 
HcalLaserEventFiltProducer2012(const edm::ParameterSet &iConfig)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
int iEvent
Definition: GenABIO.cc:230
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:120
virtual void produce(edm::Event &, const edm::EventSetup &)