CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
SiStripApproximateClusterCollection::DetSet Class Reference

#include <SiStripApproximateClusterCollection.h>

Public Types

using const_iterator = std::vector< SiStripApproximateCluster >::const_iterator
 

Public Member Functions

const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_iterator end () const
 
unsigned int id () const
 

Private Member Functions

 DetSet (SiStripApproximateClusterCollection const *coll, unsigned int detIndex)
 

Private Attributes

unsigned int const clusBegin_
 
unsigned int const clusEnd_
 
SiStripApproximateClusterCollection const *const coll_
 
unsigned int const detIndex_
 

Detailed Description

Definition at line 30 of file SiStripApproximateClusterCollection.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 32 of file SiStripApproximateClusterCollection.h.

Constructor & Destructor Documentation

◆ DetSet()

SiStripApproximateClusterCollection::DetSet::DetSet ( SiStripApproximateClusterCollection const *  coll,
unsigned int  detIndex 
)
inlineprivate

Definition at line 43 of file SiStripApproximateClusterCollection.h.

44  : coll_(coll),
45  detIndex_(detIndex),
46  clusBegin_(coll_->beginIndices_[detIndex]),
47  clusEnd_(detIndex == coll_->beginIndices_.size() - 1 ? coll->clusters_.size()
48  : coll_->beginIndices_[detIndex + 1]) {}
SiStripApproximateClusterCollection const *const coll_

Member Function Documentation

◆ begin()

const_iterator SiStripApproximateClusterCollection::DetSet::begin ( void  ) const
inline

◆ cbegin()

const_iterator SiStripApproximateClusterCollection::DetSet::cbegin ( ) const
inline

Definition at line 37 of file SiStripApproximateClusterCollection.h.

References begin().

◆ cend()

const_iterator SiStripApproximateClusterCollection::DetSet::cend ( ) const
inline

Definition at line 39 of file SiStripApproximateClusterCollection.h.

References end().

◆ end()

const_iterator SiStripApproximateClusterCollection::DetSet::end ( void  ) const
inline

◆ id()

unsigned int SiStripApproximateClusterCollection::DetSet::id ( ) const
inline

Member Data Documentation

◆ clusBegin_

unsigned int const SiStripApproximateClusterCollection::DetSet::clusBegin_
private

Definition at line 52 of file SiStripApproximateClusterCollection.h.

Referenced by begin().

◆ clusEnd_

unsigned int const SiStripApproximateClusterCollection::DetSet::clusEnd_
private

Definition at line 53 of file SiStripApproximateClusterCollection.h.

Referenced by end().

◆ coll_

SiStripApproximateClusterCollection const* const SiStripApproximateClusterCollection::DetSet::coll_
private

Definition at line 50 of file SiStripApproximateClusterCollection.h.

Referenced by begin(), end(), and id().

◆ detIndex_

unsigned int const SiStripApproximateClusterCollection::DetSet::detIndex_
private

Definition at line 51 of file SiStripApproximateClusterCollection.h.

Referenced by id().