ATLAS Offline Software
|
Base class for towers belonging to the grids. More...
#include <PeriodicGridBase.h>
Public Member Functions | |
Tower (std::size_t index) | |
virtual | ~Tower ()=default |
virtual const PeriodicGridBase * | grid () const =0 |
The grid which owns this tower. More... | |
double | towerPhi () const |
The central phi coordinate of this tower. More... | |
double | towerEta () const |
The central eta coordinate of this tower. More... | |
std::size_t | index () const |
The global index of this tower. More... | |
std::size_t | etaIndex () const |
The eta index of this tower. More... | |
std::size_t | phiIndex () const |
The phi index of this tower. More... | |
std::pair< std::size_t, std::size_t > | etaPhiIndex () const |
The eta/phi indices of the tower together. More... | |
Private Attributes | |
std::size_t | m_index |
Base class for towers belonging to the grids.
Definition at line 81 of file PeriodicGridBase.h.
HLT::MET::PeriodicGridBase::Tower::Tower | ( | std::size_t | index | ) |
Definition at line 32 of file PeriodicGridBase.cxx.
|
virtualdefault |
std::size_t HLT::MET::PeriodicGridBase::Tower::etaIndex | ( | ) | const |
The eta index of this tower.
Definition at line 49 of file PeriodicGridBase.cxx.
std::pair< std::size_t, std::size_t > HLT::MET::PeriodicGridBase::Tower::etaPhiIndex | ( | ) | const |
The eta/phi indices of the tower together.
Definition at line 59 of file PeriodicGridBase.cxx.
|
pure virtual |
The grid which owns this tower.
Implemented in HLT::MET::PufitMultiGrid< N >::Tower, and HLT::MET::PufitGrid::Tower.
std::size_t HLT::MET::PeriodicGridBase::Tower::index | ( | ) | const |
The global index of this tower.
Definition at line 44 of file PeriodicGridBase.cxx.
std::size_t HLT::MET::PeriodicGridBase::Tower::phiIndex | ( | ) | const |
The phi index of this tower.
Definition at line 54 of file PeriodicGridBase.cxx.
double HLT::MET::PeriodicGridBase::Tower::towerEta | ( | ) | const |
The central eta coordinate of this tower.
Definition at line 39 of file PeriodicGridBase.cxx.
double HLT::MET::PeriodicGridBase::Tower::towerPhi | ( | ) | const |
The central phi coordinate of this tower.
Definition at line 34 of file PeriodicGridBase.cxx.
|
private |
Definition at line 109 of file PeriodicGridBase.h.