#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 | minTolerance2 () const |
virtual bool | preFilter (const TrajectoryStateOnSurface &, OpaquePayload const &) const |
virtual | ~MeasurementEstimator () |
Private Attributes | |
float | m_maxSagitta =-1. |
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 35 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 36 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 33 of file MeasurementEstimator.h.
|
pure virtual |
Implemented in BarrelMeasurementEstimator, ForwardMeasurementEstimator, OuterEstimator, EtaPhiEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiMeasurementEstimator, Chi2Switching1DEstimator, GsfChi2MeasurementEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, Chi2MeasurementEstimator, 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, Chi2MeasurementEstimatorBase, ConversionForwardEstimator, MuonChi2MeasurementEstimator, Chi2Switching1DEstimator, GsfChi2MeasurementEstimator, EtaPhiEstimator, EtaPhiMeasurementEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, Chi2MeasurementEstimator, 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 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 MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), tkDetUtil::computeWindowSize(), barrelUtil::computeWindowSize(), TIBLayer::computeWindowSize(), TOBRod::computeWindowSize(), Phase2OTEndcapLayer::computeWindowSize(), PixelBlade::computeWindowSize(), Phase1PixelBlade::computeWindowSize(), Phase2OTBarrelRod::computeWindowSize(), TIDLayer::computeWindowSize(), PixelForwardLayer::computeWindowSize(), PixelForwardLayerPhase1::computeWindowSize(), TIBRing::computeWindowSize(), and CompositeTECPetal::computeWindowSize().
|
inline |
Definition at line 76 of file MeasurementEstimator.h.
References m_maxSagitta.
Referenced by GeomDetCompatibilityChecker::isCompatible().
|
inline |
Definition at line 77 of file MeasurementEstimator.h.
References m_minTolerance2.
Referenced by GeomDetCompatibilityChecker::isCompatible().
|
inlinevirtual |
Definition at line 52 of file MeasurementEstimator.h.
Referenced by TkStripMeasurementDet::filteredRecHits().
|
private |
Definition at line 81 of file MeasurementEstimator.h.
Referenced by maxSagitta().
|
private |
Definition at line 82 of file MeasurementEstimator.h.
Referenced by minTolerance2().