ATLAS Offline Software
Loading...
Searching...
No Matches
EMBDetectorRegion.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "GeoModelKernel/GeoVFullPhysVol.h"
6
10
11EMBDetectorRegion::EMBDetectorRegion (const GeoVFullPhysVol *physVol
12 , const EMBDetDescr *embDescriptor
13 , DetectorSide endcap)
14 : GeoVDetectorElement(physVol)
15 , m_descriptor(embDescriptor)
16 , m_endcapIndex(endcap)
17{
18}
19
21
22EMBCellConstLink EMBDetectorRegion::getEMBCell (unsigned int ieta, unsigned int iphi) const
23{
24 return {new EMBCell(m_endcapIndex,m_descriptor,ieta,iphi)};
25}
26
28{
29 const GeoVFullPhysVol *fullPhysVol = getMaterialGeom();
30 return alignStore
31 ? fullPhysVol->getCachedAbsoluteTransform(alignStore)
32 : fullPhysVol->getAbsoluteTransform();
33}
34
36{
37 const GeoVFullPhysVol *fullPhysVol = getMaterialGeom();
38 return alignStore
39 ? fullPhysVol->getCachedDefAbsoluteTransform(alignStore)
40 : fullPhysVol->getDefAbsoluteTransform();
41}
A cell of the electromagnetic barrel calorimeter readout geometry This class gives dimensions and pos...
Definition EMBCell.h:31
Descriptor for regions of the electromagnetic barrel calorimeter.
Definition EMBDetDescr.h:27
EMBCellConstLink getEMBCell(unsigned int ieta, unsigned int iphi) const
Access to Cells.
GeoIntrusivePtr< const EMBDetDescr > m_descriptor
EMBDetectorRegion(const GeoVFullPhysVol *physVol, const EMBDetDescr *embDescriptor, DetectorSide endcap)
Constructor.
const Amg::Transform3D & getDefAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
EMBDetectorRegion::DetectorSide m_endcapIndex
const Amg::Transform3D & getAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
~EMBDetectorRegion()
Destructor.
Ensure that the extensions for the Vector3D are properly loaded.
Eigen::Affine3d Transform3D