#include <MeasurementEstimator.h>
Classes | |
struct | OpaquePayload |
Public Types | |
using | HitReturnType = std::pair< bool, double > |
using | Local2DVector = Vector2DBase< float, LocalTag > |
using | SurfaceReturnType = bool |
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 =0 |
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 | m_maxSagitta =-1. |
float | m_minPt2ForHitRecoveryInGluedDet =std::numeric_limits<float>::max() |
float | m_minTolerance2 =100. |
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.
using MeasurementEstimator::HitReturnType = std::pair<bool,double> |
Definition at line 37 of file MeasurementEstimator.h.
using MeasurementEstimator::Local2DVector = Vector2DBase< float, LocalTag> |
Definition at line 25 of file MeasurementEstimator.h.
using MeasurementEstimator::SurfaceReturnType = bool |
Definition at line 38 of file MeasurementEstimator.h.
|
inline |
Definition at line 28 of file MeasurementEstimator.h.
|
inline |
Definition at line 29 of file MeasurementEstimator.h.
|
inlinevirtual |
Definition at line 35 of file MeasurementEstimator.h.
|
pure virtual |
Implemented in OuterEstimator< Algo >, BarrelMeasurementEstimator, ForwardMeasurementEstimator, EtaPhiEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiMeasurementEstimator, Chi2Switching1DEstimator, GsfChi2MeasurementEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, Chi2MeasurementEstimator, and InsideBoundsMeasurementEstimator.
Referenced by preFilter().
|
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< Algo >, Chi2MeasurementEstimatorBase, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiEstimator, MuonChi2MeasurementEstimator, Chi2Switching1DEstimator, GsfChi2MeasurementEstimator, EtaPhiMeasurementEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, Chi2MeasurementEstimator, MRHChi2MeasurementEstimator, and InsideBoundsMeasurementEstimator.
Referenced by TkGluedMeasurementDet::HitCollectorForSimpleHits::add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::add(), TkGluedMeasurementDet::HitCollectorForSimpleHits::addProjected(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::addProjected(), CkfDebugger::analyseRecHitExistance(), MTDDetRing::compatible(), MuDetRing::compatible(), MTDDetTray::compatible(), MuDetRod::compatible(), MuonDetLayerMeasurements::fastMeasurements(), TkStripMeasurementDet::filteredRecHits(), GsfTrajectoryFitter::fitOne(), NuclearTester::fwdEstimate(), GeomDetCompatibilityChecker::isCompatible(), TkPixelMeasurementDet::measurements(), MuonDetLayerMeasurements::measurements(), GlobalTrackQualityProducer::newChi2(), preFilter(), TkPhase2OTMeasurementDet::recHits(), 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 Chi2MeasurementEstimatorBase, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiMeasurementEstimator, and InsideBoundsMeasurementEstimator.
|
pure 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().
Implemented in ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, EtaPhiMeasurementEstimator, and InsideBoundsMeasurementEstimator.
Referenced by MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), tkDetUtil::computeWindowSize(), TIBLayer::computeWindowSize(), barrelUtil::computeWindowSize(), TOBRod::computeWindowSize(), PixelBlade::computeWindowSize(), Phase2EndcapLayer::computeWindowSize(), Phase1PixelBlade::computeWindowSize(), TIDLayer::computeWindowSize(), Phase2OTBarrelRod::computeWindowSize(), PixelForwardLayer::computeWindowSize(), PixelForwardLayerPhase1::computeWindowSize(), TIBRing::computeWindowSize(), CompositeTECPetal::computeWindowSize(), and preFilter().
|
inline |
Definition at line 78 of file MeasurementEstimator.h.
References m_maxSagitta.
Referenced by GeomDetCompatibilityChecker::isCompatible(), TkPixelMeasurementDet::measurements(), and TkPhase2OTMeasurementDet::recHits().
|
inline |
Definition at line 80 of file MeasurementEstimator.h.
References m_minPt2ForHitRecoveryInGluedDet.
Referenced by TkGluedMeasurementDet::measurements().
|
inline |
Definition at line 79 of file MeasurementEstimator.h.
References m_minTolerance2.
Referenced by GeomDetCompatibilityChecker::isCompatible().
|
inlinevirtual |
Definition at line 54 of file MeasurementEstimator.h.
References clone(), estimate(), and maximalLocalDisplacement().
Referenced by TkGluedMeasurementDet::HitCollectorForSimpleHits::add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::add(), TkGluedMeasurementDet::HitCollectorForSimpleHits::addProjected(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::addProjected(), and TkStripMeasurementDet::filteredRecHits().
|
private |
Definition at line 89 of file MeasurementEstimator.h.
Referenced by maxSagitta().
|
private |
Definition at line 91 of file MeasurementEstimator.h.
Referenced by minPt2ForHitRecoveryInGluedDet().
|
private |
Definition at line 90 of file MeasurementEstimator.h.
Referenced by minTolerance2().