#include <Chi2MeasurementEstimator.h>
Public Member Functions | |
Chi2MeasurementEstimator (double maxChi2, double nSigma=3.) | |
virtual Chi2MeasurementEstimator * | clone () const |
virtual std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &, const TrackingRecHit &) const |
template<unsigned int D> | |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &, const TrackingRecHit &) const |
Public Member Functions inherited from Chi2MeasurementEstimatorBase | |
Chi2MeasurementEstimatorBase (double maxChi2, double nSigma=3.) | |
double | chiSquaredCut () const |
virtual bool | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
double | nSigmaCut () const |
Public Member Functions inherited from MeasurementEstimator | |
virtual | ~MeasurementEstimator () |
Additional Inherited Members | |
Public Types inherited from MeasurementEstimator | |
typedef std::pair< bool, double > | HitReturnType |
typedef Vector2DBase< float, LocalTag > | Local2DVector |
typedef bool | SurfaceReturnType |
Protected Member Functions inherited from Chi2MeasurementEstimatorBase | |
std::pair< bool, double > | returnIt (double est) const |
A Chi2 Measurement Estimator. Computhes the Chi^2 of a TrajectoryState with a RecHit or a Plane. The TrajectoryState must have errors. Works for any RecHit dimension. Ported from ORCA.
Definition at line 15 of file Chi2MeasurementEstimator.h.
|
inlineexplicit |
Construct with cuts on chi2 and nSigma. The cut on Chi2 is used to define the acceptance of RecHits. The errors of the trajectory state are multiplied by nSigma to define acceptance of Plane and maximalLocalDisplacement.
Definition at line 23 of file Chi2MeasurementEstimator.h.
Referenced by clone().
|
inlinevirtual |
Implements MeasurementEstimator.
Reimplemented in Chi2ChargeMeasurementEstimator.
Definition at line 31 of file Chi2MeasurementEstimator.h.
References Chi2MeasurementEstimator().
|
virtual |
Returns pair( true, value) if the TrajectoryStateOnSurface is compatible with the RecHit, and pair( false, value) if it is not compatible. The TrajectoryStateOnSurface must be on the same Surface as the RecHit. For an estimator where there is no value computed, e.g. fixed window estimator, only the first(bool) part is of interest.
Implements Chi2MeasurementEstimatorBase.
Reimplemented in Chi2ChargeMeasurementEstimator.
Definition at line 9 of file Chi2MeasurementEstimator.cc.
References TrackingRecHit::dimension(), and edm::hlt::Exception.
Referenced by CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), GsfChi2MeasurementEstimator::estimate(), MuonChi2MeasurementEstimator::estimate(), Chi2ChargeMeasurementEstimator::estimate(), CosmicMuonSmoother::fit(), and CosmicMuonSmoother::smooth().
|
virtual |
Returns pair( true, value) if the TrajectoryStateOnSurface is compatible with the RecHit, and pair( false, value) if it is not compatible. The TrajectoryStateOnSurface must be on the same Surface as the RecHit. For an estimator where there is no value computed, e.g. fixed window estimator, only the first(bool) part is of interest.
Implements Chi2MeasurementEstimatorBase.