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
11
namespace
edm
{
12
class
Event
;
13
class
EventSetup
;
14
class
ParameterSet
;
15
class
ParameterSetDescription
;
16
class
Run
;
17
}
// namespace edm
18
19
class
RPCAMCUnpacker
{
20
public
:
21
RPCAMCUnpacker
(
edm::ParameterSet
const
&,
edm::ProducesCollector
);
22
virtual
~RPCAMCUnpacker
();
23
24
static
void
fillDescription
(
edm::ParameterSetDescription
& desc);
25
26
virtual
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&
setup
);
27
virtual
void
produce
(
edm::Event
&
event
,
28
edm::EventSetup
const
&
setup
,
29
std::map<RPCAMCLink, rpcamc13::AMCPayload>
const
& amc_payload);
30
31
std::vector<int>
const
&
getFeds
()
const
;
32
33
protected
:
34
std::vector<int>
feds_
;
35
};
36
37
inline
std::vector<int>
const
&
RPCAMCUnpacker::getFeds
()
const
{
return
feds_
; }
38
39
#endif // EventFilter_RPCRawToDigi_RPCAMCUnpacker_h
RPCAMCUnpacker::getFeds
std::vector< int > const & getFeds() const
Definition:
RPCAMCUnpacker.h:37
edm::Run
Definition:
Run.h:45
edm
HLT enums.
Definition:
AlignableModifier.h:19
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
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:36
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
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
ParameterSetDescription
RPCAMCUnpacker::feds_
std::vector< int > feds_
Definition:
RPCAMCUnpacker.h:34
EventSetup
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
Run
Generated for CMSSW Reference Manual by
1.8.16