CMS 3D CMS Logo

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

#include <SeedingLayer.h>

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
 
void hits (const edm::Event &ev, const edm::EventSetup &es, Hits &) const
 
Hits hits (const edm::Event &ev, const edm::EventSetup &es) 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.

Constructor & Destructor Documentation

ctfseeding::SeedingLayer::SeedingLayer ( )
inline

Definition at line 24 of file SeedingLayer.h.

24 {}
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.

68 {
69  SeedingLayerImpl * l = usePredefinedErrors ?
70  new SeedingLayerImpl(name,layer,hitBuilder,hitExtractor,hitErrorRZ,hitErrorRPhi)
71  : new SeedingLayerImpl(name,layer,hitBuilder,hitExtractor);
72  theImpl = boost::shared_ptr<SeedingLayerImpl> (l);
73 }
std::string name() const
Definition: SeedingLayer.cc:75
boost::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:48

Member Function Documentation

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

Definition at line 95 of file SeedingLayer.cc.

96 {
97  return theImpl->hasPredefinedHitErrors();
98 }
boost::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:48
const TransientTrackingRecHitBuilder * SeedingLayer::hitBuilder ( ) const

Definition at line 85 of file SeedingLayer.cc.

Referenced by ctfseeding::HitExtractorSTRP::hits(), ctfseeding::HitConv::operator()(), and ctfseeding::HitExtractorSTRP::project().

86 {
87  return theImpl->hitBuilder();
88 }
boost::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:48
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.

91 {
92  return theImpl->hits( *this,ev,es);
93 }
boost::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:48
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().

37 { return name()==s.name(); }
std::string name() const
Definition: SeedingLayer.cc:75
float SeedingLayer::predefinedHitErrorRPhi ( ) const

Definition at line 105 of file SeedingLayer.cc.

106 {
107  return theImpl->predefinedHitErrorRPhi();
108 }
boost::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:48
float SeedingLayer::predefinedHitErrorRZ ( ) const

Definition at line 100 of file SeedingLayer.cc.

101 {
102  return theImpl->predefinedHitErrorRZ();
103 }
boost::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:48

Member Data Documentation

boost::shared_ptr<SeedingLayerImpl> ctfseeding::SeedingLayer::theImpl
private

Definition at line 48 of file SeedingLayer.h.