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/global/EDProducer.h
"
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
#include "
FWCore/Utilities/interface/ESGetToken.h
"
12
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
14
15
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
16
#include "
DataFormats/GEMDigi/interface/GEMDigiCollection.h
"
17
#include "
EventFilter/GEMRawToDigi/interface/GEMVfatStatusDigiCollection.h
"
18
#include "
EventFilter/GEMRawToDigi/interface/GEMGEBdataCollection.h
"
19
#include "
EventFilter/GEMRawToDigi/interface/GEMAMCdataCollection.h
"
20
#include "
EventFilter/GEMRawToDigi/interface/GEMAMC13EventCollection.h
"
21
22
#include "
CondFormats/DataRecord/interface/GEMeMapRcd.h
"
23
#include "
CondFormats/GEMObjects/interface/GEMeMap.h
"
24
#include "
CondFormats/GEMObjects/interface/GEMROMapping.h
"
25
#include "
EventFilter/GEMRawToDigi/interface/AMC13Event.h
"
26
#include "
EventFilter/GEMRawToDigi/interface/VFATdata.h
"
27
28
class
GEMRawToDigiModule
:
public
edm::global::EDProducer
<edm::RunCache<GEMROMapping> > {
29
public
:
31
GEMRawToDigiModule
(
const
edm::ParameterSet
&
pset
);
32
33
// global::EDProducer
34
std::shared_ptr<GEMROMapping>
globalBeginRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
;
35
void
produce
(
edm::StreamID
,
edm::Event
&,
edm::EventSetup
const
&)
const override
;
36
void
globalEndRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
const override
{};
37
38
// Fill parameters descriptions
39
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
40
41
private
:
42
edm::EDGetTokenT<FEDRawDataCollection>
fed_token
;
43
edm::ESGetToken<GEMeMap, GEMeMapRcd>
gemEMapToken_
;
44
bool
useDBEMap_
;
45
bool
unPackStatusDigis_
;
46
};
47
DEFINE_FWK_MODULE
(
GEMRawToDigiModule
);
48
#endif
ConfigurationDescriptions.h
edm::StreamID
Definition:
StreamID.h:30
GEMRawToDigiModule::GEMRawToDigiModule
GEMRawToDigiModule(const edm::ParameterSet &pset)
Constructor.
Definition:
GEMRawToDigiModule.cc:17
GEMeMapRcd.h
GEMGEBdataCollection.h
GEMRawToDigiModule::unPackStatusDigis_
bool unPackStatusDigis_
Definition:
GEMRawToDigiModule.h:45
edm::Run
Definition:
Run.h:45
GEMVfatStatusDigiCollection.h
edm::EDGetTokenT< FEDRawDataCollection >
GEMAMC13EventCollection.h
VFATdata.h
GEMRawToDigiModule
Definition:
GEMRawToDigiModule.h:28
GEMAMCdataCollection.h
ESGetToken.h
MakerMacros.h
GEMRawToDigiModule::fed_token
edm::EDGetTokenT< FEDRawDataCollection > fed_token
Definition:
GEMRawToDigiModule.h:42
GEMRawToDigiModule::globalEndRun
void globalEndRun(edm::Run const &, edm::EventSetup const &) const override
Definition:
GEMRawToDigiModule.h:36
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
GEMeMap.h
GEMRawToDigiModule::gemEMapToken_
edm::ESGetToken< GEMeMap, GEMeMapRcd > gemEMapToken_
Definition:
GEMRawToDigiModule.h:43
GEMROMapping.h
GEMRawToDigiModule::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
GEMRawToDigiModule.cc:33
ParameterSetDescription.h
edm::global::EDProducer
Definition:
EDProducer.h:32
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:36
FEDRawDataCollection.h
edm::EventSetup
Definition:
EventSetup.h:57
edm::ESGetToken< GEMeMap, GEMeMapRcd >
GEMRawToDigiModule::globalBeginRun
std::shared_ptr< GEMROMapping > globalBeginRun(edm::Run const &, edm::EventSetup const &) const override
Definition:
GEMRawToDigiModule.cc:41
AMC13Event.h
GEMDigiCollection.h
EDProducer.h
edm::Event
Definition:
Event.h:73
GEMRawToDigiModule::useDBEMap_
bool useDBEMap_
Definition:
GEMRawToDigiModule.h:44
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
GEMRawToDigiModule::produce
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
Definition:
GEMRawToDigiModule.cc:57
Generated for CMSSW Reference Manual by
1.8.16