#include <EtaPhiMeasurementEstimator.h>
Public Member Functions | |
EtaPhiMeasurementEstimator * | clone () const |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &, const TransientTrackingRecHit &) const |
virtual bool | estimate (const TrajectoryStateOnSurface &tsos, const BoundPlane &plane) const |
EtaPhiMeasurementEstimator (double dEta, double dPhi) | |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &tsos, const BoundPlane &plane) const |
~EtaPhiMeasurementEstimator () | |
Public Member Functions inherited from Chi2MeasurementEstimatorBase | |
Chi2MeasurementEstimatorBase (double maxChi2, double nSigma=3.) | |
double | chiSquaredCut () const |
double | nSigmaCut () const |
Public Member Functions inherited from MeasurementEstimator | |
virtual | ~MeasurementEstimator () |
Private Attributes | |
double | thedEta |
double | thedPhi |
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 EtaPhi Measurement Estimator. Computhes the Chi^2 of a TrajectoryState with a RecHit or a BoundPlane. The TrajectoryState must have errors. Works for any RecHit dimension. Ported from ORCA.
tschudi
Definition at line 17 of file EtaPhiMeasurementEstimator.h.
|
inlineexplicit |
Definition at line 20 of file EtaPhiMeasurementEstimator.h.
Referenced by clone().
|
inline |
Definition at line 25 of file EtaPhiMeasurementEstimator.h.
|
inlinevirtual |
Implements MeasurementEstimator.
Definition at line 36 of file EtaPhiMeasurementEstimator.h.
References EtaPhiMeasurementEstimator().
|
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 10 of file EtaPhiMeasurementEstimator.cc.
References dPhi(), PV3DBase< T, PVType, FrameType >::eta(), TransientTrackingRecHit::globalPosition(), TrajectoryStateOnSurface::globalPosition(), LogDebug, PV3DBase< T, PVType, FrameType >::phi(), thedEta, and thedPhi.
|
virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the BoundPlane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Reimplemented from Chi2MeasurementEstimatorBase.
Definition at line 26 of file EtaPhiMeasurementEstimator.cc.
References dPhi(), PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::globalPosition(), LogDebug, PV3DBase< T, PVType, FrameType >::phi(), GloballyPositioned< T >::position(), thedEta, and thedPhi.
|
virtual |
Returns the size of the compatibility region around the local position of the TrajectoryStateOnSurface along the directions of local x and y axis. The TrajectoryStateOnSurface must be on the plane. This method allows to limit the search for compatible detectors or RecHits. The MeasurementEstimator should not return "true" for any RecHit or BoundPlane which is entirely outside of the compatibility region defined by maximalLocalDisplacement().
Reimplemented from Chi2MeasurementEstimatorBase.
Definition at line 43 of file EtaPhiMeasurementEstimator.cc.
|
private |
Definition at line 40 of file EtaPhiMeasurementEstimator.h.
Referenced by estimate().
|
private |
Definition at line 41 of file EtaPhiMeasurementEstimator.h.
Referenced by estimate().