CMS 3D CMS Logo

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

#include <SiStripApproximateClusterCollection.h>

Public Member Functions

bool operator!= (const_iterator const &other) const
 
DetSet operator* () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
bool operator== (const_iterator const &other) const
 

Private Member Functions

 const_iterator ()=default
 
 const_iterator (SiStripApproximateClusterCollection const *coll)
 

Private Attributes

SiStripApproximateClusterCollection const * coll_ = nullptr
 
unsigned int index_ = 0
 
friend SiStripApproximateClusterCollection
 

Detailed Description

Definition at line 56 of file SiStripApproximateClusterCollection.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

SiStripApproximateClusterCollection::const_iterator::const_iterator ( )
privatedefault

Referenced by operator++().

◆ const_iterator() [2/2]

SiStripApproximateClusterCollection::const_iterator::const_iterator ( SiStripApproximateClusterCollection const *  coll)
inlineprivate

Definition at line 81 of file SiStripApproximateClusterCollection.h.

81 : coll_(coll) {}

Member Function Documentation

◆ operator!=()

bool SiStripApproximateClusterCollection::const_iterator::operator!= ( const_iterator const &  other) const
inline

Definition at line 75 of file SiStripApproximateClusterCollection.h.

References operator==(), and trackingPlots::other.

◆ operator*()

DetSet SiStripApproximateClusterCollection::const_iterator::operator* ( void  ) const
inline

Definition at line 58 of file SiStripApproximateClusterCollection.h.

References coll_, and index_.

58 { return DetSet(coll_, index_); }
edmNew::DetSet< TTStub< Ref_Phase2TrackerDigi_ > > DetSet
Definition: Stub.h:28

◆ operator++() [1/2]

const_iterator& SiStripApproximateClusterCollection::const_iterator::operator++ ( void  )
inline

◆ operator++() [2/2]

const_iterator SiStripApproximateClusterCollection::const_iterator::operator++ ( int  )
inline

Definition at line 68 of file SiStripApproximateClusterCollection.h.

References clone().

68  {
69  const_iterator clone = *this;
70  ++(*this);
71  return clone;
72  }
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135

◆ operator==()

bool SiStripApproximateClusterCollection::const_iterator::operator== ( const_iterator const &  other) const
inline

Member Data Documentation

◆ coll_

SiStripApproximateClusterCollection const* SiStripApproximateClusterCollection::const_iterator::coll_ = nullptr
private

Definition at line 83 of file SiStripApproximateClusterCollection.h.

Referenced by operator*(), operator++(), and operator==().

◆ index_

unsigned int SiStripApproximateClusterCollection::const_iterator::index_ = 0
private

Definition at line 84 of file SiStripApproximateClusterCollection.h.

Referenced by operator*(), operator++(), and operator==().

◆ SiStripApproximateClusterCollection

friend SiStripApproximateClusterCollection::const_iterator::SiStripApproximateClusterCollection
private

Definition at line 78 of file SiStripApproximateClusterCollection.h.