#include <EtaPhiMeasurementEstimator.h>
Public Member Functions | |
EtaPhiMeasurementEstimator * | clone () const |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &, const TrackingRecHit &) const |
virtual bool | estimate (const TrajectoryStateOnSurface &tsos, const Plane &plane) const |
EtaPhiMeasurementEstimator (float dEta, float dPhi) | |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &tsos, const Plane &plane) const |
~EtaPhiMeasurementEstimator () | |
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 () |
Private Attributes | |
float | thedEta |
float | thedPhi |
Additional Inherited Members | |
Public Types inherited from MeasurementEstimator | |
using | HitReturnType = std::pair< bool, double > |
using | Local2DVector = Vector2DBase< float, LocalTag > |
using | SurfaceReturnType = bool |
A EtaPhi 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.
tschudi
Definition at line 15 of file EtaPhiMeasurementEstimator.h.
|
inlineexplicit |
|
inline |
Definition at line 22 of file EtaPhiMeasurementEstimator.h.
References estimate(), and maximalLocalDisplacement().
|
inlinevirtual |
Implements MeasurementEstimator.
Definition at line 33 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 MeasurementEstimator.
Definition at line 10 of file EtaPhiMeasurementEstimator.cc.
Referenced by ~EtaPhiMeasurementEstimator().
|
virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the Plane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implements MeasurementEstimator.
Definition at line 34 of file EtaPhiMeasurementEstimator.cc.
References funct::abs(), PV3DBase< T, PVType, FrameType >::barePhi(), MuonCkfTrajectoryBuilder_cfi::deltaPhi, dPhi(), GloballyPositioned< T >::eta(), PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::globalPosition(), LogDebug, GloballyPositioned< T >::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 Plane which is entirely outside of the compatibility region defined by maximalLocalDisplacement().
Implements MeasurementEstimator.
Definition at line 50 of file EtaPhiMeasurementEstimator.cc.
Referenced by ~EtaPhiMeasurementEstimator().
|
private |
Definition at line 37 of file EtaPhiMeasurementEstimator.h.
Referenced by estimate().
|
private |
Definition at line 38 of file EtaPhiMeasurementEstimator.h.
Referenced by estimate().