CMS 3D CMS Logo

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

#include <CaloRectangle.h>

Classes

class  Iterator
 

Public Member Functions

auto begin ()
 
 CaloRectangleRange (CaloRectangle rectangle, T home, CaloTopology const &topology)
 
 CaloRectangleRange (int size, T home, CaloTopology const &topology)
 
auto end ()
 

Private Attributes

const T home_
 
const CaloRectangle rectangle_
 
CaloSubdetectorTopology const * topology_
 

Detailed Description

template<class T>
class CaloRectangleRange< T >

Definition at line 38 of file CaloRectangle.h.

Constructor & Destructor Documentation

◆ CaloRectangleRange() [1/2]

template<class T>
CaloRectangleRange< T >::CaloRectangleRange ( CaloRectangle  rectangle,
T  home,
CaloTopology const &  topology 
)
inline

Definition at line 81 of file CaloRectangle.h.

82  : home_(home), rectangle_(rectangle), topology_(topology.getSubdetectorTopology(home)) {}
const CaloRectangle rectangle_
Definition: CaloRectangle.h:92
CaloSubdetectorTopology const * topology_
Definition: CaloRectangle.h:93

◆ CaloRectangleRange() [2/2]

template<class T>
CaloRectangleRange< T >::CaloRectangleRange ( int  size,
T  home,
CaloTopology const &  topology 
)
inline

Definition at line 84 of file CaloRectangle.h.

References findQualityFiles::size.

85  : home_(home), rectangle_{-size, size, -size, size}, topology_(topology.getSubdetectorTopology(home)) {}
size
Write out results.
const CaloRectangle rectangle_
Definition: CaloRectangle.h:92
CaloSubdetectorTopology const * topology_
Definition: CaloRectangle.h:93

Member Function Documentation

◆ begin()

template<class T>
auto CaloRectangleRange< T >::begin ( void  )
inline

◆ end()

template<class T>
auto CaloRectangleRange< T >::end ( void  )
inline

Member Data Documentation

◆ home_

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

Definition at line 91 of file CaloRectangle.h.

Referenced by CaloRectangleRange< T >::begin(), and CaloRectangleRange< T >::end().

◆ rectangle_

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

Definition at line 92 of file CaloRectangle.h.

Referenced by CaloRectangleRange< T >::begin(), and CaloRectangleRange< T >::end().

◆ topology_

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

Definition at line 93 of file CaloRectangle.h.

Referenced by CaloRectangleRange< T >::begin(), and CaloRectangleRange< T >::end().