Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
KalmanUpdators
interface
Chi2SwitchingEstimator.h
Go to the documentation of this file.
1
#ifndef Chi2SwitchingEstimator_H_
2
#define Chi2SwitchingEstimator_H_
3
14
#include "
TrackingTools/PatternTools/interface/MeasurementEstimator.h
"
15
#include "
TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h
"
16
#include "
TrackingTools/KalmanUpdators/interface/Chi2StripEstimator.h
"
17
#include "
DataFormats/GeometryCommonDetAlgo/interface/DeepCopyPointerByClone.h
"
18
19
class
Chi2SwitchingEstimator
:
public
Chi2MeasurementEstimatorBase
{
20
21
public
:
22
23
explicit
Chi2SwitchingEstimator
(
double
aMaxChi2,
double
nSigma = 3.) :
24
Chi2MeasurementEstimatorBase
(aMaxChi2,nSigma),
25
theLocalEstimator
(new
Chi2MeasurementEstimator
(aMaxChi2,nSigma)),
26
theStripEstimator
(new
Chi2StripEstimator
(aMaxChi2,nSigma)) {}
27
29
virtual
std::pair<bool,double>
estimate
(
const
TrajectoryStateOnSurface
& aTsos,
30
const
TransientTrackingRecHit
& aHit)
const
;
31
32
virtual
Chi2SwitchingEstimator
*
clone
()
const
33
{
34
return
new
Chi2SwitchingEstimator
(*
this
);
35
}
36
37
private
:
39
const
Chi2MeasurementEstimator
&
localEstimator
()
const
{
40
return
*
theLocalEstimator
;
41
}
43
const
Chi2StripEstimator
&
stripEstimator
()
const
{
44
return
*
theStripEstimator
;
45
}
46
47
private
:
48
DeepCopyPointerByClone<const Chi2MeasurementEstimator>
theLocalEstimator
;
49
DeepCopyPointerByClone<const Chi2StripEstimator>
theStripEstimator
;
50
51
};
52
#endif //Chi2SwitchingEstimator_H_
Chi2SwitchingEstimator::stripEstimator
const Chi2StripEstimator & stripEstimator() const
estimator for 1D hits (non-matched strips)
Definition:
Chi2SwitchingEstimator.h:43
MeasurementEstimator.h
DeepCopyPointerByClone.h
Chi2SwitchingEstimator::theStripEstimator
DeepCopyPointerByClone< const Chi2StripEstimator > theStripEstimator
Definition:
Chi2SwitchingEstimator.h:49
Chi2MeasurementEstimator.h
Chi2SwitchingEstimator::estimate
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TransientTrackingRecHit &aHit) const
implementation of MeasurementEstimator::estimate
Definition:
Chi2SwitchingEstimator.cc:6
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:15
Chi2SwitchingEstimator::Chi2SwitchingEstimator
Chi2SwitchingEstimator(double aMaxChi2, double nSigma=3.)
Definition:
Chi2SwitchingEstimator.h:23
Chi2StripEstimator.h
Chi2SwitchingEstimator::localEstimator
const Chi2MeasurementEstimator & localEstimator() const
estimator for 2D hits (matched or pixel)
Definition:
Chi2SwitchingEstimator.h:39
Chi2MeasurementEstimatorBase
Definition:
Chi2MeasurementEstimatorBase.h:15
Chi2SwitchingEstimator::theLocalEstimator
DeepCopyPointerByClone< const Chi2MeasurementEstimator > theLocalEstimator
Definition:
Chi2SwitchingEstimator.h:48
DeepCopyPointerByClone< const Chi2MeasurementEstimator >
TransientTrackingRecHit
Definition:
TransientTrackingRecHit.h:21
Chi2StripEstimator
Definition:
Chi2StripEstimator.h:15
Chi2SwitchingEstimator
Definition:
Chi2SwitchingEstimator.h:19
Chi2MeasurementEstimator
Definition:
Chi2MeasurementEstimator.h:17
Chi2SwitchingEstimator::clone
virtual Chi2SwitchingEstimator * clone() const
Definition:
Chi2SwitchingEstimator.h:32
Generated for CMSSW Reference Manual by
1.8.5