CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

TrackingRegion Class Reference

#include <TrackingRegion.h>

Inheritance diagram for TrackingRegion:
GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO >

List of all members.

Public Types

typedef
TransientTrackingRecHit::ConstRecHitPointer 
Hit
typedef std::vector< HitHits
typedef PixelRecoRange< float > Range

Public Member Functions

virtual HitRZCompatibilitycheckRZ (const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup, const DetLayer *outerlayer=0, float lr=0, float gz=0, float dr=0, float dz=0) const =0
virtual TrackingRegionclone () const =0
GlobalVector const & direction () const
 the direction around which region is constructed
virtual Hits hits (const edm::Event &ev, const edm::EventSetup &es, const ctfseeding::SeedingLayer *layer) const =0
 get hits from layer compatible with region constraints
Range invPtRange () const
 inverse pt range
virtual std::string name () const
GlobalPoint const & origin () const
float originRBound () const
 bounds the particle vertex in the transverse plane
float originZBound () const
 bounds the particle vertex in the longitudinal plane
virtual std::string print () const
float ptMin () const
 minimal pt of interest
TrackingRegionrestrictedRegion (const GlobalPoint &originPos, const float &originRBound, const float &originZBound) const
 clone region with new vertex position
void setDirection (const GlobalVector &dir)
 TrackingRegion (const GlobalVector &direction, const GlobalPoint &originPos, const Range &invPtRange, const float &originRBound, const float &originZBound)
virtual ~TrackingRegion ()

Private Attributes

GlobalVector theDirection
Range theInvPtRange
float thePtMin
GlobalPoint theVertexPos
float theVertexRBound
float theVertexZBound

Detailed Description

kinematic data common to some concreate implementations of TrackingRegion.

Definition at line 40 of file TrackingRegion.h.


Member Typedef Documentation

Definition at line 46 of file TrackingRegion.h.

typedef std::vector<Hit> TrackingRegion::Hits

Definition at line 47 of file TrackingRegion.h.

Definition at line 45 of file TrackingRegion.h.


Constructor & Destructor Documentation

virtual TrackingRegion::~TrackingRegion ( ) [inline, virtual]

Definition at line 44 of file TrackingRegion.h.

{}
TrackingRegion::TrackingRegion ( const GlobalVector direction,
const GlobalPoint originPos,
const Range invPtRange,
const float &  originRBound,
const float &  originZBound 
) [inline]

Member Function Documentation

virtual HitRZCompatibility* TrackingRegion::checkRZ ( const DetLayer layer,
const Hit outerHit,
const edm::EventSetup iSetup,
const DetLayer outerlayer = 0,
float  lr = 0,
float  gz = 0,
float  dr = 0,
float  dz = 0 
) const [pure virtual]

utility to check eta/theta hit compatibility with region constraints and outer hit constraint

Implemented in GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Referenced by HitPairGeneratorFromLayerPair::doublets(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::hitPairs(), and HitPairGeneratorFromLayerPairForPhotonConversion::hitPairs().

virtual TrackingRegion* TrackingRegion::clone ( ) const [pure virtual]

Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Referenced by restrictedRegion().

GlobalVector const& TrackingRegion::direction ( ) const [inline]

the direction around which region is constructed

Definition at line 65 of file TrackingRegion.h.

References theDirection.

Referenced by CosmicSeedCreator::makeSeed(), and TSGSmart::run().

{ return theDirection; } 
virtual Hits TrackingRegion::hits ( const edm::Event ev,
const edm::EventSetup es,
const ctfseeding::SeedingLayer layer 
) const [pure virtual]
Range TrackingRegion::invPtRange ( ) const [inline]

inverse pt range

Definition at line 83 of file TrackingRegion.h.

References theInvPtRange.

{ return theInvPtRange; }
virtual std::string TrackingRegion::name ( void  ) const [inline, virtual]

Reimplemented in GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Definition at line 113 of file TrackingRegion.h.

Referenced by print().

{ return "TrackingRegion"; }
GlobalPoint const& TrackingRegion::origin ( ) const [inline]
float TrackingRegion::originRBound ( ) const [inline]
float TrackingRegion::originZBound ( ) const [inline]
virtual std::string TrackingRegion::print ( void  ) const [inline, virtual]
float TrackingRegion::ptMin ( ) const [inline]
TrackingRegion* TrackingRegion::restrictedRegion ( const GlobalPoint originPos,
const float &  originRBound,
const float &  originZBound 
) const [inline]

clone region with new vertex position

Definition at line 102 of file TrackingRegion.h.

References clone(), originRBound(), originZBound(), theVertexPos, theVertexRBound, and theVertexZBound.

                                                                    {
      TrackingRegion* restr = clone();
      restr->theVertexPos = originPos;
      restr->theVertexRBound = originRBound;
      restr->theVertexZBound = originZBound;
      return restr;
  } 
void TrackingRegion::setDirection ( const GlobalVector dir) [inline]

Definition at line 121 of file TrackingRegion.h.

References dir, and theDirection.


Member Data Documentation

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 125 of file TrackingRegion.h.

Referenced by direction(), print(), and setDirection().

Definition at line 127 of file TrackingRegion.h.

Referenced by invPtRange(), and print().

float TrackingRegion::thePtMin [private]

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 128 of file TrackingRegion.h.

Referenced by ptMin().

Definition at line 126 of file TrackingRegion.h.

Referenced by origin(), print(), and restrictedRegion().

Definition at line 129 of file TrackingRegion.h.

Referenced by originRBound(), print(), and restrictedRegion().

Definition at line 130 of file TrackingRegion.h.

Referenced by originZBound(), print(), and restrictedRegion().