RecoLocalMuon
DTRecHit
plugins
DTLinearDriftAlgo.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_DTLinearDriftAlgo_H
2
#define RecoLocalMuon_DTLinearDriftAlgo_H
3
12
#include "
RecoLocalMuon/DTRecHit/interface/DTRecHitBaseAlgo.h
"
13
14
class
DTLinearDriftAlgo
:
public
DTRecHitBaseAlgo
{
15
public
:
17
DTLinearDriftAlgo
(
const
edm::ParameterSet
&
config
);
18
20
~DTLinearDriftAlgo
()
override
;
21
22
// Operations
23
25
void
setES
(
const
edm::EventSetup
&
setup
)
override
;
26
31
bool
compute
(
const
DTLayer
* layer,
32
const
DTDigi
& digi,
33
LocalPoint
& leftPoint,
34
LocalPoint
& rightPoint,
35
LocalError
&
error
)
const override
;
36
40
bool
compute
(
const
DTLayer
* layer,
41
const
DTRecHit1D
& recHit1D,
42
const
float
&
angle
,
43
DTRecHit1D
& newHit1D)
const override
;
44
50
bool
compute
(
const
DTLayer
* layer,
51
const
DTRecHit1D
& recHit1D,
52
const
float
&
angle
,
53
const
GlobalPoint
& globPos,
54
DTRecHit1D
& newHit1D)
const override
;
55
56
private
:
57
// Do the actual work.
58
virtual
bool
compute
(
const
DTLayer
* layer,
59
const
DTWireId
& wireId,
60
const
float
digiTime,
61
const
GlobalPoint
& globPos,
62
LocalPoint
& leftPoint,
63
LocalPoint
& rightPoint,
64
LocalError
&
error
,
65
int
step
)
const
;
66
67
// Interface to the method which does the actual work suited for 2nd and 3rd steps
68
virtual
bool
compute
(
const
DTLayer
* layer,
69
const
DTWireId
& wireId,
70
const
float
digiTime,
71
const
GlobalPoint
& globPos,
72
DTRecHit1D
& newHit1D,
73
int
step
)
const
;
74
75
// The Drift Velocity (cm/ns)
76
const
float
vDrift
;
77
// // The Drift Velocity (cm/ns) for MB1 Wheel1 (non fluxed chamber) 21-Dec-2006 SL
78
// const float vDriftMB1W1;
79
80
// The resolution on the Hits (cm)
81
const
float
hitResolution
;
82
83
// Times below MinTime (ns) are considered as coming from previous BXs.
84
const
float
minTime
;
85
86
// Times above MaxTime (ns) are considered as coming from following BXs
87
const
float
maxTime
;
88
89
// Switch on/off the verbosity
90
const
bool
debug
;
91
};
92
#endif
step
step
Definition:
StallMonitor.cc:94
DTRecHitBaseAlgo
Definition:
DTRecHitBaseAlgo.h:29
DTLinearDriftAlgo
Definition:
DTLinearDriftAlgo.h:14
DTRecHit1D
Definition:
DTRecHit1D.h:25
DTRecHitBaseAlgo.h
relativeConstraints.error
error
Definition:
relativeConstraints.py:53
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
config
Definition:
config.py:1
DTLinearDriftAlgo::minTime
const float minTime
Definition:
DTLinearDriftAlgo.h:84
DTWireId
Definition:
DTWireId.h:12
DTLinearDriftAlgo::~DTLinearDriftAlgo
~DTLinearDriftAlgo() override
Destructor.
Definition:
DTLinearDriftAlgo.cc:29
Point3DBase< float, LocalTag >
DTLinearDriftAlgo::DTLinearDriftAlgo
DTLinearDriftAlgo(const edm::ParameterSet &config)
Constructor.
Definition:
DTLinearDriftAlgo.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:47
LocalError
Definition:
LocalError.h:12
edm::EventSetup
Definition:
EventSetup.h:57
DTLinearDriftAlgo::debug
const bool debug
Definition:
DTLinearDriftAlgo.h:90
DTLayer
Definition:
DTLayer.h:25
DTLinearDriftAlgo::hitResolution
const float hitResolution
Definition:
DTLinearDriftAlgo.h:81
DTLinearDriftAlgo::compute
bool compute(const DTLayer *layer, const DTDigi &digi, LocalPoint &leftPoint, LocalPoint &rightPoint, LocalError &error) const override
Definition:
DTLinearDriftAlgo.cc:34
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition:
angle.h:11
DTDigi
Definition:
DTDigi.h:17
DTLinearDriftAlgo::maxTime
const float maxTime
Definition:
DTLinearDriftAlgo.h:87
DTLinearDriftAlgo::setES
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
Definition:
DTLinearDriftAlgo.cc:31
DTLinearDriftAlgo::vDrift
const float vDrift
Definition:
DTLinearDriftAlgo.h:76
Generated for CMSSW Reference Manual by
1.8.16