#include <MRHChi2MeasurementEstimator.h>
Public Member Functions | |
virtual MRHChi2MeasurementEstimator * | clone () const |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &tsos, const TrackingRecHit &aRecHit) const |
template<unsigned int N> | |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &tsos, const TrackingRecHit &aRecHit) const |
MRHChi2MeasurementEstimator (double maxChi2, double nSigma=3.) | |
Public Member Functions inherited from Chi2MeasurementEstimatorBase | |
Chi2MeasurementEstimatorBase (double maxChi2, double nSigma=3., float maxDisp=std::numeric_limits< float >::max()) | |
template<typename... Args> | |
Chi2MeasurementEstimatorBase (double maxChi2, double nSigma, float maxDisp, Args &&...args) | |
double | chiSquaredCut () const |
virtual bool | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const final |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const final |
double | nSigmaCut () const |
Public Member Functions inherited from MeasurementEstimator | |
float | maxSagitta () const |
MeasurementEstimator () | |
MeasurementEstimator (float maxSag, float minToll, float mpt) | |
float | minPt2ForHitRecoveryInGluedDet () const |
float | minTolerance2 () const |
virtual bool | preFilter (const TrajectoryStateOnSurface &, OpaquePayload const &) const |
virtual | ~MeasurementEstimator () |
Additional Inherited Members | |
Public Types inherited from MeasurementEstimator | |
using | HitReturnType = std::pair< bool, double > |
using | Local2DVector = Vector2DBase< float, LocalTag > |
using | SurfaceReturnType = bool |
Protected Member Functions inherited from Chi2MeasurementEstimatorBase | |
std::pair< bool, double > | returnIt (double est) const |
Definition at line 8 of file MRHChi2MeasurementEstimator.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 17 of file MRHChi2MeasurementEstimator.h.
References estimate().
Referenced by clone().
|
inlinevirtual |
Implements MeasurementEstimator.
Definition at line 27 of file MRHChi2MeasurementEstimator.h.
References MRHChi2MeasurementEstimator().
|
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.
Definition at line 12 of file MRHChi2MeasurementEstimator.cc.
References TrackingRecHit::dimension(), Exception, LogDebug, and dataset::name.
Referenced by MRHChi2MeasurementEstimator().
|
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.
Definition at line 36 of file MRHChi2MeasurementEstimator.cc.
References patCaloMETCorrections_cff::C, makeMuonMisalignmentScenario::components, SiTrackerMultiRecHit::getAnnealingFactor(), invertPosDefMatrix(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogDebug, LocalTrajectoryError::matrix(), packedPFCandidateRefMixer_cfi::pf, alignCSCRings::r, SiTrackerMultiRecHit::recHits(), Chi2MeasurementEstimatorBase::returnIt(), LocalTrajectoryParameters::vector(), SiTrackerMultiRecHit::weight(), and x.