test
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

using HitPointer = mayown_ptr< BaseTrackerRecHit >
 
using Hits = std::vector< HitPointer >
 
enum  Side { Barrel = 0, NegEndcap =1, PosEndcap = 2 }
 
using TkHit = BaseTrackerRecHit
 
using TkHitRef = BaseTrackerRecHit const &
 

Public Member Functions

const DetLayerdetLayer () const
 
const
TkTransientTrackingRecHitBuilder
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
 
 SeedingLayer ()
 
 SeedingLayer (const std::string &name, int seqNum, const DetLayer *layer, const TransientTrackingRecHitBuilder *hitBuilder, const HitExtractor *hitExtractor)
 
int seqNum () const
 

Private Attributes

std::shared_ptr< SeedingLayerImpltheImpl
 

Detailed Description

Definition at line 21 of file SeedingLayer.h.

Member Typedef Documentation

Definition at line 27 of file SeedingLayer.h.

Definition at line 28 of file SeedingLayer.h.

Definition at line 25 of file SeedingLayer.h.

Definition at line 26 of file SeedingLayer.h.

Member Enumeration Documentation

Enumerator
Barrel 
NegEndcap 
PosEndcap 

Definition at line 23 of file SeedingLayer.h.

Constructor & Destructor Documentation

ctfseeding::SeedingLayer::SeedingLayer ( )
inline

Definition at line 30 of file SeedingLayer.h.

30 {}
SeedingLayer::SeedingLayer ( const std::string &  name,
int  seqNum,
const DetLayer layer,
const TransientTrackingRecHitBuilder hitBuilder,
const HitExtractor hitExtractor 
)

Definition at line 48 of file SeedingLayer.cc.

References mergeVDriftHistosByStation::name.

53 {
54  theImpl = std::make_shared<SeedingLayerImpl> (name,seqNum,layer,hitBuilder,hitExtractor);
55 }
std::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:50
const TkTransientTrackingRecHitBuilder * hitBuilder() const
Definition: SeedingLayer.cc:72
std::string name() const
Definition: SeedingLayer.cc:57

Member Function Documentation

const DetLayer * SeedingLayer::detLayer ( ) const

Definition at line 67 of file SeedingLayer.cc.

68 {
69  return theImpl->detLayer();
70 }
std::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:50
const TkTransientTrackingRecHitBuilder * SeedingLayer::hitBuilder ( ) const

Definition at line 72 of file SeedingLayer.cc.

73 {
74  return theImpl->hitBuilder();
75 }
std::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:50
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 77 of file SeedingLayer.cc.

78 {
79  return theImpl->hits( *this,ev,es);
80 }
std::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:50
std::string SeedingLayer::name ( void  ) const
bool ctfseeding::SeedingLayer::operator== ( const SeedingLayer s) const
inline

Definition at line 43 of file SeedingLayer.h.

References name().

43 { return name()==s.name(); }
std::string name() const
Definition: SeedingLayer.cc:57
int SeedingLayer::seqNum ( ) const

Definition at line 62 of file SeedingLayer.cc.

63 {
64  return theImpl->seqNum();
65 }
std::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:50

Member Data Documentation

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

Definition at line 50 of file SeedingLayer.h.