Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
KalmanUpdators
interface
Chi2MeasurementEstimatorBase.h
Go to the documentation of this file.
1
#ifndef CommonDet_Chi2MeasurementEstimatorBase_H
2
#define CommonDet_Chi2MeasurementEstimatorBase_H
3
11
#include "
TrackingTools/DetLayers/interface/MeasurementEstimator.h
"
12
#include "
FWCore/Utilities/interface/GCC11Compatibility.h
"
13
14
class
Chi2MeasurementEstimatorBase
:
public
MeasurementEstimator
{
15
public
:
16
22
explicit
Chi2MeasurementEstimatorBase
(
double
maxChi2
,
double
nSigma = 3.) :
23
theMaxChi2
(maxChi2),
theNSigma
(nSigma) {}
24
25
virtual
std::pair<bool, double>
estimate
(
const
TrajectoryStateOnSurface
& ts,
26
const
TransientTrackingRecHit
&)
const
= 0;
27
28
virtual
bool
estimate
(
const
TrajectoryStateOnSurface
& ts,
29
const
Plane
& plane)
const
;
30
31
virtual
Local2DVector
32
maximalLocalDisplacement
(
const
TrajectoryStateOnSurface
& ts,
33
const
Plane
& plane)
const
;
34
35
double
chiSquaredCut
()
const
{
return
theMaxChi2
;}
36
double
nSigmaCut
()
const
{
return
theNSigma
;}
37
38
protected
:
39
40
std::pair<bool,double>
returnIt
(
double
est)
const
{
41
return
est >
chiSquaredCut
() ?
HitReturnType
(
false
,est) :
HitReturnType
(
true
,est);
42
}
43
44
private
:
45
double
theMaxChi2
;
46
double
theNSigma
;
47
};
48
49
#endif
MeasurementEstimator.h
Chi2MeasurementEstimatorBase::chiSquaredCut
double chiSquaredCut() const
Definition:
Chi2MeasurementEstimatorBase.h:35
PixelLessTripletStep_cff.maxChi2
tuple maxChi2
Definition:
PixelLessTripletStep_cff.py:75
MeasurementEstimator
Definition:
MeasurementEstimator.h:20
Chi2MeasurementEstimatorBase::returnIt
std::pair< bool, double > returnIt(double est) const
Definition:
Chi2MeasurementEstimatorBase.h:40
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:15
Chi2MeasurementEstimatorBase::nSigmaCut
double nSigmaCut() const
Definition:
Chi2MeasurementEstimatorBase.h:36
Plane
Definition:
Plane.h:17
Chi2MeasurementEstimatorBase::Chi2MeasurementEstimatorBase
Chi2MeasurementEstimatorBase(double maxChi2, double nSigma=3.)
Definition:
Chi2MeasurementEstimatorBase.h:22
Chi2MeasurementEstimatorBase::theMaxChi2
double theMaxChi2
Definition:
Chi2MeasurementEstimatorBase.h:45
Chi2MeasurementEstimatorBase
Definition:
Chi2MeasurementEstimatorBase.h:14
MeasurementEstimator::HitReturnType
std::pair< bool, double > HitReturnType
Definition:
MeasurementEstimator.h:27
Vector2DBase< float, LocalTag >
GCC11Compatibility.h
TransientTrackingRecHit
Definition:
TransientTrackingRecHit.h:21
Chi2MeasurementEstimatorBase::estimate
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &) const =0
Chi2MeasurementEstimatorBase::maximalLocalDisplacement
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const
Definition:
Chi2MeasurementEstimatorBase.cc:17
Chi2MeasurementEstimatorBase::theNSigma
double theNSigma
Definition:
Chi2MeasurementEstimatorBase.h:46
Generated for CMSSW Reference Manual by
1.8.5