Main Page
Namespaces
Classes
Package Documentation
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
24
:
public
edm::stream::EDProducer
<>
25
{
26
public
:
27
RPCTwinMuxDigiToRaw
(
edm::ParameterSet
const
&
config
);
28
~
RPCTwinMuxDigiToRaw
()
override
;
29
30
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descs);
31
32
void
beginRun(
edm::Run
const
&
run
,
edm::EventSetup
const
&
setup
)
override
;
33
void
produce(
edm::Event
&
event
,
edm::EventSetup
const
& setup)
override
;
34
35
protected
:
36
edm::EDGetTokenT<RPCDigiCollection>
digi_token_
;
37
38
int
bx_min_
, bx_max_;
39
bool
ignore_eod_
;
40
int
event_type_
;
41
unsigned
int
ufov_
;
42
43
edm::ESWatcher<RPCTwinMuxLinkMapRcd>
es_tm_link_map_watcher_
;
44
std::map<int, std::vector<RPCAMCLink> >
fed_amcs_
;
45
};
46
47
#endif // EventFilter_RPCRawToDigi_RPCTwinMuxDigiToRaw_h
ESWatcher.h
ParameterSet
Definition:
Functions.h:16
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:2
config
Definition:
config.py:1
edm::EDGetTokenT< RPCDigiCollection >
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
RPCTwinMuxDigiToRaw
Definition:
RPCTwinMuxDigiToRaw.h:23
EDProducer.h
EventSetup
RPCTwinMuxLinkMapRcd.h
RPCTwinMuxDigiToRaw::ufov_
unsigned int ufov_
Definition:
RPCTwinMuxDigiToRaw.h:41
RPCTwinMuxDigiToRaw::fed_amcs_
std::map< int, std::vector< RPCAMCLink > > fed_amcs_
Definition:
RPCTwinMuxDigiToRaw.h:44
RPCTwinMuxDigiToRaw::event_type_
int event_type_
Definition:
RPCTwinMuxDigiToRaw.h:40
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
edm::ESWatcher< RPCTwinMuxLinkMapRcd >
ConfigurationDescriptions
RPCTwinMuxDigiToRaw::ignore_eod_
bool ignore_eod_
Definition:
RPCTwinMuxDigiToRaw.h:39
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::stream::EDProducer
Definition:
EDProducer.h:38
RPCTwinMuxDigiToRaw::bx_min_
int bx_min_
Definition:
RPCTwinMuxDigiToRaw.h:38
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
RPCTwinMuxDigiToRaw::digi_token_
edm::EDGetTokenT< RPCDigiCollection > digi_token_
Definition:
RPCTwinMuxDigiToRaw.h:36
RPCTwinMuxDigiToRaw::es_tm_link_map_watcher_
edm::ESWatcher< RPCTwinMuxLinkMapRcd > es_tm_link_map_watcher_
Definition:
RPCTwinMuxDigiToRaw.h:43
edm::ParameterSet
Definition:
ParameterSet.h:36
RPCDigiCollection.h
edm::Event
Definition:
Event.h:71
Run
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:45
RPCAMCLink.h
Generated for CMSSW Reference Manual by
1.8.11