ATLAS Offline Software
SCT_SkiAux.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef SCT_GEOMODEL_SCT_SKIAUX_H
6 #define SCT_GEOMODEL_SCT_SKIAUX_H
7 
9 
10 #include <string>
11 
12 class SCT_Ski;
13 class SCT_Bracket;
14 class SCT_Harness;
15 class SCT_SkiPowerTape;
16 
17 
19 {
20 
21 public:
22 
23 
24  SCT_SkiAux(const std::string & name,
25  SCT_Ski * ski,
29  double innerRadius,
30  double bracketPhiOffset,
31  double powerTapePhiOffset,
32  double divisionAngle,
33  InDetDD::SCT_DetectorManager* detectorManager,
34  SCT_GeometryManager* geometryManager,
35  SCT_MaterialManager* materials);
36 
37  //
38  // Retrieve basic/derived parameters
39  //
40  double innerRadius() const {return m_innerRadius;}
41  double outerRadius() const {return m_outerRadius;}
42  double length() const {return m_length;}
43  double sectorStartAngle() const {return m_sectorStartAngle;}
44  double sectorAngle() const {return m_sectorAngle;}
45 
46  double bracketPhiOffset() const {return m_bracketPhiOffset;}
47  double powerTapePhiOffset() const {return m_powerTapePhiOffset;}
48 
49 
50  // Retrieve child elements
51  const SCT_Ski * ski() const {return m_ski;}
52  const SCT_Bracket * bracket() const {return m_bracket;}
53  const SCT_Harness * harness() const {return m_harness;}
54  const SCT_SkiPowerTape* skiPowerTape() const {return m_skiPowerTape;}
55 
56 
57 private:
58  void getParameters();
59  virtual GeoVPhysVol * build();
60 
61  // Basic/derived parameters
62  double m_innerRadius;
63  double m_outerRadius = 0.0;
64  double m_length = 0.0;
67  double m_sectorStartAngle = 0.0;
68  double m_sectorAngle;
69 
70  // Child detector elements
75 
76 };
77 
78 #endif // SCT_GEOMODEL_SCT_SKIAUX_H
79 
SCT_SkiAux::m_ski
SCT_Ski * m_ski
Definition: SCT_SkiAux.h:71
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
SCT_SkiAux::build
virtual GeoVPhysVol * build()
Definition: SCT_SkiAux.cxx:68
SCT_SkiAux::SCT_SkiAux
SCT_SkiAux(const std::string &name, SCT_Ski *ski, SCT_Bracket *bracket, SCT_Harness *harness, SCT_SkiPowerTape *skiPowerTape, double innerRadius, double bracketPhiOffset, double powerTapePhiOffset, double divisionAngle, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_SkiAux.cxx:39
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_SkiAux::m_bracketPhiOffset
double m_bracketPhiOffset
Definition: SCT_SkiAux.h:65
SCT_Bracket
Definition: SCT_Bracket.h:18
SCT_SkiAux::sectorStartAngle
double sectorStartAngle() const
Definition: SCT_SkiAux.h:43
SCT_SkiAux::bracketPhiOffset
double bracketPhiOffset() const
Definition: SCT_SkiAux.h:46
SCT_SkiAux::outerRadius
double outerRadius() const
Definition: SCT_SkiAux.h:41
SCT_SkiAux::m_sectorAngle
double m_sectorAngle
Definition: SCT_SkiAux.h:68
SCT_SkiAux::getParameters
void getParameters()
Definition: SCT_SkiAux.cxx:63
SCT_ComponentFactory.h
SCT_SkiAux::powerTapePhiOffset
double powerTapePhiOffset() const
Definition: SCT_SkiAux.h:47
SCT_SkiAux::innerRadius
double innerRadius() const
Definition: SCT_SkiAux.h:40
SCT_SkiAux::skiPowerTape
const SCT_SkiPowerTape * skiPowerTape() const
Definition: SCT_SkiAux.h:54
SCT_SkiAux::harness
const SCT_Harness * harness() const
Definition: SCT_SkiAux.h:53
SCT_SkiAux::m_harness
SCT_Harness * m_harness
Definition: SCT_SkiAux.h:73
SCT_SkiPowerTape
Definition: SCT_SkiPowerTape.h:15
SCT_SkiAux::length
double length() const
Definition: SCT_SkiAux.h:42
SCT_SkiAux::bracket
const SCT_Bracket * bracket() const
Definition: SCT_SkiAux.h:52
SCT_Harness
Definition: SCT_Harness.h:15
SCT_SkiAux::sectorAngle
double sectorAngle() const
Definition: SCT_SkiAux.h:44
SCT_Ski
Definition: SCT_Ski.h:30
SCT_SkiAux::m_length
double m_length
Definition: SCT_SkiAux.h:64
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_SkiAux
Definition: SCT_SkiAux.h:19
SCT_SkiAux::m_innerRadius
double m_innerRadius
Definition: SCT_SkiAux.h:62
SCT_SkiAux::m_outerRadius
double m_outerRadius
Definition: SCT_SkiAux.h:63
SCT_SkiAux::m_powerTapePhiOffset
double m_powerTapePhiOffset
Definition: SCT_SkiAux.h:66
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_SkiAux::m_bracket
SCT_Bracket * m_bracket
Definition: SCT_SkiAux.h:72
SCT_SkiAux::ski
const SCT_Ski * ski() const
Definition: SCT_SkiAux.h:51
SCT_SkiAux::m_skiPowerTape
SCT_SkiPowerTape * m_skiPowerTape
Definition: SCT_SkiAux.h:74
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25
SCT_SkiAux::m_sectorStartAngle
double m_sectorStartAngle
Definition: SCT_SkiAux.h:67