Main Page
Namespaces
Classes
Package Documentation
TrackingTools
KalmanUpdators
interface
Chi2Switching1DEstimator.h
Go to the documentation of this file.
1
#ifndef Chi2Switching1DEstimator_H_
2
#define Chi2Switching1DEstimator_H_
3
12
#include "
TrackingTools/DetLayers/interface/MeasurementEstimator.h
"
13
#include "
TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h
"
14
#include "
TrackingTools/KalmanUpdators/interface/Chi2Strip1DEstimator.h
"
15
#include "
DataFormats/GeometryCommonDetAlgo/interface/DeepCopyPointerByClone.h
"
16
17
class
Chi2Switching1DEstimator
final :
public
Chi2MeasurementEstimatorBase
{
18
19
public
:
20
21
explicit
Chi2Switching1DEstimator
(
double
aMaxChi2,
double
nSigma
= 3.) :
22
Chi2MeasurementEstimatorBase
(aMaxChi2,
nSigma
),
23
theLocalEstimator
(aMaxChi2,
nSigma
),
24
theStripEstimator
(aMaxChi2,
nSigma
) {}
25
27
virtual
std::pair<bool, double>
estimate
(
const
TrajectoryStateOnSurface
& aTsos,
28
const
TrackingRecHit
& aHit)
const
;
29
30
virtual
Chi2Switching1DEstimator
*
clone
()
const
31
{
32
return
new
Chi2Switching1DEstimator
(*
this
);
33
}
34
35
private
:
37
const
Chi2MeasurementEstimator
&
localEstimator
()
const
{
38
return
theLocalEstimator
;
39
}
41
const
Chi2Strip1DEstimator
&
stripEstimator
()
const
{
42
return
theStripEstimator
;
43
}
44
45
private
:
46
const
Chi2MeasurementEstimator
theLocalEstimator
;
47
const
Chi2Strip1DEstimator
theStripEstimator
;
48
49
};
50
#endif //Chi2Switching1DEstimator_H_
51
52
53
MeasurementEstimator.h
Chi2Strip1DEstimator
Definition:
Chi2Strip1DEstimator.h:14
DeepCopyPointerByClone.h
Chi2MeasurementEstimator.h
Chi2Switching1DEstimator::theLocalEstimator
const Chi2MeasurementEstimator theLocalEstimator
Definition:
Chi2Switching1DEstimator.h:46
TrackingRecHit
Definition:
TrackingRecHit.h:23
Chi2Switching1DEstimator::stripEstimator
const Chi2Strip1DEstimator & stripEstimator() const
estimator for 1D hits (non-matched strips)
Definition:
Chi2Switching1DEstimator.h:41
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
Chi2Switching1DEstimator::Chi2Switching1DEstimator
Chi2Switching1DEstimator(double aMaxChi2, double nSigma=3.)
Definition:
Chi2Switching1DEstimator.h:21
Chi2Switching1DEstimator::clone
virtual Chi2Switching1DEstimator * clone() const
Definition:
Chi2Switching1DEstimator.h:30
Chi2Strip1DEstimator.h
Chi2MeasurementEstimatorBase
Definition:
Chi2MeasurementEstimatorBase.h:14
Chi2Switching1DEstimator::theStripEstimator
const Chi2Strip1DEstimator theStripEstimator
Definition:
Chi2Switching1DEstimator.h:47
Chi2Switching1DEstimator::estimate
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const
implementation of MeasurementEstimator::estimate
Definition:
Chi2Switching1DEstimator.cc:8
gsfElectronCkfTrackCandidateMaker_cff.nSigma
nSigma
Definition:
gsfElectronCkfTrackCandidateMaker_cff.py:45
Chi2Switching1DEstimator
Definition:
Chi2Switching1DEstimator.h:17
Chi2Switching1DEstimator::localEstimator
const Chi2MeasurementEstimator & localEstimator() const
estimator for 2D hits (matched or pixel)
Definition:
Chi2Switching1DEstimator.h:37
Chi2MeasurementEstimator
Definition:
Chi2MeasurementEstimator.h:15
Generated for CMSSW Reference Manual by
1.8.11