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) {}

◆ SeedingLayer() [2/2]

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

Definition at line 40 of file SeedingLayerSetsHits.h.

40 : seedingLayerSets_(sls), index_(index) {}

Member Function Documentation

◆ detLayer()

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

◆ hits()

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

◆ 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.

48 { return index_; }

References index_.

Referenced by LayerHitMapCache::add(), BeautifulSoup.PageElement::insert(), LayerHitMapCache::operator()(), and SeedingLayerSetsHits::print().

◆ 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().

SeedingLayerSetsHits::SeedingLayer::index
LayerIndex index() const
Definition: SeedingLayerSetsHits.h:48
SeedingLayerSetsHits::SeedingLayer::index_
LayerIndex index_
Definition: SeedingLayerSetsHits.h:55
SeedingLayerSetsHits::layerDets_
const std::vector< const DetLayer * > * layerDets_
Definition: SeedingLayerSetsHits.h:242
SeedingLayerSetsHits::layerNames_
const std::vector< std::string > * layerNames_
Definition: SeedingLayerSetsHits.h:241
SeedingLayerSetsHits::hits
Hits hits(LayerIndex layerIndex) const
Definition: SeedingLayerSetsHits.cc:30
SeedingLayerSetsHits::SeedingLayer::seedingLayerSets_
const SeedingLayerSetsHits * seedingLayerSets_
Definition: SeedingLayerSetsHits.h:54