|
ATLAS Offline Software
|
A cell of the hadronic endcap calorimeter readout geometry.
More...
#include <HECCell.h>
|
| HECCell (unsigned int endcap, const HECDetDescr *hecDescriptor, unsigned int eta, unsigned int phi) |
| Constructor
More...
|
|
unsigned int | getPhiIndex () const |
| The Phi Index of this Cell. More...
|
|
unsigned int | getEndcapIndex () const |
| The EndcapIndex of this Cell (0=negative, 1=positive) More...
|
|
unsigned int | getEtaIndex () const |
| The eta index of this cell. More...
|
|
unsigned int | getSamplingIndex () const |
| The sampling index of this cell. More...
|
|
unsigned int | getRegionIndex () const |
| The region index of this cell. More...
|
|
unsigned int | getNumBlocks () const |
| The number of blocks in this cell. More...
|
|
unsigned int | getBlockIndex (unsigned int block) const |
| The block index of cell i. More...
|
|
double | getZMin (unsigned int block) const |
| Minimum Z of Block i. More...
|
|
double | getZMax (unsigned int block) const |
| Maximum Z of block i. More...
|
|
double | getPhiLocalLower () const |
| Gets the phi value at the "lower" edge of a cell. More...
|
|
double | getPhiLocalUpper () const |
| Gets the phi value at the "upper" edge of the cell. More...
|
|
double | getPhiMinNominal () const |
| returns a nominal phi min in global coords; assume canonical placement More...
|
|
double | getPhiMaxNominal () const |
| returns a nominal phi max in global coords; assume canonical placement More...
|
|
double | getEtaMinNominal () const |
| Nominal Eta Min (geometry is not projective) More...
|
|
double | getEtaMaxNominal () const |
| Nominal Eta Min (geometry is not projective) More...
|
|
double | getZLocal (CELLPOS position) const |
| Z for the cell at (FRONT,CENTER,BACK) More...
|
|
double | getRMinLocalNominal (CELLPOS position) const |
| Nominal RMin for the cell at (FRONT,CENTER,BACK) More...
|
|
double | getRMaxLocalNominal (CELLPOS position) const |
| Nominal RMax for the cell at (FRONT,CENTER,BACK) More...
|
|
double | getRMin (unsigned int block) const |
| Minimum r of block i. More...
|
|
double | getRMax (unsigned int block) const |
| Maximum r of block i. More...
|
|
const HECDetDescr * | getDescriptor () const |
| Returns a pointer to the descriptor. More...
|
|
bool | occupiesBlock (unsigned int block) const |
| Returns true if the cell occupies (or overlaps) this longitudinal block. More...
|
|
unsigned int | getNumSubgaps () const |
| @Get num subgaps More...
|
|
const HECHVSubgap & | getSubgap (unsigned int i) const |
| @Get subgap More...
|
|
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.
Definition at line 30 of file HECCell.h.
◆ CELLPOS
Enumerator |
---|
FRONT | |
CENTER | |
BACK | |
Definition at line 34 of file HECCell.h.
◆ HECCell() [1/2]
HECCell::HECCell |
( |
unsigned int |
endcap, |
|
|
const HECDetDescr * |
hecDescriptor, |
|
|
unsigned int |
eta, |
|
|
unsigned int |
phi |
|
) |
| |
|
inline |
◆ HECCell() [2/2]
◆ ~HECCell()
◆ getBlockIndex()
unsigned int HECCell::getBlockIndex |
( |
unsigned int |
block | ) |
const |
|
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.
◆ getDescriptor()
Returns a pointer to the descriptor.
Definition at line 372 of file HECCell.h.
◆ getEndcapIndex()
unsigned int HECCell::getEndcapIndex |
( |
| ) |
const |
|
inline |
The EndcapIndex of this Cell (0=negative, 1=positive)
Definition at line 233 of file HECCell.h.
◆ getEtaIndex()
unsigned int HECCell::getEtaIndex |
( |
| ) |
const |
|
inline |
The eta index of this cell.
Definition at line 240 of file HECCell.h.
◆ getEtaMaxNominal()
double HECCell::getEtaMaxNominal |
( |
| ) |
const |
|
inline |
Nominal Eta Min (geometry is not projective)
Definition at line 311 of file HECCell.h.
◆ getEtaMinNominal()
double HECCell::getEtaMinNominal |
( |
| ) |
const |
|
inline |
Nominal Eta Min (geometry is not projective)
Definition at line 304 of file HECCell.h.
◆ getNumBlocks()
unsigned int HECCell::getNumBlocks |
( |
| ) |
const |
|
inline |
The number of blocks in this cell.
Definition at line 262 of file HECCell.h.
◆ getNumSubgaps()
unsigned int HECCell::getNumSubgaps |
( |
| ) |
const |
◆ getPhiIndex()
unsigned int HECCell::getPhiIndex |
( |
| ) |
const |
|
inline |
The Phi Index of this Cell.
Definition at line 226 of file HECCell.h.
◆ getPhiLocalLower()
double HECCell::getPhiLocalLower |
( |
| ) |
const |
|
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.
◆ getPhiLocalUpper()
double HECCell::getPhiLocalUpper |
( |
| ) |
const |
|
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.
Definition at line 297 of file HECCell.h.
◆ getPhiMaxNominal()
double HECCell::getPhiMaxNominal |
( |
| ) |
const |
|
inline |
returns a nominal phi max in global coords; assume canonical placement
Definition at line 392 of file HECCell.h.
◆ getPhiMinNominal()
double HECCell::getPhiMinNominal |
( |
| ) |
const |
|
inline |
returns a nominal phi min in global coords; assume canonical placement
Definition at line 387 of file HECCell.h.
◆ getRegionIndex()
unsigned int HECCell::getRegionIndex |
( |
| ) |
const |
|
inline |
The region index of this cell.
Definition at line 255 of file HECCell.h.
◆ getRMax()
double HECCell::getRMax |
( |
unsigned int |
block | ) |
const |
|
inline |
Maximum r of block i.
Definition at line 365 of file HECCell.h.
◆ getRMaxLocalNominal()
double HECCell::getRMaxLocalNominal |
( |
CELLPOS |
position | ) |
const |
|
inline |
Nominal RMax for the cell at (FRONT,CENTER,BACK)
Definition at line 346 of file HECCell.h.
◆ getRMin()
double HECCell::getRMin |
( |
unsigned int |
block | ) |
const |
|
inline |
Minimum r of block i.
Definition at line 358 of file HECCell.h.
◆ getRMinLocalNominal()
double HECCell::getRMinLocalNominal |
( |
CELLPOS |
position | ) |
const |
|
inline |
Nominal RMin for the cell at (FRONT,CENTER,BACK)
Definition at line 334 of file HECCell.h.
◆ getSamplingIndex()
unsigned int HECCell::getSamplingIndex |
( |
| ) |
const |
|
inline |
The sampling index of this cell.
Definition at line 248 of file HECCell.h.
◆ getSubgap()
◆ getSubgaps()
Definition at line 24 of file HECCell.cxx.
27 std::vector<const HECHVSubgap*> subgaps;
◆ getZLocal()
double HECCell::getZLocal |
( |
CELLPOS |
position | ) |
const |
|
inline |
Z for the cell at (FRONT,CENTER,BACK)
Definition at line 318 of file HECCell.h.
◆ getZMax()
double HECCell::getZMax |
( |
unsigned int |
block | ) |
const |
|
inline |
Maximum Z of block i.
Definition at line 283 of file HECCell.h.
◆ getZMin()
double HECCell::getZMin |
( |
unsigned int |
block | ) |
const |
|
inline |
Minimum Z of Block i.
Definition at line 276 of file HECCell.h.
◆ initHV()
Definition at line 35 of file HECCell.cxx.
44 double phi=fabs(phiUpper+phiLower)/2.0;
46 unsigned int iPhi =
int((
phi - phiBinning.getStart())/phiBinning.getDelta()) + phiBinning.getFirstDivisionNumber();
51 for (
unsigned int iSubgap=0;iSubgap<4;iSubgap++) {
53 subgaps.push_back(&hvElec);
◆ occupiesBlock()
bool HECCell::occupiesBlock |
( |
unsigned int |
block | ) |
const |
|
inline |
Returns true if the cell occupies (or overlaps) this longitudinal block.
Definition at line 379 of file HECCell.h.
◆ operator=()
◆ ImaginaryFriend
friend class ImaginaryFriend |
|
friend |
◆ m_clockwork
unsigned int HECCell::m_clockwork |
|
private |
Bitpacked indices.
Definition at line 192 of file HECCell.h.
◆ m_hecDetDescr
Pointer to the Descriptor.
This class responds to its interface mostly by forwarding requests to the descriptor.
Definition at line 187 of file HECCell.h.
◆ m_subgaps
The documentation for this class was generated from the following files:
Describes one HV Module within the HEC.
const T * ptr() const
Return a pointer to the cached value.
Scalar phi() const
phi method
double getEtaMaxNominal() const
Nominal Eta Min (geometry is not projective)
double getRMin(unsigned int block, unsigned int eta) const
Returns min r for block i.
unsigned int getEtaIndex() const
The eta index of this cell.
const HECRadialSegment * getRadialSegment(unsigned int block, unsigned int eta) const
Returns the radial segment of in block b with eta index i, or else NULL.
Scalar eta() const
pseudorapidity method
double getZMax(unsigned int block) const
Returns max z for the ith block at eta index.
bool isValid() const
Test to see if the value is valid.
double getZLocal(CELLPOS position) const
Z for the cell at (FRONT,CENTER,BACK)
unsigned int getRegionIndex() const
The region Index.
const HECDetDescr * getDescriptor() const
Returns a pointer to the descriptor.
unsigned int getNumBlocks() const
The number of blocks in this cell.
const HECDetDescr * m_hecDetDescr
Pointer to the Descriptor.
unsigned int getBlockIndex(unsigned int block) const
Gets the block index for the ith block (in case it is ever needed).
unsigned int getEndcapIndex() const
The EndcapIndex of this Cell (0=negative, 1=positive)
double getRMax(unsigned int block, unsigned int eta) const
Returns max r at block i.
double getEtaMinNominal() const
Nominal Eta Min (geometry is not projective)
double getPhiMinNominal() const
returns a nominal phi min in global coords; assume canonical placement
const HECHVSubgap & getSubgap(unsigned int iElectrode) const
const CellBinning & getEtaBinning() const
The Binning in Eta.
CxxUtils::CachedValue< std::vector< const HECHVSubgap * > > m_subgaps
Cache of subgaps.
double getZMax(unsigned int block) const
Maximum Z of block i.
const HECDetectorManager * getManager() const
The manager.
const HECHVDescriptor & getDescriptor() const
double getZMin(unsigned int block) const
Minimum Z of Block i.
double getPhiLocalLower() const
Gets the phi value at the "lower" edge of a cell.
unsigned int getSamplingIndex() const
The sampling index of this cell.
double getPhiMaxNominal() const
returns a nominal phi max in global coords; assume canonical placement
const std::vector< const HECHVSubgap * > & getSubgaps() const
unsigned int getNumBlocks() const
Number of blocks in the region.
double getPhiLocalUpper() const
Gets the phi value at the "upper" edge of the cell.
void set(const T &val) const
Set the value, assuming it is currently invalid.
void initHV(std::vector< const HECHVSubgap * > &subgaps) const
This class provides direct access to information on the HV electrodes within the barrels....
const CellBinning & getPhiBinning() const
The Binning in Phi.
unsigned int getSamplingIndex() const
The sampling index.
const CellBinning & getPhiBinning() const
const HECHVManager & getHVManager() const
Get the HV Manager.
const HECHVModule & getHVModule(unsigned int iSide, unsigned int iPhi, unsigned int iSampling) const
unsigned int getPhiIndex() const
The Phi Index of this Cell.
double getZMin(unsigned int block) const
Returns min z for the ith block at eta index.
unsigned int m_clockwork
Bitpacked indices.