CMS 3D CMS Logo

GEMDigiToRawModule.h
Go to the documentation of this file.
1 #ifndef EventFilter_GEMRawToDigi_GEMDigiToRawModule_h
2 #define EventFilter_GEMRawToDigi_GEMDigiToRawModule_h
3 
15 
17 
22 
23 namespace edm {
25 }
26 
27 class GEMDigiToRawModule : public edm::global::EDProducer<edm::RunCache<GEMROMapping> > {
28 public:
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:
43  bool useDBEMap_;
44 };
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