ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDDetectorPositioner.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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
15class AGDDVolume;
16
17class AGDDDetector;
18
20 std::string detectorType;
21 std::string detectorAddress;
27 int spare1;
28 int spare2;
29};
30
38
40public:
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 const std::string& GetDetectorType() {return ID.detectorType;}
58 const 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
virtual ~AGDDDetectorPositioner()=default
DetectorPositionParameters position
GeoFullPhysVol * GetFullPhysicalVolume()
AGDDDetectorPositioner(AGDDPositionerStore &ps, AGDDVolumeStore &vs, const std::string &n, const GeoTrf::Transform3D &t)
const std::string & GetDetectorAddress()
const std::string & GetDetectorType()
AGDDPositioner(AGDDPositionerStore &ps, AGDDVolumeStore &vs, const std::string &n, const GeoTrf::Transform3D &t)
std::string detectorAddress
std::string detectorType