EventFilter
RPCRawToDigi
plugins
RPCAMCUnpacker.h
Go to the documentation of this file.
1
#ifndef EventFilter_RPCRawToDigi_RPCAMCUnpacker_h
2
#define EventFilter_RPCRawToDigi_RPCAMCUnpacker_h
3
4
#include <map>
5
#include <vector>
6
7
#include "
CondFormats/RPCObjects/interface/RPCAMCLink.h
"
8
#include "
EventFilter/RPCRawToDigi/interface/RPCAMC13Record.h
"
9
#include "
FWCore/Framework/interface/ProducesCollector.h
"
10
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
11
12
namespace
edm
{
13
class
Event
;
14
class
EventSetup
;
15
class
ParameterSet
;
16
class
ParameterSetDescription
;
17
class
Run
;
18
}
// namespace edm
19
20
class
RPCAMCUnpacker
{
21
public
:
22
RPCAMCUnpacker
(
edm::ParameterSet
const
&,
edm::ConsumesCollector
,
edm::ProducesCollector
);
23
virtual
~RPCAMCUnpacker
();
24
25
static
void
fillDescription
(
edm::ParameterSetDescription
&
desc
);
26
27
virtual
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&
setup
);
28
virtual
void
produce
(
edm::Event
&
event
,
29
edm::EventSetup
const
&
setup
,
30
std::map<RPCAMCLink, rpcamc13::AMCPayload>
const
& amc_payload);
31
32
std::vector<int>
const
&
getFeds
()
const
;
33
34
protected
:
35
std::vector<int>
feds_
;
36
};
37
38
inline
std::vector<int>
const
&
RPCAMCUnpacker::getFeds
()
const
{
return
feds_
; }
39
40
#endif // EventFilter_RPCRawToDigi_RPCAMCUnpacker_h
RPCAMCUnpacker::getFeds
std::vector< int > const & getFeds() const
Definition:
RPCAMCUnpacker.h:38
edm::Run
Definition:
Run.h:45
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
RPCAMCUnpacker
Definition:
RPCAMCUnpacker.h:20
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
ProducesCollector.h
Event
RPCAMCLink.h
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:47
ParameterSet
Definition:
Functions.h:16
RPCAMCUnpacker::fillDescription
static void fillDescription(edm::ParameterSetDescription &desc)
Definition:
RPCAMCUnpacker.cc:8
RPCAMCUnpacker::~RPCAMCUnpacker
virtual ~RPCAMCUnpacker()
Definition:
RPCAMCUnpacker.cc:6
RPCAMC13Record.h
edm::EventSetup
Definition:
EventSetup.h:57
RPCAMCUnpacker::RPCAMCUnpacker
RPCAMCUnpacker(edm::ParameterSet const &, edm::ConsumesCollector, edm::ProducesCollector)
Definition:
RPCAMCUnpacker.cc:5
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
edm::ProducesCollector
Definition:
ProducesCollector.h:43
ParameterSetDescription
RPCAMCUnpacker::feds_
std::vector< int > feds_
Definition:
RPCAMCUnpacker.h:35
ConsumesCollector.h
EventSetup
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Run
Generated for CMSSW Reference Manual by
1.8.16