CMS 3D CMS Logo

Public Member Functions | Private Attributes

OuterEstimator Class Reference

#include <OuterEstimator.h>

Inheritance diagram for OuterEstimator:
MeasurementEstimator

List of all members.

Public Member Functions

GlobalPoint center ()
virtual OuterEstimatorclone () const
const OuterDetCompatibilitydetCompatibility () const
virtual std::pair< bool, double > estimate (const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit, const edm::EventSetup &iSetup) const
virtual bool estimate (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
virtual std::pair< bool, double > estimate (const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const
const OuterHitCompatibilityhitCompatibility () const
virtual
MeasurementEstimator::Local2DVector 
maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
 OuterEstimator (const OuterDetCompatibility &detCompatibility, const OuterHitCompatibility &hitCompatibility, const edm::EventSetup &iSetup)
virtual ~OuterEstimator ()

Private Attributes

OuterDetCompatibility theDetCompatibility
OuterHitCompatibility theHitCompatibility

Detailed Description

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


Constructor & Destructor Documentation

OuterEstimator::OuterEstimator ( const OuterDetCompatibility detCompatibility,
const OuterHitCompatibility hitCompatibility,
const edm::EventSetup iSetup 
) [inline]

Definition at line 22 of file OuterEstimator.h.

Referenced by clone().

   : theDetCompatibility(detCompatibility), 
     theHitCompatibility (hitCompatibility) { }
virtual OuterEstimator::~OuterEstimator ( ) [inline, virtual]

Definition at line 28 of file OuterEstimator.h.

{}

Member Function Documentation

GlobalPoint OuterEstimator::center ( ) [inline]
virtual OuterEstimator* OuterEstimator::clone ( void  ) const [inline, virtual]

Implements MeasurementEstimator.

Definition at line 53 of file OuterEstimator.h.

References OuterEstimator().

                                        {
    return new OuterEstimator(*this);
  }
const OuterDetCompatibility& OuterEstimator::detCompatibility ( ) const [inline]

Definition at line 63 of file OuterEstimator.h.

References theDetCompatibility.

    {return theDetCompatibility; }
virtual std::pair<bool,double> OuterEstimator::estimate ( const TrajectoryStateOnSurface ts,
const TrackingRecHit hit,
const edm::EventSetup iSetup 
) const [inline, virtual]

Definition at line 36 of file OuterEstimator.h.

References theHitCompatibility.

          {
       return theHitCompatibility(&hit,iSetup) ? std::make_pair(true,1.) : std::make_pair(false,0.) ;
  }
virtual std::pair<bool,double> OuterEstimator::estimate ( const TrajectoryStateOnSurface ts,
const TransientTrackingRecHit hit 
) const [inline, 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.

Implements MeasurementEstimator.

Definition at line 29 of file OuterEstimator.h.

References theHitCompatibility.

          {
       return theHitCompatibility(&hit) ? std::make_pair(true,1.) : std::make_pair(false,0.) ;
  }
virtual bool OuterEstimator::estimate ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const [inline, virtual]

Returns true if the TrajectoryStateOnSurface is compatible with the BoundPlane, false otherwise. The TrajectoryStateOnSurface must be on the plane.

Implements MeasurementEstimator.

Definition at line 44 of file OuterEstimator.h.

References theDetCompatibility.

        {
    return theDetCompatibility(plane);
  }
const OuterHitCompatibility& OuterEstimator::hitCompatibility ( ) const [inline]

Definition at line 65 of file OuterEstimator.h.

References theHitCompatibility.

Referenced by RectangularEtaPhiTrackingRegion::hits().

    {return theHitCompatibility; }
virtual MeasurementEstimator::Local2DVector OuterEstimator::maximalLocalDisplacement ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const [inline, 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 BoundPlane which is entirely outside of the compatibility region defined by maximalLocalDisplacement().

Reimplemented from MeasurementEstimator.

Definition at line 57 of file OuterEstimator.h.

References TrajectoryStateOnSurface::globalPosition(), OuterDetCompatibility::maximalLocalDisplacement(), and theDetCompatibility.


Member Data Documentation

Definition at line 69 of file OuterEstimator.h.

Referenced by center(), detCompatibility(), estimate(), and maximalLocalDisplacement().

Definition at line 70 of file OuterEstimator.h.

Referenced by estimate(), and hitCompatibility().