test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
() {
14
hcalLaserEventFilter2012->endJob();
15
}
16
17
void
HcalLaserEventFiltProducer2012::produce
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup) {
18
std::auto_ptr<bool>
output
(
new
bool
(hcalLaserEventFilter2012->filter(iEvent, iSetup)));
19
iEvent.
put
(output);
20
}
21
22
DEFINE_FWK_MODULE
(
HcalLaserEventFiltProducer2012
);
HcalLaserEventFiltProducer2012::HcalLaserEventFiltProducer2012
HcalLaserEventFiltProducer2012(const edm::ParameterSet &iConfig)
Definition:
HcalLaserEventFiltProducer2012.cc:8
HcalLaserEventFiltProducer2012
Definition:
HcalLaserEventFiltProducer2012.h:9
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
Event.h
MakerMacros.h
HcalLaserEventFilter2012
Definition:
HcalLaserEventFilter2012.h:41
iEvent
int iEvent
Definition:
GenABIO.cc:230
edm::Event::put
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition:
Event.h:116
HcalLaserEventFiltProducer2012::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
HcalLaserEventFiltProducer2012.cc:17
edm::EventSetup
Definition:
EventSetup.h:44
HcalLaserEventFiltProducer2012.h
convertSQLitetoXML_cfg.output
tuple output
Definition:
convertSQLitetoXML_cfg.py:32
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:62
ModuleDef.h
HcalLaserEventFiltProducer2012::endJob
virtual void endJob() override
Definition:
HcalLaserEventFiltProducer2012.cc:13
Generated for CMSSW Reference Manual by
1.8.5