CMS 3D CMS Logo

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 TkTransientTrackingRecHitBuilderhitBuilder () 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
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 dataset::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.

Referenced by ntupleDataFormat._TrackingParticleMatchAdaptor::bestMatchingTrackingParticle().

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

Definition at line 57 of file SeedingLayer.cc.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and operator==().

58 {
59  return theImpl->name();
60 }
std::shared_ptr< SeedingLayerImpl > theImpl
Definition: SeedingLayer.h:50
bool ctfseeding::SeedingLayer::operator== ( const SeedingLayer s) const
inline

Definition at line 43 of file SeedingLayer.h.

References name(), and dataset::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.