CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
TrackingRegion Class Referenceabstract

#include <TrackingRegion.h>

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

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 More...
 
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 More...
 
Range invPtRange () const
 inverse pt range More...
 
virtual std::string name () const
 
GlobalPoint const & origin () const
 
float originRBound () const
 bounds the particle vertex in the transverse plane More...
 
float originZBound () const
 bounds the particle vertex in the longitudinal plane More...
 
virtual std::string print () const
 
float ptMin () const
 minimal pt of interest More...
 
TrackingRegionrestrictedRegion (const GlobalPoint &originPos, const float &originRBound, const float &originZBound) const
 clone region with new vertex position More...
 
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 ( )
inlinevirtual

Definition at line 44 of file TrackingRegion.h.

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

Definition at line 52 of file TrackingRegion.h.

57  : theDirection( direction), theVertexPos( originPos),
float originRBound() const
bounds the particle vertex in the transverse plane
T max() const
#define abs(x)
Definition: mlp_lapack.h:159
GlobalVector theDirection
T min() const
GlobalPoint theVertexPos
const T & max(const T &a, const T &b)
double f[11][100]
float originZBound() const
bounds the particle vertex in the longitudinal plane
Range invPtRange() const
inverse pt range

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
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 >, CosmicTrackingRegion, 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(), CosmicRegionalSeedGenerator::regions(), and TSGSmart::run().

65 { return theDirection; }
GlobalVector 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.

83 { return theInvPtRange; }
virtual std::string TrackingRegion::name ( void  ) const
inlinevirtual
GlobalPoint const& TrackingRegion::origin ( ) const
inline
float TrackingRegion::originRBound ( ) const
inline
float TrackingRegion::originZBound ( ) const
inline
virtual std::string TrackingRegion::print ( void  ) const
inlinevirtual

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

Definition at line 114 of file TrackingRegion.h.

References PixelRecoRange< T >::max(), name(), theDirection, theInvPtRange, theVertexPos, theVertexRBound, and theVertexZBound.

Referenced by PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::loopOnPriVtx().

114  {
115  std::ostringstream str;
116  str << name() <<" dir:"<<theDirection<<" vtx:"<<theVertexPos
117  <<" dr:"<<theVertexRBound<<" dz:"<<theVertexZBound<<" pt:"<<1./theInvPtRange.max();
118  return str.str();
119  }
T max() const
GlobalVector theDirection
GlobalPoint theVertexPos
virtual std::string name() const
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.

103  {
104  TrackingRegion* restr = clone();
105  restr->theVertexPos = originPos;
106  restr->theVertexRBound = originRBound;
107  restr->theVertexZBound = originZBound;
108  return restr;
109  }
float originRBound() const
bounds the particle vertex in the transverse plane
GlobalPoint theVertexPos
float originZBound() const
bounds the particle vertex in the longitudinal plane
virtual TrackingRegion * clone() const =0
void TrackingRegion::setDirection ( const GlobalVector dir)
inline

Definition at line 121 of file TrackingRegion.h.

References dir, and theDirection.

121 { theDirection = dir; }
GlobalVector theDirection
dbl *** dir
Definition: mlp_gen.cc:35

Member Data Documentation

GlobalVector TrackingRegion::theDirection
private

Definition at line 125 of file TrackingRegion.h.

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

Range TrackingRegion::theInvPtRange
private

Definition at line 127 of file TrackingRegion.h.

Referenced by invPtRange(), and print().

float TrackingRegion::thePtMin
private

Definition at line 128 of file TrackingRegion.h.

Referenced by ptMin().

GlobalPoint TrackingRegion::theVertexPos
private

Definition at line 126 of file TrackingRegion.h.

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

float TrackingRegion::theVertexRBound
private

Definition at line 129 of file TrackingRegion.h.

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

float TrackingRegion::theVertexZBound
private

Definition at line 130 of file TrackingRegion.h.

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