#include <BarrelMeasurementEstimator.h>
Public Member Functions | |
BarrelMeasurementEstimator () | |
BarrelMeasurementEstimator (float phiMin, float phiMax, float zMin, float zMax) | |
virtual BarrelMeasurementEstimator * | clone () const |
virtual std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const |
virtual std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &ts, GlobalPoint &gp) const |
virtual std::pair< bool, double > | estimate (const GlobalPoint &vprim, const TrajectoryStateOnSurface &ts, GlobalPoint &gp) const |
virtual bool | estimate (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const |
MeasurementEstimator::Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const |
void | setPhiRange (float dummyphiMin, float dummyphiMax) |
void | setZRange (float zmin, float zmax) |
Public Member Functions inherited from MeasurementEstimator | |
virtual | ~MeasurementEstimator () |
Private Attributes | |
float | thePhiMax |
float | thePhiMin |
float | theZMax |
float | theZMin |
Additional Inherited Members | |
Public Types inherited from MeasurementEstimator | |
typedef std::pair< bool, double > | HitReturnType |
typedef Vector2DBase< float, LocalTag > | Local2DVector |
typedef bool | SurfaceReturnType |
Definition at line 32 of file BarrelMeasurementEstimator.h.
|
inline |
|
inline |
Definition at line 38 of file BarrelMeasurementEstimator.h.
|
inlinevirtual |
Implements MeasurementEstimator.
Definition at line 53 of file BarrelMeasurementEstimator.h.
References BarrelMeasurementEstimator().
|
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 29 of file BarrelMeasurementEstimator.cc.
References TransientTrackingRecHit::det(), TrackingRecHit::localPosition(), GeomDet::surface(), and Surface::toGlobal().
|
virtual |
Definition at line 37 of file BarrelMeasurementEstimator.cc.
References abs, TrajectoryStateOnSurface::globalParameters(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), pi, GlobalTrajectoryParameters::position(), thePhiMin, theZMax, theZMin, and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Definition at line 74 of file BarrelMeasurementEstimator.cc.
References abs, TrajectoryStateOnSurface::globalParameters(), normalized_phi(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GlobalTrajectoryParameters::position(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the BoundPlane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implements MeasurementEstimator.
Definition at line 105 of file BarrelMeasurementEstimator.cc.
References abs, funct::false, TrajectoryStateOnSurface::globalParameters(), GlobalTrajectoryParameters::position(), and rangesIntersect().
|
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 MeasurementEstimator.
Definition at line 139 of file BarrelMeasurementEstimator.cc.
References TrajectoryStateOnSurface::hasError(), vdt::le, TrajectoryStateOnSurface::localError(), LocalTrajectoryError::positionError(), mathSSE::sqrt(), LocalError::xx(), and LocalError::yy().
|
inline |
|
inline |
|
private |
Definition at line 62 of file BarrelMeasurementEstimator.h.
Referenced by setPhiRange().
|
private |
Definition at line 61 of file BarrelMeasurementEstimator.h.
Referenced by estimate(), and setPhiRange().
|
private |
Definition at line 64 of file BarrelMeasurementEstimator.h.
Referenced by estimate(), and setZRange().
|
private |
Definition at line 63 of file BarrelMeasurementEstimator.h.
Referenced by estimate(), and setZRange().