src
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::ConsumesCollector
,
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
pset
.add<
int
>(
"cppfDaqDelay"
, 0);
14
desc
.add<
edm::ParameterSetDescription
>(
"RPCAMCUnpackerSettings"
,
pset
);
15
}
16
17
void
RPCAMCUnpacker::beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&
setup
) {}
18
19
void
RPCAMCUnpacker::produce
(
edm::Event
&
event
,
20
edm::EventSetup
const
&
setup
,
21
std::map<RPCAMCLink, rpcamc13::AMCPayload>
const
& amc_payload) {}
22
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
#include "
EventFilter/RPCRawToDigi/plugins/RPCAMCUnpackerFactory.h
"
25
DEFINE_EDM_PLUGIN
(
RPCAMCUnpackerFactory
,
RPCAMCUnpacker
,
"RPCAMCUnpacker"
);
RPCAMCUnpacker
Definition:
RPCAMCUnpacker.h:20
RPCAMCUnpacker::beginRun
virtual void beginRun(edm::Run const &run, edm::EventSetup const &setup)
Definition:
RPCAMCUnpacker.cc:17
RPCAMCUnpacker::RPCAMCUnpacker
RPCAMCUnpacker(edm::ParameterSet const &, edm::ConsumesCollector, edm::ProducesCollector)
Definition:
RPCAMCUnpacker.cc:5
RPCAMCUnpacker::~RPCAMCUnpacker
virtual ~RPCAMCUnpacker()
Definition:
RPCAMCUnpacker.cc:6
RPCAMCUnpacker.h
MakerMacros.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
RPCAMCUnpacker::fillDescription
static void fillDescription(edm::ParameterSetDescription &desc)
Definition:
RPCAMCUnpacker.cc:8
ParameterSetDescription.h
RPCAMCUnpacker::produce
virtual void produce(edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload)
Definition:
RPCAMCUnpacker.cc:19
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
edm::EventSetup
Definition:
EventSetup.h:59
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
RPCAMCUnpackerFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:123
edm::ProducesCollector
Definition:
ProducesCollector.h:45
edm::Event
Definition:
Event.h:73
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:45
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14