Main Page
Namespaces
Classes
Package Documentation
RecoLocalMuon
GEMRecHit
src
ME0RecHitProducer.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_ME0RecHitProducer_h
2
#define RecoLocalMuon_ME0RecHitProducer_h
3
13
#include <memory>
14
#include <fstream>
15
#include <iostream>
16
#include <cstdint>
17
#include <cstdlib>
18
#include <bitset>
19
#include <map>
20
21
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
22
#include "
FWCore/Utilities/interface/InputTag.h
"
23
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
24
#include "
FWCore/Framework/interface/Event.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Framework/interface/ESHandle.h
"
27
28
#include "
DataFormats/GEMDigi/interface/ME0DigiPreRecoCollection.h
"
29
30
#include "
Geometry/GEMGeometry/interface/ME0EtaPartition.h
"
31
#include "
Geometry/GEMGeometry/interface/ME0Geometry.h
"
32
#include "
Geometry/Records/interface/MuonGeometryRecord.h
"
33
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
34
#include "
DataFormats/GEMRecHit/interface/ME0RecHit.h
"
35
36
#include "
RecoLocalMuon/GEMRecHit/interface/ME0RecHitBaseAlgo.h
"
37
#include "
RecoLocalMuon/GEMRecHit/interface/ME0RecHitAlgoFactory.h
"
38
#include "
DataFormats/GEMRecHit/interface/ME0RecHitCollection.h
"
39
40
#include <string>
41
42
class
ME0RecHitBaseAlgo
;
43
44
class
ME0RecHitProducer
:
public
edm::stream::EDProducer
<> {
45
46
public
:
48
ME0RecHitProducer
(
const
edm::ParameterSet
&
config
);
49
51
~ME0RecHitProducer
()
override
;
52
53
// Method that access the EventSetup for each run
54
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
& )
override
;
55
57
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
58
59
private
:
60
61
// The label to be used to retrieve ME0 digis from the event
62
63
edm::EDGetTokenT<ME0DigiPreRecoCollection>
m_token
;
64
65
// The reconstruction algorithm
66
ME0RecHitBaseAlgo
*
theAlgo
;
67
// static std::string theAlgoName;
68
};
69
70
#endif
71
ME0RecHitProducer
Definition:
ME0RecHitProducer.h:44
MuonGeometryRecord.h
ME0RecHitBaseAlgo.h
Event.h
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:29
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:1
config
Definition:
config.py:1
ME0RecHitProducer::m_token
edm::EDGetTokenT< ME0DigiPreRecoCollection > m_token
Definition:
ME0RecHitProducer.h:63
edm::EDGetTokenT< ME0DigiPreRecoCollection >
ME0RecHit.h
ParameterSet.h
EDProducer.h
ME0RecHitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
Definition:
ME0RecHitProducer.cc:37
ME0RecHitProducer::theAlgo
ME0RecHitBaseAlgo * theAlgo
Definition:
ME0RecHitProducer.h:66
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
ME0EtaPartition.h
ME0Geometry.h
edm::stream::EDProducer
Definition:
EDProducer.h:33
ME0RecHitAlgoFactory.h
ME0RecHitProducer::~ME0RecHitProducer
~ME0RecHitProducer() override
Destructor.
Definition:
ME0RecHitProducer.cc:26
ME0DetId.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ME0RecHitProducer::ME0RecHitProducer
ME0RecHitProducer(const edm::ParameterSet &config)
Constructor.
Definition:
ME0RecHitProducer.cc:11
edm::Event
Definition:
Event.h:69
ME0RecHitCollection.h
ME0RecHitProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
ME0RecHitProducer.cc:32
ME0DigiPreRecoCollection.h
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:43
Generated for CMSSW Reference Manual by
1.8.11