Main Page
Namespaces
Classes
Package Documentation
src
EventFilter
GEMRawToDigi
plugins
GEMRawToDigiModule.h
Go to the documentation of this file.
1
#ifndef EventFilter_GEMRawToDigi_GEMRawToDigiModule_h
2
#define EventFilter_GEMRawToDigi_GEMRawToDigiModule_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/FEDRawData/interface/FEDRawDataCollection.h
"
17
#include "
DataFormats/GEMDigi/interface/GEMDigiCollection.h
"
18
#include "
EventFilter/GEMRawToDigi/interface/GEMVfatStatusDigiCollection.h
"
19
#include "
EventFilter/GEMRawToDigi/interface/GEMGEBdataCollection.h
"
20
#include "
EventFilter/GEMRawToDigi/interface/GEMAMCdataCollection.h
"
21
#include "
EventFilter/GEMRawToDigi/interface/GEMAMC13EventCollection.h
"
22
23
#include "
CondFormats/DataRecord/interface/GEMeMapRcd.h
"
24
#include "
CondFormats/GEMObjects/interface/GEMeMap.h
"
25
#include "
CondFormats/GEMObjects/interface/GEMROMapping.h
"
26
#include "
EventFilter/GEMRawToDigi/interface/AMC13Event.h
"
27
#include "
EventFilter/GEMRawToDigi/interface/VFATdata.h
"
28
29
namespace
edm
{
30
class
ConfigurationDescriptions
;
31
}
32
33
class
GEMRawToDigiModule
:
public
edm::global::EDProducer
<edm::RunCache<GEMROMapping> > {
34
public
:
36
GEMRawToDigiModule
(
const
edm::ParameterSet
&
pset
);
37
38
// global::EDProducer
39
std::shared_ptr<GEMROMapping> globalBeginRun(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
;
40
void
produce(
edm::StreamID
,
edm::Event
&,
edm::EventSetup
const
&)
const override
;
41
void
globalEndRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
{};
42
43
// Fill parameters descriptions
44
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
45
46
private
:
47
48
edm::EDGetTokenT<FEDRawDataCollection>
fed_token
;
49
bool
useDBEMap_
;
50
bool
unPackStatusDigis_
;
51
52
};
53
DEFINE_FWK_MODULE
(
GEMRawToDigiModule
);
54
#endif
GEMRawToDigiModule::unPackStatusDigis_
bool unPackStatusDigis_
Definition:
GEMRawToDigiModule.h:50
EDProducer.h
GEMeMap.h
edm::StreamID
Definition:
StreamID.h:30
MakerMacros.h
VFATdata.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
FEDRawDataCollection.h
AMC13Event.h
edm::EDGetTokenT< FEDRawDataCollection >
GEMVfatStatusDigiCollection.h
GEMGEBdataCollection.h
GEMRawToDigiModule::fed_token
edm::EDGetTokenT< FEDRawDataCollection > fed_token
Definition:
GEMRawToDigiModule.h:48
GEMROMapping.h
GEMAMCdataCollection.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
ParameterSetDescription.h
GEMeMapRcd.h
GEMRawToDigiModule::useDBEMap_
bool useDBEMap_
Definition:
GEMRawToDigiModule.h:49
edm::EventSetup
Definition:
EventSetup.h:57
edm::global::EDProducer
Definition:
EDProducer.h:32
ConfigurationDescriptions
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
GEMRawToDigiModule
Definition:
GEMRawToDigiModule.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
GEMDigiCollection.h
edm::Event
Definition:
Event.h:71
ConsumesCollector.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::Run
Definition:
Run.h:45
GEMAMC13EventCollection.h
GEMRawToDigiModule::globalEndRun
void globalEndRun(edm::Run const &, edm::EventSetup const &) const override
Definition:
GEMRawToDigiModule.h:41
Generated for CMSSW Reference Manual by
1.8.11