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