#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 SurfaceReturnType | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const =0 |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
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 31 of file BarrelMeasurementEstimator.h.
|
inline |
|
inline |
Definition at line 37 of file BarrelMeasurementEstimator.h.
|
inlinevirtual |
Implements MeasurementEstimator.
Definition at line 52 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 28 of file BarrelMeasurementEstimator.cc.
References TransientTrackingRecHit::det(), TrackingRecHit::localPosition(), GeomDet::surface(), and Surface::toGlobal().
|
virtual |
Definition at line 36 of file BarrelMeasurementEstimator.cc.
References funct::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 73 of file BarrelMeasurementEstimator.cc.
References funct::abs(), TrajectoryStateOnSurface::globalParameters(), normalized_phi(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GlobalTrajectoryParameters::position(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Definition at line 104 of file BarrelMeasurementEstimator.cc.
References funct::abs(), edm::false, TrajectoryStateOnSurface::globalParameters(), GlobalTrajectoryParameters::position(), and rangesIntersect().
MeasurementEstimator::Local2DVector BarrelMeasurementEstimator::maximalLocalDisplacement | ( | const TrajectoryStateOnSurface & | ts, |
const BoundPlane & | plane | ||
) | const |
Definition at line 138 of file BarrelMeasurementEstimator.cc.
References TrajectoryStateOnSurface::hasError(), asciidump::le, TrajectoryStateOnSurface::localError(), LocalTrajectoryError::positionError(), mathSSE::sqrt(), LocalError::xx(), and LocalError::yy().
|
inline |
|
inline |
Definition at line 43 of file BarrelMeasurementEstimator.h.
References theZMax, theZMin, SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
|
private |
Definition at line 61 of file BarrelMeasurementEstimator.h.
Referenced by setPhiRange().
|
private |
Definition at line 60 of file BarrelMeasurementEstimator.h.
Referenced by estimate(), and setPhiRange().
|
private |
Definition at line 63 of file BarrelMeasurementEstimator.h.
Referenced by estimate(), and setZRange().
|
private |
Definition at line 62 of file BarrelMeasurementEstimator.h.
Referenced by estimate(), and setZRange().