![]() |
ATLAS Offline Software
|
A rectangular window within the segmentation. More...
#include <CaloTowerSeg.h>
Public Types | |
typedef CaloTowerSeg::index_t | index_t |
Public Member Functions | |
SubSeg (const CaloTowerSeg &parent, index_t etamin, index_t etamax, index_t phimin, index_t phimax) | |
Constructor. More... | |
index_t | etamin () const |
Lower eta index. More... | |
index_t | etamax () const |
Upper eta index (inclusive). More... | |
index_t | phimin () const |
Lower phi index. More... | |
index_t | phimax () const |
Upper phi index (inclusive). phimax<phimin indicates phi wraparound. More... | |
size_t | neta () const |
The number of towers in the eta direction in this window. More... | |
size_t | nphi () const |
The number of towers in the phi direction in this window. More... | |
size_t | size () const |
The number of towers in this window. More... | |
const CaloTowerSeg & | parent () const |
CaloTowerSeg | segmentation () const |
Return a new segmentation object corresponding to this window. More... | |
Private Attributes | |
const CaloTowerSeg & | m_parent |
Segmentation of which this is a part. More... | |
index_t | m_etamin |
Inclusive indices. m_phimax < m_phimin indicates phi wraparound. More... | |
index_t | m_etamax |
index_t | m_phimin |
index_t | m_phimax |
A rectangular window within the segmentation.
Definition at line 219 of file CaloTowerSeg.h.
Definition at line 222 of file CaloTowerSeg.h.
CaloTowerSeg::SubSeg::SubSeg | ( | const CaloTowerSeg & | parent, |
index_t | etamin, | ||
index_t | etamax, | ||
index_t | phimin, | ||
index_t | phimax | ||
) |
Constructor.
parent | Segmentation of which this is a part. |
etamin | Lower eta index. |
etamax | Upper eta index (inclusive). |
phimin | Lower phi index. |
phimax | Upper phi index (inclusive). If phimax < phimin, then we wrap around in phi. |
Definition at line 57 of file CaloTowerSeg.cxx.
|
inline |
Upper eta index (inclusive).
Definition at line 549 of file CaloTowerSeg.h.
|
inline |
|
inline |
The number of towers in the eta direction in this window.
Definition at line 581 of file CaloTowerSeg.h.
size_t CaloTowerSeg::SubSeg::nphi | ( | ) | const |
|
inline |
Definition at line 258 of file CaloTowerSeg.h.
|
inline |
Upper phi index (inclusive). phimax<phimin indicates phi wraparound.
Upper phi index (inclusive).
phimax<phimin indicates phi wraparound.
Definition at line 571 of file CaloTowerSeg.h.
|
inline |
CaloTowerSeg CaloTowerSeg::SubSeg::segmentation | ( | ) | const |
Return a new segmentation object corresponding to this window.
Definition at line 85 of file CaloTowerSeg.cxx.
|
inline |
The number of towers in this window.
Definition at line 591 of file CaloTowerSeg.h.
|
private |
Definition at line 273 of file CaloTowerSeg.h.
|
private |
Inclusive indices. m_phimax < m_phimin indicates phi wraparound.
Definition at line 272 of file CaloTowerSeg.h.
|
private |
Segmentation of which this is a part.
Definition at line 269 of file CaloTowerSeg.h.
|
private |
Definition at line 275 of file CaloTowerSeg.h.
|
private |
Definition at line 274 of file CaloTowerSeg.h.