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
24
class
DTRecHitProducer
:
public
edm::stream::EDProducer
<> {
25
public
:
27
DTRecHitProducer
(
const
edm::ParameterSet
&);
28
30
~DTRecHitProducer
()
override
;
31
33
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
34
35
private
:
36
// Switch on verbosity
37
const
bool
debug
;
38
// The label to be used to retrieve DT digis from the event
39
edm::EDGetTokenT<DTDigiCollection>
DTDigiToken_
;
40
// The reconstruction algorithm
41
std::unique_ptr<DTRecHitBaseAlgo>
theAlgo
;
42
};
43
#endif
DTRecHitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
Definition:
DTRecHitProducer.cc:47
edm::EDGetTokenT< DTDigiCollection >
edm
HLT enums.
Definition:
AlignableModifier.h:19
DTRecHitBaseAlgo
Definition:
DTRecHitBaseAlgo.h:29
EDProducer.h
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
Event
DTRecHitProducer::debug
const bool debug
Definition:
DTRecHitProducer.h:37
DTRecHitProducer::theAlgo
std::unique_ptr< DTRecHitBaseAlgo > theAlgo
Definition:
DTRecHitProducer.h:41
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
DTRecHitProducer
Definition:
DTRecHitProducer.h:24
InputTag.h
DTRecHitProducer::DTRecHitProducer
DTRecHitProducer(const edm::ParameterSet &)
Constructor.
Definition:
DTRecHitProducer.cc:28
DTRecHitProducer::~DTRecHitProducer
~DTRecHitProducer() override
Destructor.
Definition:
DTRecHitProducer.cc:42
DTDigiCollection.h
EventSetup
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
DTRecHitProducer::DTDigiToken_
edm::EDGetTokenT< DTDigiCollection > DTDigiToken_
Definition:
DTRecHitProducer.h:39
Generated for CMSSW Reference Manual by
1.8.16