CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SeedingLayerSetsHits::SeedingLayer Class Reference

#include <SeedingLayerSetsHits.h>

Public Member Functions

const DetLayerdetLayer () const
 
Hits hits () const
 
LayerIndex index () const
 
const std::string & name () const
 
 SeedingLayer ()
 
 SeedingLayer (const SeedingLayerSetsHits *sls, LayerIndex index)
 

Private Attributes

LayerIndex index_
 
const SeedingLayerSetsHitsseedingLayerSets_
 

Detailed Description

Auxiliary class to represent a single SeedingLayer. Holds a pointer to SeedingLayerSetsHits and the index of the SeedingLayer. All calls are forwarded to SeedingLayerSetsHits.

Definition at line 37 of file SeedingLayerSetsHits.h.

Constructor & Destructor Documentation

◆ SeedingLayer() [1/2]

SeedingLayerSetsHits::SeedingLayer::SeedingLayer ( )
inline

Definition at line 39 of file SeedingLayerSetsHits.h.

39 : seedingLayerSets_(nullptr), index_(0) {}
const SeedingLayerSetsHits * seedingLayerSets_

◆ SeedingLayer() [2/2]

SeedingLayerSetsHits::SeedingLayer::SeedingLayer ( const SeedingLayerSetsHits sls,
LayerIndex  index 
)
inline

Member Function Documentation

◆ detLayer()

const DetLayer* SeedingLayerSetsHits::SeedingLayer::detLayer ( ) const
inline

◆ hits()

Hits SeedingLayerSetsHits::SeedingLayer::hits ( void  ) const
inline

Definition at line 51 of file SeedingLayerSetsHits.h.

References SeedingLayerSetsHits::hits(), index_, and seedingLayerSets_.

51 { return seedingLayerSets_->hits(index_); }
const SeedingLayerSetsHits * seedingLayerSets_
Hits hits(LayerIndex layerIndex) const

◆ index()

LayerIndex SeedingLayerSetsHits::SeedingLayer::index ( ) const
inline

Index of the SeedingLayer within SeedingLayerSetsHits.

The index is unique within a SeedingLayerSetsHits object, and is the same for all SeedingLayers with the same name.

Definition at line 48 of file SeedingLayerSetsHits.h.

References index_.

Referenced by BeautifulSoup.PageElement::insert().

◆ name()

const std::string& SeedingLayerSetsHits::SeedingLayer::name ( void  ) const
inline

Member Data Documentation

◆ index_

LayerIndex SeedingLayerSetsHits::SeedingLayer::index_
private

Definition at line 55 of file SeedingLayerSetsHits.h.

Referenced by detLayer(), hits(), index(), and name().

◆ seedingLayerSets_

const SeedingLayerSetsHits* SeedingLayerSetsHits::SeedingLayer::seedingLayerSets_
private

Definition at line 54 of file SeedingLayerSetsHits.h.

Referenced by detLayer(), hits(), and name().