ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArGeoModel
LArReadoutGeometry
src
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
7
#include "
LArReadoutGeometry/EMBDetectorRegion.h
"
8
#include "
GeoPrimitives/GeoPrimitives.h
"
9
#include "
GeoModelUtilities/GeoAlignmentStore.h
"
10
11
EMBDetectorRegion::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
20
EMBDetectorRegion::~EMBDetectorRegion
() =
default
;
21
22
EMBCellConstLink
EMBDetectorRegion::getEMBCell
(
unsigned
int
ieta,
unsigned
int
iphi)
const
23
{
24
return
{
new
EMBCell
(
m_endcapIndex
,
m_descriptor
,ieta,iphi)};
25
}
26
27
const
Amg::Transform3D
&
EMBDetectorRegion::getAbsoluteTransform
(
const
GeoAlignmentStore
* alignStore)
const
28
{
29
const
GeoVFullPhysVol *fullPhysVol = getMaterialGeom();
30
return
alignStore
31
? fullPhysVol->getCachedAbsoluteTransform(alignStore)
32
: fullPhysVol->getAbsoluteTransform();
33
}
34
35
const
Amg::Transform3D
&
EMBDetectorRegion::getDefAbsoluteTransform
(
const
GeoAlignmentStore
* alignStore)
const
36
{
37
const
GeoVFullPhysVol *fullPhysVol = getMaterialGeom();
38
return
alignStore
39
? fullPhysVol->getCachedDefAbsoluteTransform(alignStore)
40
: fullPhysVol->getDefAbsoluteTransform();
41
}
EMBCellConstLink
GeoIntrusivePtr< const EMBCell > EMBCellConstLink
Definition
EMBCellConstLink.h:10
EMBDetectorRegion.h
GeoAlignmentStore.h
GeoPrimitives.h
EMBCell
A cell of the electromagnetic barrel calorimeter readout geometry This class gives dimensions and pos...
Definition
EMBCell.h:31
EMBDetDescr
Descriptor for regions of the electromagnetic barrel calorimeter.
Definition
EMBDetDescr.h:27
EMBDetectorRegion::getEMBCell
EMBCellConstLink getEMBCell(unsigned int ieta, unsigned int iphi) const
Access to Cells.
Definition
EMBDetectorRegion.cxx:22
EMBDetectorRegion::DetectorSide
DetectorSide
Definition
EMBDetectorRegion.h:32
EMBDetectorRegion::m_descriptor
GeoIntrusivePtr< const EMBDetDescr > m_descriptor
Definition
EMBDetectorRegion.h:104
EMBDetectorRegion::EMBDetectorRegion
EMBDetectorRegion(const GeoVFullPhysVol *physVol, const EMBDetDescr *embDescriptor, DetectorSide endcap)
Constructor.
Definition
EMBDetectorRegion.cxx:11
EMBDetectorRegion::getDefAbsoluteTransform
const Amg::Transform3D & getDefAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
Definition
EMBDetectorRegion.cxx:35
EMBDetectorRegion::m_endcapIndex
EMBDetectorRegion::DetectorSide m_endcapIndex
Definition
EMBDetectorRegion.h:105
EMBDetectorRegion::getAbsoluteTransform
const Amg::Transform3D & getAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
Definition
EMBDetectorRegion.cxx:27
EMBDetectorRegion::~EMBDetectorRegion
~EMBDetectorRegion()
Destructor.
GeoAlignmentStore
Ensure that the extensions for the Vector3D are properly loaded.
Definition
GeoAlignmentStore.h:24
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
Generated on
for ATLAS Offline Software by
1.17.0