Main Page
Namespaces
Classes
Package Documentation
RecoLocalMuon
DTSegment
src
DTSegmentUpdator.h
Go to the documentation of this file.
1
#ifndef DTSegment_DTSegmentUpdator_h
2
#define DTSegment_DTSegmentUpdator_h
3
17
/* C++ Headers */
18
#include <vector>
19
20
#include "
DataFormats/CLHEP/interface/AlgebraicObjects.h
"
21
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
22
23
#include "
FWCore/Framework/interface/ESHandle.h
"
24
25
#include "
Geometry/DTGeometry/interface/DTGeometry.h
"
26
27
/* ====================================================================== */
28
29
/* Collaborating Class Declarations */
30
class
DTSegmentCand
;
31
class
DTRecSegment2D
;
32
class
DTRecSegment4D
;
33
class
DTLinearFit
;
34
class
DTRecHitBaseAlgo
;
35
class
DTChamberRecSegment2D
;
36
37
namespace
edm
{
class
EventSetup
;
class
ParameterSet
;}
38
39
/* Class DTSegmentUpdator Interface */
40
class
DTSegmentUpdator
{
41
42
public
:
43
45
DTSegmentUpdator
(
const
edm::ParameterSet
&
config
) ;
46
48
~
DTSegmentUpdator
() ;
49
50
/* Operations */
51
54
bool
fit
(
DTSegmentCand
* seg,
bool
allow3par,
const
bool
fitdebug)
const
;
55
59
void
fit
(
DTRecSegment2D
* seg,
bool
allow3par,
bool
block3par)
const
;
60
65
void
fit
(
DTRecSegment4D
* seg,
bool
allow3par)
const
;
66
68
void
update
(
DTRecSegment4D
* seg,
const
bool
calcT0,
bool
allow3par)
const
;
69
71
void
update
(
DTRecSegment2D
* seg,
bool
allow3par)
const
;
72
73
void
calculateT0corr(
DTRecSegment2D
* seg)
const
;
74
void
calculateT0corr(
DTRecSegment4D
* seg)
const
;
75
77
void
setES(
const
edm::EventSetup
&
setup
);
78
79
protected
:
80
81
private
:
82
DTLinearFit
*
theFitter
;
// the linear fitter
83
DTRecHitBaseAlgo
*
theAlgo
;
// the algo for hit reconstruction
84
edm::ESHandle<DTGeometry>
theGeom
;
// the geometry
85
86
void
updateHits(
DTRecSegment2D
* seg,
87
GlobalPoint
&gpos,
88
GlobalVector
&gdir,
89
const
int
step
=2)
const
;
90
91
//rejects bad hits (due to deltas) for phi segment
92
void
rejectBadHits(
DTChamberRecSegment2D
* )
const
;
93
95
void
fit
(
const
std::vector<float>& x,
96
const
std::vector<float>& y,
97
const
std::vector<int>& lfit,
98
const
std::vector<double>& dist,
99
const
std::vector<float>& sigy,
100
LocalPoint
&
pos
,
101
LocalVector
&
dir
,
102
float
& cminf,
103
float
& vminf,
104
AlgebraicSymMatrix
& covMat,
105
double
&
chi2
,
106
const
bool
allow3par =
false
,
107
const
bool
block3par =
false
)
const
;
108
109
double
intime_cut
;
110
bool
vdrift_4parfit
;
111
double
T0_hit_resolution
;
112
bool
perform_delta_rejecting
;
113
bool
debug
;
114
115
};
116
117
#endif // DTSegment_DTSegmentUpdator_h
DTRecSegment2D
Definition:
DTRecSegment2D.h:45
DTSegmentUpdator::T0_hit_resolution
double T0_hit_resolution
Definition:
DTSegmentUpdator.h:111
DTGeometry.h
DTRecHitBaseAlgo
Definition:
DTRecHitBaseAlgo.h:33
ParameterSet
Definition:
Functions.h:16
Vector3DBase< float, GlobalTag >
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:1
config
Definition:
config.py:1
DTLinearFit
Definition:
DTLinearFit.h:26
DTSegmentUpdator::theGeom
edm::ESHandle< DTGeometry > theGeom
Definition:
DTSegmentUpdator.h:84
DTSegmentUpdator::debug
bool debug
Definition:
DTSegmentUpdator.h:113
EventSetup
DTSegmentUpdator::theFitter
DTLinearFit * theFitter
Definition:
DTSegmentUpdator.h:82
DTSegmentUpdator::perform_delta_rejecting
bool perform_delta_rejecting
Definition:
DTSegmentUpdator.h:112
edm::ESHandle< DTGeometry >
DTRecSegment4D
Definition:
DTRecSegment4D.h:23
ESHandle.h
AlgebraicObjects.h
edm::EventSetup
Definition:
EventSetup.h:52
DTChamberRecSegment2D
Definition:
DTChamberRecSegment2D.h:31
pos
Definition:
PixelAliasList.h:18
DTSegmentUpdator::intime_cut
double intime_cut
Definition:
DTSegmentUpdator.h:109
Point3DBase< float, GlobalTag >
edm
HLT enums.
Definition:
AlignableModifier.h:17
update
#define update(a, b)
Definition:
TrackClassifier.cc:10
DTSegmentCand
Definition:
DTSegmentCand.h:35
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition:
AlgebraicObjects.h:14
edm::ParameterSet
Definition:
ParameterSet.h:36
step
step
Definition:
StallMonitor.cc:105
dir
dbl *** dir
Definition:
mlp_gen.cc:35
DTSegmentUpdator::vdrift_4parfit
bool vdrift_4parfit
Definition:
DTSegmentUpdator.h:110
trackingPlots.fit
fit
Definition:
trackingPlots.py:1425
vertices_cff.chi2
chi2
Definition:
vertices_cff.py:33
DTSegmentUpdator::theAlgo
DTRecHitBaseAlgo * theAlgo
Definition:
DTSegmentUpdator.h:83
DTSegmentUpdator
Definition:
DTSegmentUpdator.h:40
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11