Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:42

0001 #include "EventFilter/HcalRawToDigi/plugins/HcalLaserEventFiltProducer2012.h"
0002 #include "FWCore/Framework/interface/Event.h"
0003 #include "FWCore/PluginManager/interface/ModuleDef.h"
0004 #include "FWCore/Framework/interface/MakerMacros.h"
0005 
0006 using namespace std;
0007 
0008 HcalLaserEventFiltProducer2012::HcalLaserEventFiltProducer2012(const edm::ParameterSet& iConfig) {
0009   hcalLaserEventFilter2012 = new HcalLaserEventFilter2012(iConfig);
0010   produces<bool>();
0011 }
0012 
0013 void HcalLaserEventFiltProducer2012::endJob() { hcalLaserEventFilter2012->endJob(); }
0014 
0015 void HcalLaserEventFiltProducer2012::produce(edm::Event& iEvent, const edm::EventSetup& iSetup) {
0016   iEvent.put(std::make_unique<bool>(hcalLaserEventFilter2012->filter(iEvent, iSetup)));
0017 }
0018 
0019 DEFINE_FWK_MODULE(HcalLaserEventFiltProducer2012);