EventFilter
HcalRawToDigi
plugins
HcalLaserEventFiltProducer2012.cc
Go to the documentation of this file.
1
#include "
EventFilter/HcalRawToDigi/plugins/HcalLaserEventFiltProducer2012.h
"
2
#include "
FWCore/Framework/interface/Event.h
"
3
#include "
FWCore/PluginManager/interface/ModuleDef.h
"
4
#include "
FWCore/Framework/interface/MakerMacros.h
"
5
6
using namespace
std
;
7
8
HcalLaserEventFiltProducer2012::HcalLaserEventFiltProducer2012
(
const
edm::ParameterSet
& iConfig) {
9
hcalLaserEventFilter2012 =
new
HcalLaserEventFilter2012
(iConfig);
10
produces<bool>();
11
}
12
13
void
HcalLaserEventFiltProducer2012::endJob
() { hcalLaserEventFilter2012->endJob(); }
14
15
void
HcalLaserEventFiltProducer2012::produce
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup) {
16
iEvent
.put(std::make_unique<bool>(hcalLaserEventFilter2012->filter(
iEvent
, iSetup)));
17
}
18
19
DEFINE_FWK_MODULE
(
HcalLaserEventFiltProducer2012
);
HcalLaserEventFiltProducer2012
Definition:
HcalLaserEventFiltProducer2012.h:9
HcalLaserEventFiltProducer2012.h
HcalLaserEventFiltProducer2012::HcalLaserEventFiltProducer2012
HcalLaserEventFiltProducer2012(const edm::ParameterSet &iConfig)
Definition:
HcalLaserEventFiltProducer2012.cc:8
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
HcalLaserEventFiltProducer2012::endJob
void endJob() override
Definition:
HcalLaserEventFiltProducer2012.cc:13
HcalLaserEventFilter2012
Definition:
HcalLaserEventFilter2012.h:39
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ModuleDef.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
edm::EventSetup
Definition:
EventSetup.h:57
std
Definition:
JetResolutionObject.h:76
HcalLaserEventFiltProducer2012::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
HcalLaserEventFiltProducer2012.cc:15
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16