![]() |
ATLAS Offline Software
|
This class stores the eta,phi and layer of the calorimeter cell and defines a "<" operator which can be used to order the eflowCellPosition based on eta,phi and layer. More...
#include <eflowCellPosition.h>
Public Member Functions | |
| eflowCellPosition (const eflowAbstractCellList *deposit, eflowCaloENUM layer, double dR) | |
| eflowCellPosition (const eflowAbstractCellList *deposit, const CaloCell *cell) | |
| ~eflowCellPosition () | |
| bool | operator< (const eflowCellPosition &rhs) const |
| double | dR () const |
Private Attributes | |
| eflowCaloENUM | m_layer |
| double | m_eta |
| double | m_phi |
| const eflowAbstractCellList * | m_deposit |
This class stores the eta,phi and layer of the calorimeter cell and defines a "<" operator which can be used to order the eflowCellPosition based on eta,phi and layer.
The < operator makes use of a stored pointer to the eflowAbstractCellList that the eflowCellPosition is in, in order to use eflowCellList::DR2 inside the < operator.
So conceptually we can consider that a track has some list of associated calorimeter cells in the eflowCellList, where the information that we need for each cell is stored in the eflowCellPosition. A map is kept to link the eflowCellPosition back to the actual CaloCell.
Definition at line 35 of file eflowCellPosition.h.
| eflowCellPosition::eflowCellPosition | ( | const eflowAbstractCellList * | deposit, |
| eflowCaloENUM | layer, | ||
| double | dR | ||
| ) |
| eflowCellPosition::eflowCellPosition | ( | const eflowAbstractCellList * | deposit, |
| const CaloCell * | cell | ||
| ) |
Definition at line 33 of file eflowCellPosition.cxx.
|
inline |
Definition at line 43 of file eflowCellPosition.h.
| double eflowCellPosition::dR | ( | ) | const |
| bool eflowCellPosition::operator< | ( | const eflowCellPosition & | rhs | ) | const |
Definition at line 45 of file eflowCellPosition.cxx.
|
private |
Definition at line 52 of file eflowCellPosition.h.
|
private |
Definition at line 51 of file eflowCellPosition.h.
|
private |
Definition at line 50 of file eflowCellPosition.h.
|
private |
Definition at line 51 of file eflowCellPosition.h.
1.8.18