Main Page
Namespaces
Classes
Package Documentation
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 "
DataFormats/GEMDigi/interface/GEMVfatStatusDigiCollection.h
"
19
#include "
DataFormats/GEMDigi/interface/GEMGEBStatusDigiCollection.h
"
20
#include "
DataFormats/GEMDigi/interface/GEMAMCStatusDigiCollection.h
"
21
22
#include "
CondFormats/DataRecord/interface/GEMELMapRcd.h
"
23
#include "
CondFormats/GEMObjects/interface/GEMELMap.h
"
24
#include "
CondFormats/GEMObjects/interface/GEMROmap.h
"
25
#include "
EventFilter/GEMRawToDigi/interface/AMC13Event.h
"
26
#include "
EventFilter/GEMRawToDigi/interface/VFATdata.h
"
27
28
namespace
edm
{
29
class
ConfigurationDescriptions
;
30
}
31
32
class
GEMRawToDigiModule
:
public
edm::global::EDProducer
<edm::RunCache<GEMROmap> > {
33
public
:
35
GEMRawToDigiModule
(
const
edm::ParameterSet
&
pset
);
36
37
// global::EDProducer
38
std::shared_ptr<GEMROmap> globalBeginRun(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
;
39
void
produce(
edm::StreamID
,
edm::Event
&,
edm::EventSetup
const
&)
const override
;
40
void
globalEndRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
{};
41
42
// Fill parameters descriptions
43
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
44
45
private
:
46
47
edm::EDGetTokenT<FEDRawDataCollection>
fed_token
;
48
bool
useDBEMap_
;
49
bool
unPackStatusDigis_
;
50
51
};
52
DEFINE_FWK_MODULE
(
GEMRawToDigiModule
);
53
#endif
GEMRawToDigiModule::unPackStatusDigis_
bool unPackStatusDigis_
Definition:
GEMRawToDigiModule.h:49
EDProducer.h
GEMELMapRcd.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
edm::StreamID
Definition:
StreamID.h:30
MakerMacros.h
VFATdata.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
GEMROmap.h
FEDRawDataCollection.h
GEMELMap.h
AMC13Event.h
edm::EDGetTokenT< FEDRawDataCollection >
GEMVfatStatusDigiCollection.h
GEMRawToDigiModule::fed_token
edm::EDGetTokenT< FEDRawDataCollection > fed_token
Definition:
GEMRawToDigiModule.h:47
GEMGEBStatusDigiCollection.h
ParameterSetDescription.h
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
GEMRawToDigiModule::useDBEMap_
bool useDBEMap_
Definition:
GEMRawToDigiModule.h:48
edm::EventSetup
Definition:
EventSetup.h:48
edm::global::EDProducer
Definition:
EDProducer.h:32
ConfigurationDescriptions
GEMRawToDigiModule
Definition:
GEMRawToDigiModule.h:32
GEMAMCStatusDigiCollection.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
GEMDigiCollection.h
edm::Event
Definition:
Event.h:69
ConsumesCollector.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::Run
Definition:
Run.h:43
GEMRawToDigiModule::globalEndRun
void globalEndRun(edm::Run const &, edm::EventSetup const &) const override
Definition:
GEMRawToDigiModule.h:40
Generated for CMSSW Reference Manual by
1.8.11