|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARREADOUTGEOMETRY_HECCELL_H
6 #define LARREADOUTGEOMETRY_HECCELL_H
9 #include "GeoModelKernel/CellBinning.h"
10 #include "GeoModelKernel/RCBase.h"
85 double getZMin (
unsigned int block)
const;
90 double getZMax (
unsigned int block)
const;
144 double getRMin (
unsigned int block)
const;
149 double getRMax (
unsigned int block)
const;
204 const std::vector<const HECHVSubgap*>&
getSubgaps()
const;
205 void initHV (std::vector<const HECHVSubgap*>& subgaps)
const;
216 :m_hecDetDescr(hecDescriptor),m_clockwork(
phi | (
eta<<6) | (endcap <<10))
unsigned int getRegionIndex() const
The region index of this cell.
double getRMax(unsigned int block) const
Maximum r of block i.
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.
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).
HECCell(unsigned int endcap, const HECDetDescr *hecDescriptor, unsigned int eta, unsigned int phi)
Constructor
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 getRMinLocalNominal(CELLPOS position) const
Nominal RMin for the cell at (FRONT,CENTER,BACK)
double getEtaMinNominal() const
Nominal Eta Min (geometry is not projective)
double getPhiMinNominal() const
returns a nominal phi min in global coords; assume canonical placement
HECCell & operator=(const HECCell &right)
Descriptor for regions of the hadronic endcap calorimeter.
const CellBinning & getEtaBinning() const
The Binning in Eta.
CxxUtils::CachedValue< std::vector< const HECHVSubgap * > > m_subgaps
Cache of subgaps.
const HECHVSubgap & getSubgap(unsigned int i) const
@Get subgap
double getZMax(unsigned int block) const
Maximum Z of block i.
A cell of the hadronic endcap calorimeter readout geometry.
Cached value with atomic update.
double getZMin(unsigned int block) const
Minimum Z of Block i.
HECCell(const HECCell &right)
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 getRMin(unsigned int block) const
Minimum r of block i.
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.
Cached value with atomic update.
double getPhiLocalUpper() const
Gets the phi value at the "upper" edge of the cell.
double getRMaxLocalNominal(CELLPOS position) const
Nominal RMax for the cell at (FRONT,CENTER,BACK)
friend class ImaginaryFriend
Additional Implementation Declarations.
void initHV(std::vector< const HECHVSubgap * > &subgaps) const
const CellBinning & getPhiBinning() const
The Binning in Phi.
unsigned int getSamplingIndex() const
The sampling index.
unsigned int getNumSubgaps() const
@Get num subgaps
bool occupiesBlock(unsigned int block) const
Returns true if the cell occupies (or overlaps) this longitudinal block.
unsigned int getPhiIndex() const
The Phi Index of this Cell.
unsigned int getBlockIndex(unsigned int block) const
The block index of cell i.
double getZMin(unsigned int block) const
Returns min z for the ith block at eta index.
unsigned int m_clockwork
Bitpacked indices.