src
RecoLocalMuon
DTRecHit
plugins
DTRecHitProducer.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_DTRecHitProducer_h
2
#define RecoLocalMuon_DTRecHitProducer_h
3
12
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
13
#include "
FWCore/Utilities/interface/InputTag.h
"
14
#include "
DataFormats/DTDigi/interface/DTDigiCollection.h
"
15
16
namespace
edm
{
17
class
ParameterSet
;
18
class
Event
;
19
class
EventSetup
;
20
}
// namespace edm
21
22
class
DTRecHitBaseAlgo
;
23
class
DTGeometry
;
24
class
MuonGeometryRecord
;
25
26
class
DTRecHitProducer
:
public
edm::stream::EDProducer
<> {
27
public
:
29
DTRecHitProducer
(
const
edm::ParameterSet
&);
30
32
~DTRecHitProducer
()
override
;
33
35
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
36
37
private
:
38
// Switch on verbosity
39
const
bool
debug
;
40
// The label to be used to retrieve DT digis from the event
41
edm::EDGetTokenT<DTDigiCollection>
DTDigiToken_
;
42
edm::ESGetToken<DTGeometry, MuonGeometryRecord>
dtGeomToken_
;
43
// The reconstruction algorithm
44
std::unique_ptr<DTRecHitBaseAlgo>
theAlgo
;
45
};
46
#endif
DTRecHitBaseAlgo
Definition:
DTRecHitBaseAlgo.h:30
ParameterSet
Definition:
Functions.h:16
DTRecHitProducer::DTDigiToken_
edm::EDGetTokenT< DTDigiCollection > DTDigiToken_
Definition:
DTRecHitProducer.h:41
DTRecHitProducer
Definition:
DTRecHitProducer.h:26
DTGeometry
Definition:
DTGeometry.h:28
edm::EDGetTokenT< DTDigiCollection >
MuonGeometryRecord
Definition:
MuonGeometryRecord.h:34
EDProducer.h
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
EventSetup
DTRecHitProducer::~DTRecHitProducer
~DTRecHitProducer() override
Destructor.
Definition:
DTRecHitProducer.cc:45
DTDigiCollection.h
edm::EventSetup
Definition:
EventSetup.h:59
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
DTRecHitProducer::DTRecHitProducer
DTRecHitProducer(const edm::ParameterSet &)
Constructor.
Definition:
DTRecHitProducer.cc:29
edm::stream::EDProducer
Definition:
EDProducer.h:36
DTRecHitProducer::debug
const bool debug
Definition:
DTRecHitProducer.h:39
Event
edm
HLT enums.
Definition:
AlignableModifier.h:19
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
DTRecHitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
Definition:
DTRecHitProducer.cc:50
event
Definition:
event.py:1
DTRecHitProducer::theAlgo
std::unique_ptr< DTRecHitBaseAlgo > theAlgo
Definition:
DTRecHitProducer.h:44
DTRecHitProducer::dtGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomToken_
Definition:
DTRecHitProducer.h:42
Generated for CMSSW Reference Manual by
1.8.14