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/GEMeMapRcd.h
"
20
#include "
CondFormats/GEMObjects/interface/GEMeMap.h
"
21
#include "
CondFormats/GEMObjects/interface/GEMROMapping.h
"
22
23
namespace
edm
{
24
class
ConfigurationDescriptions
;
25
}
26
27
class
GEMDigiToRawModule
:
public
edm::global::EDProducer
<edm::RunCache<GEMROMapping> > {
28
public
:
30
GEMDigiToRawModule
(
const
edm::ParameterSet
&
pset
);
31
32
// global::EDProducer
33
std::shared_ptr<GEMROMapping>
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
int
event_type_
;
42
edm::EDGetTokenT<GEMDigiCollection>
digi_token
;
43
bool
useDBEMap_
;
44
};
45
DEFINE_FWK_MODULE
(
GEMDigiToRawModule
);
46
#endif
ConfigurationDescriptions.h
edm::StreamID
Definition:
StreamID.h:30
GEMeMapRcd.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< GEMDigiCollection >
edm
HLT enums.
Definition:
AlignableModifier.h:19
GEMDigiToRawModule::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
GEMDigiToRawModule.cc:30
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
GEMeMap.h
GEMROMapping.h
ParameterSetDescription.h
edm::global::EDProducer
Definition:
EDProducer.h:32
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:36
GEMDigiToRawModule::globalEndRun
void globalEndRun(edm::Run const &, edm::EventSetup const &) const override
Definition:
GEMDigiToRawModule.h:35
GEMDigiToRawModule
Definition:
GEMDigiToRawModule.h:27
edm::EventSetup
Definition:
EventSetup.h:57
GEMDigiToRawModule::produce
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
Definition:
GEMDigiToRawModule.cc:55
InputTag.h
ConfigurationDescriptions
GEMDigiToRawModule::globalBeginRun
std::shared_ptr< GEMROMapping > globalBeginRun(edm::Run const &, edm::EventSetup const &) const override
Definition:
GEMDigiToRawModule.cc:38
GEMDigiToRawModule::useDBEMap_
bool useDBEMap_
Definition:
GEMDigiToRawModule.h:43
AMC13Event.h
GEMDigiCollection.h
ConsumesCollector.h
EDProducer.h
edm::Event
Definition:
Event.h:73
GEMDigiToRawModule::GEMDigiToRawModule
GEMDigiToRawModule(const edm::ParameterSet &pset)
Constructor.
Definition:
GEMDigiToRawModule.cc:23
GEMDigiToRawModule::digi_token
edm::EDGetTokenT< GEMDigiCollection > digi_token
Definition:
GEMDigiToRawModule.h:42
GEMDigiToRawModule::event_type_
int event_type_
Definition:
GEMDigiToRawModule.h:41
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16