CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Private Attributes

ctfseeding::SeedingLayer Class Reference

#include <SeedingLayer.h>

List of all members.

Classes

class  SeedingLayerImpl

Public Types

typedef std::vector
< TransientTrackingRecHit::ConstRecHitPointer
Hits
enum  Side { Barrel = 0, NegEndcap = 1, PosEndcap = 2 }

Public Member Functions

const DetLayerdetLayer () const
bool hasPredefinedHitErrors () const
const
TransientTrackingRecHitBuilder
hitBuilder () const
Hits hits (const edm::Event &ev, const edm::EventSetup &es) const
void hits (const edm::Event &ev, const edm::EventSetup &es, Hits &) const
std::string name () const
bool operator== (const SeedingLayer &s) const
float predefinedHitErrorRPhi () const
float predefinedHitErrorRZ () const
 SeedingLayer ()
 SeedingLayer (const std::string &name, const DetLayer *layer, const TransientTrackingRecHitBuilder *hitBuilder, const HitExtractor *hitExtractor, bool usePredefinedErrors=false, float hitErrorRZ=0., float hitErrorRPhi=0.)

Private Attributes

boost::shared_ptr
< SeedingLayerImpl
theImpl

Detailed Description

Definition at line 18 of file SeedingLayer.h.


Member Typedef Documentation

Definition at line 22 of file SeedingLayer.h.


Member Enumeration Documentation

Enumerator:
Barrel 
NegEndcap 
PosEndcap 

Definition at line 20 of file SeedingLayer.h.

{ Barrel = 0, NegEndcap =1,  PosEndcap = 2 }; 

Constructor & Destructor Documentation

ctfseeding::SeedingLayer::SeedingLayer ( ) [inline]

Definition at line 24 of file SeedingLayer.h.

{}
SeedingLayer::SeedingLayer ( const std::string &  name,
const DetLayer layer,
const TransientTrackingRecHitBuilder hitBuilder,
const HitExtractor hitExtractor,
bool  usePredefinedErrors = false,
float  hitErrorRZ = 0.,
float  hitErrorRPhi = 0. 
)

Definition at line 62 of file SeedingLayer.cc.

References prof2calltree::l.

{
  SeedingLayerImpl * l = usePredefinedErrors ? 
      new SeedingLayerImpl(name,layer,hitBuilder,hitExtractor,hitErrorRZ,hitErrorRPhi)
    : new SeedingLayerImpl(name,layer,hitBuilder,hitExtractor);
  theImpl = boost::shared_ptr<SeedingLayerImpl> (l);
}

Member Function Documentation

const DetLayer * SeedingLayer::detLayer ( ) const
bool SeedingLayer::hasPredefinedHitErrors ( ) const

Definition at line 95 of file SeedingLayer.cc.

{
  return theImpl->hasPredefinedHitErrors();
}
const TransientTrackingRecHitBuilder * SeedingLayer::hitBuilder ( ) const
void ctfseeding::SeedingLayer::hits ( const edm::Event ev,
const edm::EventSetup es,
Hits  
) const
SeedingLayer::Hits SeedingLayer::hits ( const edm::Event ev,
const edm::EventSetup es 
) const

Definition at line 90 of file SeedingLayer.cc.

{
  return  theImpl->hits( *this,ev,es);
}
std::string SeedingLayer::name ( void  ) const
bool ctfseeding::SeedingLayer::operator== ( const SeedingLayer s) const [inline]

Definition at line 37 of file SeedingLayer.h.

References name().

{ return name()==s.name(); }
float SeedingLayer::predefinedHitErrorRPhi ( ) const

Definition at line 105 of file SeedingLayer.cc.

{
  return theImpl->predefinedHitErrorRPhi();
}
float SeedingLayer::predefinedHitErrorRZ ( ) const

Definition at line 100 of file SeedingLayer.cc.

{
  return theImpl->predefinedHitErrorRZ();
}

Member Data Documentation

Definition at line 48 of file SeedingLayer.h.