![]() |
ATLAS Offline Software
|
A cell of the hadronic endcap calorimeter readout geometry. More...
#include <HECCell.h>
Public Types | |
| enum | CELLPOS { FRONT , CENTER , BACK } |
Public Member Functions | |
| HECCell (unsigned int endcap, const HECDetDescr *hecDescriptor, unsigned int eta, unsigned int phi) | |
| Constructor. | |
| unsigned int | getPhiIndex () const |
| The Phi Index of this Cell. | |
| unsigned int | getEndcapIndex () const |
| The EndcapIndex of this Cell (0=negative, 1=positive) | |
| unsigned int | getEtaIndex () const |
| The eta index of this cell. | |
| unsigned int | getSamplingIndex () const |
| The sampling index of this cell. | |
| unsigned int | getRegionIndex () const |
| The region index of this cell. | |
| unsigned int | getNumBlocks () const |
| The number of blocks in this cell. | |
| unsigned int | getBlockIndex (unsigned int block) const |
| The block index of cell i. | |
| double | getZMin (unsigned int block) const |
| Minimum Z of Block i. | |
| double | getZMax (unsigned int block) const |
| Maximum Z of block i. | |
| double | getPhiLocalLower () const |
| Gets the phi value at the "lower" edge of a cell. | |
| double | getPhiLocalUpper () const |
| Gets the phi value at the "upper" edge of the cell. | |
| double | getPhiMinNominal () const |
| returns a nominal phi min in global coords; assume canonical placement | |
| double | getPhiMaxNominal () const |
| returns a nominal phi max in global coords; assume canonical placement | |
| double | getEtaMinNominal () const |
| Nominal Eta Min (geometry is not projective) | |
| double | getEtaMaxNominal () const |
| Nominal Eta Min (geometry is not projective) | |
| double | getZLocal (CELLPOS position) const |
| Z for the cell at (FRONT,CENTER,BACK) | |
| double | getRMinLocalNominal (CELLPOS position) const |
| Nominal RMin for the cell at (FRONT,CENTER,BACK) | |
| double | getRMaxLocalNominal (CELLPOS position) const |
| Nominal RMax for the cell at (FRONT,CENTER,BACK) | |
| double | getRMin (unsigned int block) const |
| Minimum r of block i. | |
| double | getRMax (unsigned int block) const |
| Maximum r of block i. | |
| const HECDetDescr * | getDescriptor () const |
| Returns a pointer to the descriptor. | |
| bool | occupiesBlock (unsigned int block) const |
| Returns true if the cell occupies (or overlaps) this longitudinal block. | |
| unsigned int | getNumSubgaps () const |
| @Get num subgaps | |
| const HECHVSubgap & | getSubgap (unsigned int i) const |
| @Get subgap | |
Private Member Functions | |
| HECCell (const HECCell &right) | |
| virtual | ~HECCell () |
| HECCell & | operator= (const HECCell &right) |
| const std::vector< const HECHVSubgap * > & | getSubgaps () const |
| void | initHV (std::vector< const HECHVSubgap * > &subgaps) const |
Private Attributes | |
| const HECDetDescr * | m_hecDetDescr |
| Pointer to the Descriptor. | |
| unsigned int | m_clockwork |
| Bitpacked indices. | |
| CxxUtils::CachedValue< std::vector< const HECHVSubgap * > > | m_subgaps |
| Cache of subgaps. | |
Friends | |
| class | ImaginaryFriend |
| Additional Implementation Declarations. | |
A cell of the hadronic endcap calorimeter readout geometry.
This class represents a single HEC Cell. A cell spans multiple blocks and has different boundaries at each block. For access to the HEC Cells, use the HECDetector Region class.
Use the HEC Cells through HEC Cell Links please!!! This will free the memory used by the cell when the last link to the cell disappears.
| enum HECCell::CELLPOS |
|
inline |
Constructor.
Definition at line 212 of file HECCell.h.
|
private |
|
inline |
The block index of cell i.
In more detail: there are 7 longitudinal blocks in the full HEC. This cell contains (n=numBlocks()) of them. The block index of cell i tells you which block you are in within the full HEC.
Definition at line 269 of file HECCell.h.
|
inline |
Returns a pointer to the descriptor.
|
inline |
The EndcapIndex of this Cell (0=negative, 1=positive)
|
inline |
The eta index of this cell.
|
inline |
Nominal Eta Min (geometry is not projective)
Definition at line 311 of file HECCell.h.
|
inline |
Nominal Eta Min (geometry is not projective)
|
inline |
The number of blocks in this cell.
Definition at line 262 of file HECCell.h.
| unsigned int HECCell::getNumSubgaps | ( | ) | const |
@Get num subgaps
Definition at line 14 of file HECCell.cxx.
|
inline |
The Phi Index of this Cell.
|
inline |
Gets the phi value at the "lower" edge of a cell.
This is a local phi!!! It's useful for constructing exact phi boundaries in the local coordinate system.
Definition at line 290 of file HECCell.h.
|
inline |
Gets the phi value at the "upper" edge of the cell.
This is a local phi!!! It's useful for constructing exact phi boundaries in the local coordinate system.
|
inline |
returns a nominal phi max in global coords; assume canonical placement
Definition at line 392 of file HECCell.h.
|
inline |
returns a nominal phi min in global coords; assume canonical placement
|
inline |
The region index of this cell.
|
inline |
Maximum r of block i.
Definition at line 365 of file HECCell.h.
|
inline |
Nominal RMax for the cell at (FRONT,CENTER,BACK)
Definition at line 346 of file HECCell.h.
|
inline |
Minimum r of block i.
Definition at line 358 of file HECCell.h.
|
inline |
Nominal RMin for the cell at (FRONT,CENTER,BACK)
Definition at line 334 of file HECCell.h.
|
inline |
The sampling index of this cell.
Definition at line 248 of file HECCell.h.
| const HECHVSubgap & HECCell::getSubgap | ( | unsigned int | i | ) | const |
@Get subgap
Definition at line 18 of file HECCell.cxx.
|
private |
Definition at line 24 of file HECCell.cxx.
|
inline |
Z for the cell at (FRONT,CENTER,BACK)
Definition at line 318 of file HECCell.h.
|
inline |
Maximum Z of block i.
Definition at line 283 of file HECCell.h.
|
inline |
Minimum Z of Block i.
Definition at line 276 of file HECCell.h.
|
private |
Definition at line 35 of file HECCell.cxx.
|
inline |
Returns true if the cell occupies (or overlaps) this longitudinal block.
Definition at line 379 of file HECCell.h.
|
privatevirtualdefault |
|
friend |
Additional Implementation Declarations.
|
private |
|
private |
|
private |