EventFilter
RPCRawToDigi
plugins
RPCTwinMuxDigiToRaw.h
Go to the documentation of this file.
1
#ifndef EventFilter_RPCRawToDigi_RPCTwinMuxDigiToRaw_h
2
#define EventFilter_RPCRawToDigi_RPCTwinMuxDigiToRaw_h
3
4
#include <map>
5
#include <vector>
6
7
#include "
FWCore/Framework/interface/ESHandle.h
"
8
#include "
FWCore/Framework/interface/ESWatcher.h
"
9
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
10
11
#include "
CondFormats/DataRecord/interface/RPCTwinMuxLinkMapRcd.h
"
12
#include "
CondFormats/RPCObjects/interface/RPCAMCLink.h
"
13
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
14
15
namespace
edm
{
16
class
ConfigurationDescriptions
;
17
class
Event
;
18
class
EventSetup
;
19
class
ParameterSet
;
20
class
Run
;
21
}
// namespace edm
22
23
class
RPCTwinMuxDigiToRaw
:
public
edm::stream::EDProducer
<> {
24
public
:
25
RPCTwinMuxDigiToRaw
(
edm::ParameterSet
const
&
config
);
26
~RPCTwinMuxDigiToRaw
()
override
;
27
28
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descs);
29
30
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&
setup
)
override
;
31
void
produce
(
edm::Event
&
event
,
edm::EventSetup
const
&
setup
)
override
;
32
33
protected
:
34
edm::EDGetTokenT<RPCDigiCollection>
digi_token_
;
35
36
int
bx_min_
,
bx_max_
;
37
bool
ignore_eod_
;
38
int
event_type_
;
39
unsigned
int
ufov_
;
40
41
edm::ESWatcher<RPCTwinMuxLinkMapRcd>
es_tm_link_map_watcher_
;
42
std::map<int, std::vector<RPCAMCLink> >
fed_amcs_
;
43
};
44
45
#endif // EventFilter_RPCRawToDigi_RPCTwinMuxDigiToRaw_h
RPCTwinMuxDigiToRaw::bx_min_
int bx_min_
Definition:
RPCTwinMuxDigiToRaw.h:36
edm::ESWatcher< RPCTwinMuxLinkMapRcd >
ESHandle.h
RPCTwinMuxDigiToRaw::bx_max_
int bx_max_
Definition:
RPCTwinMuxDigiToRaw.h:36
RPCTwinMuxDigiToRaw::fed_amcs_
std::map< int, std::vector< RPCAMCLink > > fed_amcs_
Definition:
RPCTwinMuxDigiToRaw.h:42
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< RPCDigiCollection >
edm
HLT enums.
Definition:
AlignableModifier.h:19
RPCTwinMuxDigiToRaw::ignore_eod_
bool ignore_eod_
Definition:
RPCTwinMuxDigiToRaw.h:37
EDProducer.h
RPCTwinMuxDigiToRaw::produce
void produce(edm::Event &event, edm::EventSetup const &setup) override
Definition:
RPCTwinMuxDigiToRaw.cc:71
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
RPCTwinMuxDigiToRaw::digi_token_
edm::EDGetTokenT< RPCDigiCollection > digi_token_
Definition:
RPCTwinMuxDigiToRaw.h:34
RPCTwinMuxDigiToRaw::es_tm_link_map_watcher_
edm::ESWatcher< RPCTwinMuxLinkMapRcd > es_tm_link_map_watcher_
Definition:
RPCTwinMuxDigiToRaw.h:41
config
Definition:
config.py:1
RPCTwinMuxLinkMapRcd.h
RPCTwinMuxDigiToRaw::event_type_
int event_type_
Definition:
RPCTwinMuxDigiToRaw.h:38
Event
RPCAMCLink.h
RPCTwinMuxDigiToRaw::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &setup) override
Definition:
RPCTwinMuxDigiToRaw.cc:54
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
RPCTwinMuxDigiToRaw
Definition:
RPCTwinMuxDigiToRaw.h:23
RPCTwinMuxDigiToRaw::~RPCTwinMuxDigiToRaw
~RPCTwinMuxDigiToRaw() override
Definition:
RPCTwinMuxDigiToRaw.cc:41
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
RPCTwinMuxDigiToRaw::RPCTwinMuxDigiToRaw
RPCTwinMuxDigiToRaw(edm::ParameterSet const &config)
Definition:
RPCTwinMuxDigiToRaw.cc:31
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
ConfigurationDescriptions
ESWatcher.h
RPCDigiCollection.h
EventSetup
event
Definition:
event.py:1
RPCTwinMuxDigiToRaw::ufov_
unsigned int ufov_
Definition:
RPCTwinMuxDigiToRaw.h:39
edm::Event
Definition:
Event.h:73
RPCTwinMuxDigiToRaw::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descs)
Definition:
RPCTwinMuxDigiToRaw.cc:43
Run
Generated for CMSSW Reference Manual by
1.8.16