CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CaloRectangleRange< T >::Iterator Class Reference

#include <CaloRectangle.h>

Public Member Functions

int iEtaOrIX () const
 
int iPhiOrIY () const
 
 Iterator (T const &home, int iEtaOrIX, int iPhiOrIY, CaloRectangle const rectangle, CaloSubdetectorTopology const *topology)
 
bool operator!= (Iterator const &other) const
 
T operator* () const
 
Iteratoroperator++ ()
 
bool operator== (Iterator const &other) const
 

Private Attributes

const T home_
 
int iEtaOrIX_
 
int iPhiOrIY_
 
const CaloRectangle rectangle_
 
CaloSubdetectorTopology const * topology_
 

Detailed Description

template<class T>
class CaloRectangleRange< T >::Iterator

Definition at line 40 of file CaloRectangle.h.

Constructor & Destructor Documentation

◆ Iterator()

template<class T>
CaloRectangleRange< T >::Iterator::Iterator ( T const &  home,
int  iEtaOrIX,
int  iPhiOrIY,
CaloRectangle const  rectangle,
CaloSubdetectorTopology const *  topology 
)
inline

Definition at line 42 of file CaloRectangle.h.

Member Function Documentation

◆ iEtaOrIX()

template<class T>
int CaloRectangleRange< T >::Iterator::iEtaOrIX ( ) const
inline

Definition at line 58 of file CaloRectangle.h.

References CaloRectangleRange< T >::Iterator::iEtaOrIX_.

◆ iPhiOrIY()

template<class T>
int CaloRectangleRange< T >::Iterator::iPhiOrIY ( ) const
inline

Definition at line 59 of file CaloRectangle.h.

References CaloRectangleRange< T >::Iterator::iPhiOrIY_.

◆ operator!=()

template<class T>
bool CaloRectangleRange< T >::Iterator::operator!= ( Iterator const &  other) const
inline

◆ operator*()

template<class T>
T CaloRectangleRange< T >::Iterator::operator* ( void  ) const
inline

◆ operator++()

template<class T>
Iterator& CaloRectangleRange< T >::Iterator::operator++ ( void  )
inline

◆ operator==()

template<class T>
bool CaloRectangleRange< T >::Iterator::operator== ( Iterator const &  other) const
inline

Member Data Documentation

◆ home_

template<class T>
const T CaloRectangleRange< T >::Iterator::home_
private

Definition at line 71 of file CaloRectangle.h.

Referenced by CaloRectangleRange< T >::Iterator::operator*().

◆ iEtaOrIX_

template<class T>
int CaloRectangleRange< T >::Iterator::iEtaOrIX_
private

◆ iPhiOrIY_

template<class T>
int CaloRectangleRange< T >::Iterator::iPhiOrIY_
private

◆ rectangle_

template<class T>
const CaloRectangle CaloRectangleRange< T >::Iterator::rectangle_
private

Definition at line 73 of file CaloRectangle.h.

Referenced by CaloRectangleRange< T >::Iterator::operator++().

◆ topology_

template<class T>
CaloSubdetectorTopology const* CaloRectangleRange< T >::Iterator::topology_
private

Definition at line 74 of file CaloRectangle.h.

Referenced by CaloRectangleRange< T >::Iterator::operator*().