CMS 3D CMS Logo

ctfseeding::SeedingHit Class Reference

#include <RecoTracker/TkSeedingLayers/interface/SeedingHit.h>

List of all members.

Public Member Functions

float errorRPhi () const
float errorRZ () const
 operator const TrackingRecHit * () const
 operator const TransientTrackingRecHit::ConstRecHitPointer & () const
float phi () const
float r () const
float rOrZ () const
 SeedingHit (const TrackingRecHit *hit, const edm::EventSetup &iSetup)
 SeedingHit (const TransientTrackingRecHit::ConstRecHitPointer &ttrh, const SeedingLayer &l)
 SeedingHit (const TrackingRecHit *hit, const SeedingLayer &l, const edm::EventSetup &iSetup)
const SeedingLayerseedinglayer () const
float z () const

Private Attributes

boost::shared_ptr< SeedingHitImpltheImpl

Classes

class  SeedingHitImpl


Detailed Description

Definition at line 15 of file SeedingHit.h.


Constructor & Destructor Documentation

SeedingHit::SeedingHit ( const TrackingRecHit hit,
const SeedingLayer l,
const edm::EventSetup iSetup 
)

Definition at line 140 of file SeedingHit.cc.

References h, and theImpl.

00142 {
00143   SeedingHitImpl * h = new SeedingHitImpl(hit,layer,es);
00144   theImpl = boost::shared_ptr<SeedingHitImpl>(h);
00145 }

SeedingHit::SeedingHit ( const TransientTrackingRecHit::ConstRecHitPointer ttrh,
const SeedingLayer l 
)

Definition at line 133 of file SeedingHit.cc.

References h, and theImpl.

00135 {
00136   SeedingHitImpl * h = new SeedingHitImpl(ttrh, layer);
00137   theImpl = boost::shared_ptr<SeedingHitImpl>(h);
00138 }

SeedingHit::SeedingHit ( const TrackingRecHit hit,
const edm::EventSetup iSetup 
)

Definition at line 147 of file SeedingHit.cc.

References h, and theImpl.

00148 {
00149   SeedingHitImpl * h = new SeedingHitImpl(hit,es);
00150   theImpl = boost::shared_ptr<SeedingHitImpl>(h);
00151 }


Member Function Documentation

float SeedingHit::errorRPhi (  )  const

Definition at line 159 of file SeedingHit.cc.

References theImpl.

00159 { return theImpl->errorRPhi(); }

float SeedingHit::errorRZ (  )  const

Definition at line 158 of file SeedingHit.cc.

References theImpl.

00158 { return theImpl->errorRZ(); }

SeedingHit::operator const TrackingRecHit * (  )  const

Definition at line 161 of file SeedingHit.cc.

References theImpl.

00161                                                   {
00162   return  theImpl->trackingRecHit();
00163 }

SeedingHit::operator const TransientTrackingRecHit::ConstRecHitPointer & (  )  const

Definition at line 165 of file SeedingHit.cc.

References theImpl.

00165                                                                              {
00166   return theImpl->transientRecHit();
00167 }

float SeedingHit::phi ( void   )  const

Definition at line 154 of file SeedingHit.cc.

References theImpl.

Referenced by CosmicHitPairGeneratorFromLayerPair::hitPairs(), HitPairGeneratorFromLayerPair::hitPairs(), CosmicHitTripletGeneratorFromLayerTriplet::hitTriplets(), TkHitPairsCacheCell::lessPhiHitHit(), TkHitPairsCacheCell::lessPhiHitVal(), and TkHitPairsCacheCell::lessPhiValHit().

00154 { return theImpl->phi(); }

float SeedingHit::r (  )  const

Definition at line 156 of file SeedingHit.cc.

References theImpl.

Referenced by CosmicHitPairGeneratorFromLayerPair::hitPairs(), HitPairGeneratorFromLayerPair::hitPairs(), and CosmicHitTripletGeneratorFromLayerTriplet::hitTriplets().

00156 { return theImpl->r(); }

float SeedingHit::rOrZ (  )  const

Definition at line 155 of file SeedingHit.cc.

References theImpl.

Referenced by LayerHitMapLoop::getHit().

00155 { return theImpl->rOrZ(); }

const SeedingLayer& ctfseeding::SeedingHit::seedinglayer (  )  const

float SeedingHit::z ( void   )  const

Definition at line 157 of file SeedingHit.cc.

References theImpl.

Referenced by CosmicHitPairGeneratorFromLayerPair::hitPairs(), HitPairGeneratorFromLayerPair::hitPairs(), and CosmicHitTripletGeneratorFromLayerTriplet::hitTriplets().

00157 { return theImpl->z(); }


Member Data Documentation

boost::shared_ptr<SeedingHitImpl> ctfseeding::SeedingHit::theImpl [private]

Definition at line 37 of file SeedingHit.h.

Referenced by errorRPhi(), errorRZ(), operator const TrackingRecHit *(), operator const TransientTrackingRecHit::ConstRecHitPointer &(), phi(), r(), rOrZ(), SeedingHit(), and z().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:37:09 2009 for CMSSW by  doxygen 1.5.4