Main Page
Namespaces
Classes
Package Documentation
EventFilter
GEMRawToDigi
plugins
GEMDigiToRawModule.h
Go to the documentation of this file.
1
#ifndef EventFilter_GEMRawToDigi_GEMDigiToRawModule_h
2
#define EventFilter_GEMRawToDigi_GEMDigiToRawModule_h
3
9
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
10
#include "
FWCore/Framework/interface/global/EDProducer.h
"
11
#include "
FWCore/Framework/interface/MakerMacros.h
"
12
#include "
FWCore/Utilities/interface/InputTag.h
"
13
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
15
16
#include "
DataFormats/GEMDigi/interface/GEMDigiCollection.h
"
17
18
#include "
EventFilter/GEMRawToDigi/interface/AMC13Event.h
"
19
#include "
CondFormats/DataRecord/interface/GEMELMapRcd.h
"
20
#include "
CondFormats/GEMObjects/interface/GEMELMap.h
"
21
#include "
CondFormats/GEMObjects/interface/GEMROmap.h
"
22
23
namespace
edm
{
24
class
ConfigurationDescriptions
;
25
}
26
27
class
GEMDigiToRawModule
:
public
edm::global::EDProducer
<edm::RunCache<GEMROmap> > {
28
public
:
30
GEMDigiToRawModule
(
const
edm::ParameterSet
&
pset
);
31
32
// global::EDProducer
33
std::shared_ptr<GEMROmap> globalBeginRun(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
;
34
void
produce(
edm::StreamID
,
edm::Event
&,
edm::EventSetup
const
&)
const override
;
35
void
globalEndRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
{};
36
37
// Fill parameters descriptions
38
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
39
40
private
:
41
42
int
event_type_
;
43
edm::EDGetTokenT<GEMDigiCollection>
digi_token
;
44
bool
useDBEMap_
;
45
};
46
DEFINE_FWK_MODULE
(
GEMDigiToRawModule
);
47
#endif
48
49
GEMDigiToRawModule::digi_token
edm::EDGetTokenT< GEMDigiCollection > digi_token
Definition:
GEMDigiToRawModule.h:43
EDProducer.h
GEMELMapRcd.h
GEMDigiToRawModule::event_type_
int event_type_
Definition:
GEMDigiToRawModule.h:42
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
edm::StreamID
Definition:
StreamID.h:30
MakerMacros.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
GEMROmap.h
GEMELMap.h
AMC13Event.h
edm::EDGetTokenT< GEMDigiCollection >
GEMDigiToRawModule::useDBEMap_
bool useDBEMap_
Definition:
GEMDigiToRawModule.h:44
ParameterSetDescription.h
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EventSetup
Definition:
EventSetup.h:52
edm::global::EDProducer
Definition:
EDProducer.h:32
ConfigurationDescriptions
GEMDigiToRawModule
Definition:
GEMDigiToRawModule.h:27
edm
HLT enums.
Definition:
AlignableModifier.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
GEMDigiCollection.h
edm::Event
Definition:
Event.h:70
GEMDigiToRawModule::globalEndRun
void globalEndRun(edm::Run const &, edm::EventSetup const &) const override
Definition:
GEMDigiToRawModule.h:35
ConsumesCollector.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::Run
Definition:
Run.h:44
Generated for CMSSW Reference Manual by
1.8.11