EventFilter
RPCRawToDigi
plugins
RPCAMCUnpacker.cc
Go to the documentation of this file.
1
#include "
EventFilter/RPCRawToDigi/plugins/RPCAMCUnpacker.h
"
2
3
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
4
5
RPCAMCUnpacker::RPCAMCUnpacker
(
edm::ParameterSet
const
&,
edm::ProducesCollector
) {}
6
RPCAMCUnpacker::~RPCAMCUnpacker
() {}
7
8
void
RPCAMCUnpacker::fillDescription
(
edm::ParameterSetDescription
& desc) {
9
edm::ParameterSetDescription
pset
;
10
pset
.add<
bool
>(
"fillAMCCounters"
,
true
);
11
pset
.add<
int
>(
"bxMin"
, -2);
12
pset
.add<
int
>(
"bxMax"
, +2);
13
desc.
add
<
edm::ParameterSetDescription
>(
"RPCAMCUnpackerSettings"
,
pset
);
14
}
15
16
void
RPCAMCUnpacker::beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&
setup
) {}
17
18
void
RPCAMCUnpacker::produce
(
edm::Event
&
event
,
19
edm::EventSetup
const
&
setup
,
20
std::map<RPCAMCLink, rpcamc13::AMCPayload>
const
& amc_payload) {}
21
22
#include "
FWCore/Framework/interface/MakerMacros.h
"
23
#include "
EventFilter/RPCRawToDigi/plugins/RPCAMCUnpackerFactory.h
"
24
DEFINE_EDM_PLUGIN
(
RPCAMCUnpackerFactory
,
RPCAMCUnpacker
,
"RPCAMCUnpacker"
);
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:95
edm::Run
Definition:
Run.h:45
RPCAMCUnpacker.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
RPCAMCUnpacker
Definition:
RPCAMCUnpacker.h:19
RPCAMCUnpacker::beginRun
virtual void beginRun(edm::Run const &run, edm::EventSetup const &setup)
Definition:
RPCAMCUnpacker.cc:16
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
RPCAMCUnpackerFactory.h
MakerMacros.h
ParameterSetDescription.h
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:124
RPCAMCUnpacker::produce
virtual void produce(edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload)
Definition:
RPCAMCUnpacker.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:36
RPCAMCUnpacker::fillDescription
static void fillDescription(edm::ParameterSetDescription &desc)
Definition:
RPCAMCUnpacker.cc:8
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
RPCAMCUnpacker::~RPCAMCUnpacker
virtual ~RPCAMCUnpacker()
Definition:
RPCAMCUnpacker.cc:6
edm::EventSetup
Definition:
EventSetup.h:57
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
edm::ProducesCollector
Definition:
ProducesCollector.h:43
RPCAMCUnpacker::RPCAMCUnpacker
RPCAMCUnpacker(edm::ParameterSet const &, edm::ProducesCollector)
Definition:
RPCAMCUnpacker.cc:5
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16