CMS 3D CMS Logo

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  iEvent.put(std::make_unique<bool>(hcalLaserEventFilter2012->filter(iEvent, iSetup)));
19 }
20 
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:127
HcalLaserEventFiltProducer2012(const edm::ParameterSet &iConfig)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
int iEvent
Definition: GenABIO.cc:230
void produce(edm::Event &, const edm::EventSetup &) override