ATLAS Offline Software
|
Description of a region of homogenous granularity in the hadronic endcap calorimeter. More...
#include <HECDetectorRegion.h>
Public Types | |
enum | DetectorSide { NEG =0, POS =1 } |
Public Member Functions | |
HECDetectorRegion (const GeoVFullPhysVol *physVol, const HECDetDescr *hecDescriptor, DetectorSide endcap, double projectivityDisplacement=4 *Gaudi::Units::cm) | |
Constructor. More... | |
~HECDetectorRegion () | |
Destructor. More... | |
HECCellConstLink | getHECCell (unsigned int ieta, unsigned int iphi) const |
Retrieve a cell with eta index and phi index. More... | |
const HECDetDescr * | getDescriptor () const |
Returns the Descriptor for this region. More... | |
unsigned int | getSamplingIndex () const |
Returns the Sampling Layer Index (0-3) More... | |
unsigned int | getRegionIndex () const |
Returns the Region Index. More... | |
unsigned int | beginPhiIndex () const |
returns the first phi index in the region. More... | |
unsigned int | endPhiIndex () const |
returns the end phi index in the region. More... | |
unsigned int | beginEtaIndex () const |
returns the first eta index in the region. More... | |
unsigned int | endEtaIndex () const |
returns the end eta index in the region. More... | |
const Amg::Transform3D & | getAbsoluteTransform (const GeoAlignmentStore *alignStore=nullptr) const |
Returns the absolute transform of this element. More... | |
const Amg::Transform3D & | getDefAbsoluteTransform (const GeoAlignmentStore *alignStore=nullptr) const |
Returns the absolute transform of this element. More... | |
HepGeom::Point3D< double > | getRefPlanePos () const |
Returns the position of the center of the reference plane of the HEC (front face of the HEC volume). More... | |
HepGeom::Point3D< double > | getFocalPointPos () const |
Returns the position of the focal point of the HEC. More... | |
Amg::Vector3D | getRefPlanePosAmg () const |
Returns the position of the center of the reference plane of the HEC (front face of the HEC volume). More... | |
Amg::Vector3D | getFocalPointPosAmg () const |
Returns the position of the focal point of the HEC. More... | |
HECDetectorRegion::DetectorSide | getEndcapIndex () const |
The endcap index. More... | |
double | getProjectivityDisplacement () const |
Private Member Functions | |
HECDetectorRegion (const HECDetectorRegion &right) | |
HECDetectorRegion & | operator= (const HECDetectorRegion &right) |
Private Attributes | |
GeoIntrusivePtr< const HECDetDescr > | m_descriptor {} |
HECDetectorRegion::DetectorSide | m_endcapIndex |
double | m_projectivityDisplacement |
Description of a region of homogenous granularity in the hadronic endcap calorimeter.
This class combines a description of the cell granularity with a physical volume to create a description of a HEC region positioned within ATLAS. It provides access to the HEC Cells.
Definition at line 30 of file HECDetectorRegion.h.
HECDetectorRegion::HECDetectorRegion | ( | const GeoVFullPhysVol * | physVol, |
const HECDetDescr * | hecDescriptor, | ||
DetectorSide | endcap, | ||
double | projectivityDisplacement = 4*Gaudi::Units::cm |
||
) |
|
default |
Destructor.
|
private |
|
inline |
returns the first eta index in the region.
Definition at line 193 of file HECDetectorRegion.h.
|
inline |
returns the first phi index in the region.
Definition at line 179 of file HECDetectorRegion.h.
|
inline |
returns the end eta index in the region.
Definition at line 200 of file HECDetectorRegion.h.
|
inline |
returns the end phi index in the region.
Definition at line 186 of file HECDetectorRegion.h.
const Amg::Transform3D & HECDetectorRegion::getAbsoluteTransform | ( | const GeoAlignmentStore * | alignStore = nullptr | ) | const |
Returns the absolute transform of this element.
Definition at line 37 of file HECDetectorRegion.cxx.
const Amg::Transform3D & HECDetectorRegion::getDefAbsoluteTransform | ( | const GeoAlignmentStore * | alignStore = nullptr | ) | const |
Returns the absolute transform of this element.
Definition at line 45 of file HECDetectorRegion.cxx.
|
inline |
Returns the Descriptor for this region.
Definition at line 158 of file HECDetectorRegion.h.
|
inline |
HepGeom::Point3D< double > HECDetectorRegion::getFocalPointPos | ( | ) | const |
Returns the position of the focal point of the HEC.
This method is not fast, result should be cached if used frequently.
Definition at line 76 of file HECDetectorRegion.cxx.
Amg::Vector3D HECDetectorRegion::getFocalPointPosAmg | ( | ) | const |
Returns the position of the focal point of the HEC.
This method is not fast, result should be cached if used frequently.
Definition at line 53 of file HECDetectorRegion.cxx.
HECCellConstLink HECDetectorRegion::getHECCell | ( | unsigned int | ieta, |
unsigned int | iphi | ||
) | const |
Retrieve a cell with eta index and phi index.
Definition at line 26 of file HECDetectorRegion.cxx.
|
inline |
Definition at line 216 of file HECDetectorRegion.h.
HepGeom::Point3D< double > HECDetectorRegion::getRefPlanePos | ( | ) | const |
Returns the position of the center of the reference plane of the HEC (front face of the HEC volume).
This method is not fast, the result should be cached if frequently used.
Definition at line 60 of file HECDetectorRegion.cxx.
Amg::Vector3D HECDetectorRegion::getRefPlanePosAmg | ( | ) | const |
Returns the position of the center of the reference plane of the HEC (front face of the HEC volume).
This method is not fast, the result should be cached if frequently used.
Definition at line 32 of file HECDetectorRegion.cxx.
|
inline |
Returns the Region Index.
Definition at line 172 of file HECDetectorRegion.h.
|
inline |
Returns the Sampling Layer Index (0-3)
Definition at line 165 of file HECDetectorRegion.h.
|
private |
|
private |
Definition at line 145 of file HECDetectorRegion.h.
|
private |
Definition at line 146 of file HECDetectorRegion.h.
|
private |
Definition at line 148 of file HECDetectorRegion.h.