ATLAS Offline Software
AGDDDetectorPositioner.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AGDDDetectorPositioner_H
6 #define AGDDDetectorPositioner_H
7 
9 #include "GeoModelKernel/GeoFullPhysVol.h"
10 
12 
13 #include <string>
14 
15 class AGDDVolume;
16 
17 class AGDDDetector;
18 
19 struct Identifiers {
20  std::string detectorType;
21  std::string detectorAddress;
22  int phiIndex;
23  int etaIndex;
24  int radIndex;
25  int sideIndex;
27  int spare1;
28  int spare2;
29 };
30 
33  double Zposition;
34  double Radius;
35  double PhiStart;
36  double Phi;
37 };
38 
40 public:
42  AGDDVolumeStore& vs,
43  const std::string& n,
44  const GeoTrf::Transform3D& t);
45  virtual ~AGDDDetectorPositioner()=default;
46 
48 
50 
52 
53  GeoFullPhysVol* theVolume;
54 
55  // accessors
56 
57  std::string GetDetectorType() {return ID.detectorType;}
58  std::string GetDetectorAddress() {return ID.detectorAddress;}
59  double GetZPosition() {return position.Zposition;}
60  double GetRadius() {return position.Radius;}
61  double GetPhi() {return position.Phi;}
62  GeoFullPhysVol* GetFullPhysicalVolume() {return theVolume;}
63 
64 };
65 
66 #endif
Identifiers::spare2
int spare2
Definition: AGDDDetectorPositioner.h:28
DetectorPositionParameters::PhiStart
double PhiStart
Definition: AGDDDetectorPositioner.h:35
DetectorPositionParameters::DetectorPositionParameters
DetectorPositionParameters()
Definition: AGDDDetectorPositioner.h:32
Identifiers::detectorType
std::string detectorType
Definition: AGDDDetectorPositioner.h:20
AGDDPositioner.h
AGDDDetectorPositioner::position
DetectorPositionParameters position
Definition: AGDDDetectorPositioner.h:49
ID
std::vector< Identifier > ID
Definition: CalibHitIDCheck.h:24
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDDetectorPositioner
Definition: AGDDDetectorPositioner.h:39
AGDDDetectorPositioner::AGDDDetectorPositioner
AGDDDetectorPositioner(AGDDPositionerStore &ps, AGDDVolumeStore &vs, const std::string &n, const GeoTrf::Transform3D &t)
Definition: AGDDDetectorPositioner.cxx:10
Identifiers::etaIndex
int etaIndex
Definition: AGDDDetectorPositioner.h:23
Identifiers::sideIndex
int sideIndex
Definition: AGDDDetectorPositioner.h:25
AGDDDetectorPositioner::GetPhi
double GetPhi()
Definition: AGDDDetectorPositioner.h:61
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
AGDDDetectorPositioner::theDetector
AGDDDetector * theDetector
Definition: AGDDDetectorPositioner.h:51
AGDDPositioner
Definition: AGDDPositioner.h:18
Identifiers::radIndex
int radIndex
Definition: AGDDDetectorPositioner.h:24
GeoPrimitives.h
AGDDDetector
Definition: AGDDDetector.h:15
AGDDDetectorPositioner::GetDetectorType
std::string GetDetectorType()
Definition: AGDDDetectorPositioner.h:57
beamspotman.n
n
Definition: beamspotman.py:731
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
DetectorPositionParameters
Definition: AGDDDetectorPositioner.h:31
AGDDDetectorPositioner::theVolume
GeoFullPhysVol * theVolume
Definition: AGDDDetectorPositioner.h:53
AGDDDetectorPositioner::GetFullPhysicalVolume
GeoFullPhysVol * GetFullPhysicalVolume()
Definition: AGDDDetectorPositioner.h:62
AGDDDetectorPositioner::GetZPosition
double GetZPosition()
Definition: AGDDDetectorPositioner.h:59
Identifiers::mlayerIndex
int mlayerIndex
Definition: AGDDDetectorPositioner.h:26
Identifiers
Definition: AGDDDetectorPositioner.h:19
AGDDPositionerStore
Definition: AGDDPositionerStore.h:14
DetectorPositionParameters::Phi
double Phi
Definition: AGDDDetectorPositioner.h:36
Identifiers::spare1
int spare1
Definition: AGDDDetectorPositioner.h:27
DetectorPositionParameters::Radius
double Radius
Definition: AGDDDetectorPositioner.h:34
AGDDDetectorPositioner::GetDetectorAddress
std::string GetDetectorAddress()
Definition: AGDDDetectorPositioner.h:58
AGDDVolume
Definition: AGDDVolume.h:16
DetectorPositionParameters::Zposition
double Zposition
Definition: AGDDDetectorPositioner.h:33
Identifiers::detectorAddress
std::string detectorAddress
Definition: AGDDDetectorPositioner.h:21
AGDDDetectorPositioner::GetRadius
double GetRadius()
Definition: AGDDDetectorPositioner.h:60
Identifiers::phiIndex
int phiIndex
Definition: AGDDDetectorPositioner.h:22
AGDDDetectorPositioner::~AGDDDetectorPositioner
virtual ~AGDDDetectorPositioner()=default
AGDDDetectorPositioner::ID
Identifiers ID
Definition: AGDDDetectorPositioner.h:47