ATLAS Offline Software
DetectorDescription
AGDD
AGDDKernel
src
AGDDPositioner.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AGDDKernel/AGDDPositioner.h
"
6
#include "
AGDDKernel/AGDDPositionerStore.h
"
7
#include "
AGDDKernel/AGDDVolume.h
"
8
#include "
AGDDKernel/AGDDVolumeStore.h
"
9
10
AGDDPositioner::AGDDPositioner
(
AGDDPositionerStore
& ps,
11
AGDDVolumeStore
& vs,
12
const
std::string&
n
,
13
const
GeoTrf::Transform3D
&
t
) :
14
m_isSensitiveDetector(false),
15
m_volume(
n
),
16
m_transform(
t
) {
17
ps.
RegisterPositioner
(
this
);
18
m_theVolume
=vs.
GetVolume
(
Volume
());
19
}
20
21
const
std::string&
AGDDPositioner::Volume
() {
22
return
m_volume
;
23
}
24
25
const
GeoTrf::Transform3D
&
AGDDPositioner::Transform
()
const
{
26
return
m_transform
;
27
}
28
29
AGDDVolume
*
AGDDPositioner::GetVolume
() {
30
return
m_theVolume
;
31
}
32
AGDDPositioner.h
AGDDPositioner::m_transform
GeoTrf::Transform3D m_transform
Definition:
AGDDPositioner.h:36
AGDDPositioner::m_theVolume
AGDDVolume * m_theVolume
Definition:
AGDDPositioner.h:35
AGDDVolumeStore
Definition:
AGDDVolumeStore.h:15
AGDDPositionerStore::RegisterPositioner
void RegisterPositioner(AGDDPositioner *)
Definition:
AGDDPositionerStore.cxx:13
AGDDVolumeStore.h
AGDDPositioner::Transform
const GeoTrf::Transform3D & Transform() const
Definition:
AGDDPositioner.cxx:25
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
AGDDPositioner::AGDDPositioner
AGDDPositioner(AGDDPositionerStore &ps, AGDDVolumeStore &vs, const std::string &n, const GeoTrf::Transform3D &t)
Definition:
AGDDPositioner.cxx:10
AGDDVolumeStore::GetVolume
AGDDVolume * GetVolume(std::string)
Definition:
AGDDVolumeStore.cxx:25
beamspotman.n
n
Definition:
beamspotman.py:731
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition:
GeoPrimitives.h:46
AGDDPositioner::m_volume
std::string m_volume
Definition:
AGDDPositioner.h:34
AGDDPositionerStore
Definition:
AGDDPositionerStore.h:14
AGDDPositioner::Volume
const std::string & Volume()
Definition:
AGDDPositioner.cxx:21
AGDDVolume
Definition:
AGDDVolume.h:16
AGDDVolume.h
AGDDPositionerStore.h
AGDDPositioner::GetVolume
AGDDVolume * GetVolume()
Definition:
AGDDPositioner.cxx:29
Generated on Sun Dec 22 2024 21:06:45 for ATLAS Offline Software by
1.8.18