#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 SurfaceReturnType | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const =0 |
virtual HitReturnType | estimate (const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) 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 19 of file MeasurementEstimator.h.
using MeasurementEstimator::HitReturnType = std::pair<bool, double> |
Definition at line 34 of file MeasurementEstimator.h.
using MeasurementEstimator::Local2DVector = Vector2DBase<float, LocalTag> |
Definition at line 26 of file MeasurementEstimator.h.
using MeasurementEstimator::SurfaceReturnType = bool |
Definition at line 35 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 32 of file MeasurementEstimator.h.
|
pure virtual |
Implemented in OuterEstimator< Algo >, EtaPhiEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, Chi2Switching1DEstimator, EtaPhiMeasurementEstimator, GsfChi2MeasurementEstimator, MRHChi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2Strip1DEstimator, and InsideBoundsMeasurementEstimator.
|
pure virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the Plane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implemented in EtaPhiMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, InsideBoundsMeasurementEstimator, and Chi2MeasurementEstimatorBase.
|
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 EtaPhiEstimator, MRHChi2MeasurementEstimator, InsideBoundsMeasurementEstimator, MRHChi2MeasurementEstimator, OuterEstimator< Algo >, ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, Chi2Switching1DEstimator, MuonChi2MeasurementEstimator, GsfChi2MeasurementEstimator, EtaPhiMeasurementEstimator, Chi2MeasurementEstimator, and Chi2Strip1DEstimator.
Referenced by CkfDebugger::analyseRecHitExistance(), MTDDetRing::compatible(), MuDetRing::compatible(), MTDDetSector::compatible(), MTDDetTray::compatible(), MuDetRod::compatible(), MTDDetLayerMeasurements::fastMeasurements(), MuonDetLayerMeasurements::fastMeasurements(), TkStripMeasurementDet::filteredRecHits(), GsfTrajectoryFitter::fitOne(), NuclearTester::fwdEstimate(), GeomDetCompatibilityChecker::isCompatible(), TkStackMeasurementDet::measurements(), MTDDetLayerMeasurements::measurements(), TkPixelMeasurementDet::measurements(), MuonDetLayerMeasurements::measurements(), GlobalTrackQualityProducer::newChi2(), TkPhase2OTMeasurementDet::recHits(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), and MuonTrajectoryUpdator::update().
|
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 EtaPhiMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, InsideBoundsMeasurementEstimator, and Chi2MeasurementEstimatorBase.
Referenced by MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), tkDetUtil::computeWindowSize(), barrelUtil::computeWindowSize(), TIBLayer::computeWindowSize(), TOBRod::computeWindowSize(), PixelBlade::computeWindowSize(), TIDLayer::computeWindowSize(), Phase1PixelBlade::computeWindowSize(), Phase2OTBarrelRod::computeWindowSize(), PixelForwardLayer::computeWindowSize(), Phase2EndcapLayer::computeWindowSize(), PixelForwardLayerPhase1::computeWindowSize(), CompositeTECPetal::computeWindowSize(), and TIBRing::computeWindowSize().
|
inline |
Definition at line 70 of file MeasurementEstimator.h.
References m_maxSagitta.
Referenced by GeomDetCompatibilityChecker::isCompatible(), TkPixelMeasurementDet::measurements(), and TkPhase2OTMeasurementDet::recHits().
|
inline |
Definition at line 72 of file MeasurementEstimator.h.
References m_minPt2ForHitRecoveryInGluedDet.
Referenced by TkGluedMeasurementDet::measurements().
|
inline |
Definition at line 71 of file MeasurementEstimator.h.
References m_minTolerance2.
Referenced by GeomDetCompatibilityChecker::isCompatible().
|
inlinevirtual |
Definition at line 50 of file MeasurementEstimator.h.
Referenced by TkStripMeasurementDet::filteredRecHits().
|
private |
Definition at line 81 of file MeasurementEstimator.h.
Referenced by maxSagitta().
|
private |
Definition at line 83 of file MeasurementEstimator.h.
Referenced by minPt2ForHitRecoveryInGluedDet().
|
private |
Definition at line 82 of file MeasurementEstimator.h.
Referenced by minTolerance2().