#include <ConversionBarrelEstimator.h>
Public Member Functions | |
ConversionBarrelEstimator * | clone () const override |
ConversionBarrelEstimator () | |
ConversionBarrelEstimator (float phiRangeMin, float phiRangeMax, float zRangeMin, float zRangeMax, double nSigma=3.) | |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override |
bool | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const override |
Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const override |
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 () |
Private Attributes | |
double | theNSigma |
float | thePhiRangeMax |
float | thePhiRangeMin |
float | theZRangeMax |
float | theZRangeMin |
Additional Inherited Members | |
Public Types inherited from MeasurementEstimator | |
using | HitReturnType = std::pair< bool, double > |
using | Local2DVector = Vector2DBase< float, LocalTag > |
using | SurfaceReturnType = bool |
Defines the search area in the barrel
Definition at line 19 of file ConversionBarrelEstimator.h.
|
inline |
|
inline |
Definition at line 23 of file ConversionBarrelEstimator.h.
References estimate().
|
inlineoverridevirtual |
Implements MeasurementEstimator.
Definition at line 35 of file ConversionBarrelEstimator.h.
References ConversionBarrelEstimator(), and maximalLocalDisplacement().
|
overridevirtual |
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 11 of file ConversionBarrelEstimator.cc.
References PVValHelper::dz, TrajectoryStateOnSurface::globalParameters(), TrackingRecHit::globalPosition(), runTauDisplay::gp, TrackingRecHit::localPositionError(), PV3DBase< T, PVType, FrameType >::phi(), pi, GlobalTrajectoryParameters::position(), rangesIntersect(), mps_fire::result, mathSSE::sqrt(), thePhiRangeMax, thePhiRangeMin, theZRangeMax, LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ConversionBarrelEstimator().
|
overridevirtual |
Returns true if the TrajectoryStateOnSurface is compatible with the Plane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implements MeasurementEstimator.
|
overridevirtual |
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 97 of file ConversionBarrelEstimator.cc.
Referenced by clone().
|
inline |
|
private |
Definition at line 54 of file ConversionBarrelEstimator.h.
Referenced by nSigmaCut().
|
private |
Definition at line 51 of file ConversionBarrelEstimator.h.
Referenced by estimate().
|
private |
Definition at line 50 of file ConversionBarrelEstimator.h.
Referenced by estimate().
|
private |
Definition at line 53 of file ConversionBarrelEstimator.h.
Referenced by estimate().
|
private |
Definition at line 52 of file ConversionBarrelEstimator.h.