#include <MeasurementEstimator.h>
Classes | |
struct | OpaquePayload |
Public Types | |
typedef std::pair< bool, double > | HitReturnType |
typedef Vector2DBase< float, LocalTag > | Local2DVector |
typedef bool | SurfaceReturnType |
Public Member Functions | |
virtual MeasurementEstimator * | clone () const =0 |
virtual HitReturnType | estimate (const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0 |
virtual SurfaceReturnType | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const =0 |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
virtual bool | preFilter (const TrajectoryStateOnSurface &, OpaquePayload const &) const |
virtual | ~MeasurementEstimator () |
The MeasurementEstimator defines the compatibility of a TrajectoryStateOnSurface and a RecHit, and of a TrajectoryStateOnSurface and a Plane. It is used in the Det interface to obtain compatible measurements.
Definition at line 20 of file MeasurementEstimator.h.
typedef std::pair<bool,double> MeasurementEstimator::HitReturnType |
Definition at line 29 of file MeasurementEstimator.h.
typedef Vector2DBase< float, LocalTag> MeasurementEstimator::Local2DVector |
Definition at line 25 of file MeasurementEstimator.h.
typedef bool MeasurementEstimator::SurfaceReturnType |
Definition at line 30 of file MeasurementEstimator.h.
|
inlinevirtual |
Definition at line 27 of file MeasurementEstimator.h.
|
pure virtual |
Implemented in BarrelMeasurementEstimator, ForwardMeasurementEstimator, OuterEstimator, EtaPhiEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiMeasurementEstimator, Chi2Switching1DEstimator, GsfChi2MeasurementEstimator, Chi2MeasurementEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, and InsideBoundsMeasurementEstimator.
|
pure 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.
Implemented in BarrelMeasurementEstimator, ForwardMeasurementEstimator, OuterEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, MuonChi2MeasurementEstimator, Chi2Switching1DEstimator, GsfChi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimatorBase, EtaPhiMeasurementEstimator, EtaPhiEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, MRHChi2MeasurementEstimator, and InsideBoundsMeasurementEstimator.
Referenced by CkfDebugger::analyseRecHitExistance(), MuDetRing::compatible(), MuDetRod::compatible(), MuonDetLayerMeasurements::fastMeasurements(), TkStripMeasurementDet::filteredRecHits(), GsfTrajectoryFitter::fitOne(), NuclearTester::fwdEstimate(), GeomDetCompatibilityChecker::isCompatible(), TkPixelMeasurementDet::measurements(), MuonDetLayerMeasurements::measurements(), GlobalTrackQualityProducer::newChi2(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), and MuonTrajectoryUpdator::update().
|
pure virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the Plane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implemented in ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, EtaPhiMeasurementEstimator, and InsideBoundsMeasurementEstimator.
|
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().
Reimplemented in ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, EtaPhiMeasurementEstimator, and InsideBoundsMeasurementEstimator.
Definition at line 5 of file MeasurementEstimator.cc.
References Exception.
Referenced by MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), tkDetUtil::computeWindowSize(), barrelUtil::computeWindowSize(), TIBLayer::computeWindowSize(), TOBRod::computeWindowSize(), Phase2OTECRingedLayer::computeWindowSize(), PixelBlade::computeWindowSize(), Phase1PixelBlade::computeWindowSize(), Phase2OTBarrelRod::computeWindowSize(), TIDLayer::computeWindowSize(), PixelForwardLayer::computeWindowSize(), PixelForwardLayerPhase1::computeWindowSize(), TIBRing::computeWindowSize(), and CompositeTECPetal::computeWindowSize().
|
inlinevirtual |
Definition at line 46 of file MeasurementEstimator.h.
Referenced by TkStripMeasurementDet::filteredRecHits().