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 36 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 79 of file CaloRectangle.h.

80  : home_(home), rectangle_(rectangle), topology_(*topology.getSubdetectorTopology(home)) {}
CaloSubdetectorTopology const & topology_
Definition: CaloRectangle.h:91
const CaloRectangle rectangle_
Definition: CaloRectangle.h:90

◆ CaloRectangleRange() [2/2]

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

Definition at line 82 of file CaloRectangle.h.

References findQualityFiles::size.

83  : home_(home), rectangle_{-size, size, -size, size}, topology_(*topology.getSubdetectorTopology(home)) {}
size
Write out results.
CaloSubdetectorTopology const & topology_
Definition: CaloRectangle.h:91
const CaloRectangle rectangle_
Definition: CaloRectangle.h:90

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 89 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 90 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 91 of file CaloRectangle.h.

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