CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
OuterEstimator< Algo > Class Template Referencefinal

#include <OuterEstimator.h>

Inheritance diagram for OuterEstimator< Algo >:
MeasurementEstimator

Public Types

using OuterHitCompat = OuterHitCompatibility< Algo >
 
- Public Types inherited from MeasurementEstimator
using HitReturnType = std::pair< bool, double >
 
using Local2DVector = Vector2DBase< float, LocalTag >
 
using SurfaceReturnType = bool
 

Public Member Functions

GlobalPoint center ()
 
OuterEstimatorclone () const override
 
const OuterDetCompatibilitydetCompatibility () const
 
bool estimate (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
 
std::pair< bool, double > estimate (const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
 
const OuterHitCompathitCompatibility () const
 
MeasurementEstimator::Local2DVector maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
 
 OuterEstimator (const OuterDetCompatibility &detCompatibility, const OuterHitCompat &hitCompatibility, const edm::EventSetup &iSetup)
 
 ~OuterEstimator () override
 
- 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 =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

OuterDetCompatibility theDetCompatibility
 
OuterHitCompat theHitCompatibility
 

Detailed Description

template<typename Algo>
class OuterEstimator< Algo >

It is a MeasurementEstimator used by TrackingRegions for finding (OUTER) compatible hits and det units by testing the hit compatibility by OuterHitCompatibility and det compatibility by OuterDetCompatibility

Definition at line 23 of file OuterEstimator.h.

Member Typedef Documentation

◆ OuterHitCompat

template<typename Algo >
using OuterEstimator< Algo >::OuterHitCompat = OuterHitCompatibility<Algo>

Definition at line 25 of file OuterEstimator.h.

Constructor & Destructor Documentation

◆ OuterEstimator()

template<typename Algo >
OuterEstimator< Algo >::OuterEstimator ( const OuterDetCompatibility detCompatibility,
const OuterHitCompat hitCompatibility,
const edm::EventSetup iSetup 
)
inline

◆ ~OuterEstimator()

template<typename Algo >
OuterEstimator< Algo >::~OuterEstimator ( )
inlineoverride

Definition at line 32 of file OuterEstimator.h.

32 {}

Member Function Documentation

◆ center()

template<typename Algo >
GlobalPoint OuterEstimator< Algo >::center ( )
inline

Definition at line 42 of file OuterEstimator.h.

42 { return theDetCompatibility.center(); }

◆ clone()

template<typename Algo >
OuterEstimator* OuterEstimator< Algo >::clone ( void  ) const
inlineoverridevirtual

Implements MeasurementEstimator.

Definition at line 44 of file OuterEstimator.h.

44 { return new OuterEstimator(*this); }

◆ detCompatibility()

template<typename Algo >
const OuterDetCompatibility& OuterEstimator< Algo >::detCompatibility ( ) const
inline

Definition at line 51 of file OuterEstimator.h.

51 { return theDetCompatibility; }

◆ estimate() [1/2]

template<typename Algo >
bool OuterEstimator< Algo >::estimate ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const
inlineoverride

Definition at line 38 of file OuterEstimator.h.

38  {
39  return theDetCompatibility(plane);
40  }

◆ estimate() [2/2]

template<typename Algo >
std::pair<bool, double> OuterEstimator< Algo >::estimate ( const TrajectoryStateOnSurface ts,
const TrackingRecHit hit 
) const
inlineoverridevirtual

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 34 of file OuterEstimator.h.

34  {
35  return theHitCompatibility(hit) ? std::make_pair(true, 1.) : std::make_pair(false, 0.);
36  }

◆ hitCompatibility()

template<typename Algo >
const OuterHitCompat& OuterEstimator< Algo >::hitCompatibility ( ) const
inline

Definition at line 52 of file OuterEstimator.h.

52 { return theHitCompatibility; }

◆ maximalLocalDisplacement()

template<typename Algo >
MeasurementEstimator::Local2DVector OuterEstimator< Algo >::maximalLocalDisplacement ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const
inlineoverride

Definition at line 46 of file OuterEstimator.h.

47  {
49  }

References TrajectoryStateOnSurface::globalPosition().

Member Data Documentation

◆ theDetCompatibility

template<typename Algo >
OuterDetCompatibility OuterEstimator< Algo >::theDetCompatibility
private

Definition at line 55 of file OuterEstimator.h.

◆ theHitCompatibility

template<typename Algo >
OuterHitCompat OuterEstimator< Algo >::theHitCompatibility
private

Definition at line 56 of file OuterEstimator.h.

funct::false
false
Definition: Factorize.h:29
TrajectoryStateOnSurface::globalPosition
GlobalPoint globalPosition() const
Definition: TrajectoryStateOnSurface.h:65
OuterEstimator::detCompatibility
const OuterDetCompatibility & detCompatibility() const
Definition: OuterEstimator.h:51
OuterEstimator::theDetCompatibility
OuterDetCompatibility theDetCompatibility
Definition: OuterEstimator.h:55
OuterEstimator::hitCompatibility
const OuterHitCompat & hitCompatibility() const
Definition: OuterEstimator.h:52
OuterEstimator::OuterEstimator
OuterEstimator(const OuterDetCompatibility &detCompatibility, const OuterHitCompat &hitCompatibility, const edm::EventSetup &iSetup)
Definition: OuterEstimator.h:27
OuterDetCompatibility::maximalLocalDisplacement
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
OuterEstimator::theHitCompatibility
OuterHitCompat theHitCompatibility
Definition: OuterEstimator.h:56
std
Definition: JetResolutionObject.h:76
OuterDetCompatibility::center
GlobalPoint center() const
Definition: OuterDetCompatibility.cc:30
hit
Definition: SiStripHitEffFromCalibTree.cc:88