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
public
:
19
explicit
Chi2Switching1DEstimator
(
double
aMaxChi2,
double
nSigma
= 3.)
20
:
Chi2MeasurementEstimatorBase
(aMaxChi2,
nSigma
),
21
theLocalEstimator
(aMaxChi2,
nSigma
),
22
theStripEstimator
(aMaxChi2,
nSigma
) {}
23
25
std::pair<bool, double>
estimate
(
const
TrajectoryStateOnSurface
& aTsos,
const
TrackingRecHit
& aHit)
const override
;
26
27
Chi2Switching1DEstimator
*
clone
()
const override
{
return
new
Chi2Switching1DEstimator
(*
this
); }
28
29
private
:
31
const
Chi2MeasurementEstimator
&
localEstimator
()
const
{
return
theLocalEstimator
; }
33
const
Chi2Strip1DEstimator
&
stripEstimator
()
const
{
return
theStripEstimator
; }
34
35
private
:
36
const
Chi2MeasurementEstimator
theLocalEstimator
;
37
const
Chi2Strip1DEstimator
theStripEstimator
;
38
};
39
#endif //Chi2Switching1DEstimator_H_
HLTSiStripMonitoring_cff.nSigma
nSigma
Definition:
HLTSiStripMonitoring_cff.py:151
MeasurementEstimator.h
Chi2Switching1DEstimator::localEstimator
const Chi2MeasurementEstimator & localEstimator() const
estimator for 2D hits (matched or pixel)
Definition:
Chi2Switching1DEstimator.h:31
Chi2Strip1DEstimator
Definition:
Chi2Strip1DEstimator.h:14
DeepCopyPointerByClone.h
Chi2MeasurementEstimator.h
Chi2Switching1DEstimator::stripEstimator
const Chi2Strip1DEstimator & stripEstimator() const
estimator for 1D hits (non-matched strips)
Definition:
Chi2Switching1DEstimator.h:33
Chi2Switching1DEstimator::theLocalEstimator
const Chi2MeasurementEstimator theLocalEstimator
Definition:
Chi2Switching1DEstimator.h:36
TrackingRecHit
Definition:
TrackingRecHit.h:21
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
Chi2Switching1DEstimator::clone
Chi2Switching1DEstimator * clone() const override
Definition:
Chi2Switching1DEstimator.h:27
Chi2Switching1DEstimator::Chi2Switching1DEstimator
Chi2Switching1DEstimator(double aMaxChi2, double nSigma=3.)
Definition:
Chi2Switching1DEstimator.h:19
Chi2Strip1DEstimator.h
Chi2MeasurementEstimatorBase
Definition:
Chi2MeasurementEstimatorBase.h:14
Chi2Switching1DEstimator::estimate
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const override
implementation of MeasurementEstimator::estimate
Definition:
Chi2Switching1DEstimator.cc:7
Chi2Switching1DEstimator::theStripEstimator
const Chi2Strip1DEstimator theStripEstimator
Definition:
Chi2Switching1DEstimator.h:37
Chi2Switching1DEstimator
Definition:
Chi2Switching1DEstimator.h:17
Chi2MeasurementEstimator
Definition:
Chi2MeasurementEstimator.h:15
Generated for CMSSW Reference Manual by
1.8.14