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

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
CaloTopology const * topology(0)
const CaloRectangle rectangle_
Definition: CaloRectangle.h:90
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
Definition: CaloTopology.cc:17
template<class T>
CaloRectangleRange< T >::CaloRectangleRange ( int  size,
T  home,
CaloTopology const &  topology 
)
inline

Definition at line 82 of file CaloRectangle.h.

References CaloTopology::getSubdetectorTopology(), findQualityFiles::size, and ecaldqm::topology().

83  : home_(home), rectangle_{-size, size, -size, size}, topology_(*topology.getSubdetectorTopology(home)) {}
size
Write out results.
CaloSubdetectorTopology const & topology_
Definition: CaloRectangle.h:91
CaloTopology const * topology(0)
const CaloRectangle rectangle_
Definition: CaloRectangle.h:90
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
Definition: CaloTopology.cc:17

Member Function Documentation

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

Definition at line 85 of file CaloRectangle.h.

CaloSubdetectorTopology const & topology_
Definition: CaloRectangle.h:91
TGeoIterator Iterator
const CaloRectangle rectangle_
Definition: CaloRectangle.h:90
const int iPhiOrIYMin
Definition: CaloRectangle.h:16
const int iEtaOrIXMin
Definition: CaloRectangle.h:14
template<class T>
auto CaloRectangleRange< T >::end ( void  )
inline

Definition at line 86 of file CaloRectangle.h.

CaloSubdetectorTopology const & topology_
Definition: CaloRectangle.h:91
const int iEtaOrIXMax
Definition: CaloRectangle.h:15
TGeoIterator Iterator
const CaloRectangle rectangle_
Definition: CaloRectangle.h:90
const int iPhiOrIYMin
Definition: CaloRectangle.h:16

Member Data Documentation

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

Definition at line 89 of file CaloRectangle.h.

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

Definition at line 90 of file CaloRectangle.h.

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

Definition at line 91 of file CaloRectangle.h.