ATLAS Offline Software
SCT_FwdCylinderServices.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef SCT_GEOMODEL_SCT_FWDCYLINDERSERVICES_H
6 #define SCT_GEOMODEL_SCT_FWDCYLINDERSERVICES_H
7 
9 
10 #include <vector>
11 
13 {
14 
15 public:
16 
17  SCT_FwdCylinderServices(const std::string & name, double rmin, double rmax, double length,
18  InDetDD::SCT_DetectorManager* detectorManager,
19  SCT_GeometryManager* geometryManager,
20  SCT_MaterialManager* materials);
22 
23  //
24  // Methods to return basic and derived parameters.
25  double innerRadius() const {return m_innerRadius;}
26  double outerRadius() const {return m_outerRadius;}
27  double length() const {return m_length;}
28 
29 private:
30  void getParameters();
31  virtual GeoVPhysVol * build();
32 
33  // Basic parameters
34  double m_innerRadius;
35  double m_outerRadius;
36  double m_length;
37 
38  // Parameters of daughters
39  std::vector<double> m_coolingLocAngle;
40  std::vector<double> m_lmtLocAngle;
41  std::vector<double> m_lmtCoolingLocAngle;
42  std::vector<double> m_fibreLocAngle;
43  std::vector<double> m_nPipeLocAngle;
44  std::vector<double> m_railLocAngle;
45 
46  double m_coolingDeltaR = 0.0;
47  double m_lmtDeltaR = 0.0;
48  double m_lmtCoolingDeltaR = 0.0;
49  double m_fibreDeltaR = 0.0;
50  double m_nPipeDeltaR = 0.0;
51  double m_railDeltaR = 0.0;
52 
53  double m_coolingRPhi = 0.0;
54  double m_lmtRPhi = 0.0;
55  double m_lmtCoolingRPhi = 0.0;
56  double m_fibreRPhi = 0.0;
57  double m_nPipeRPhi = 0.0;
58  double m_railRPhi = 0.0;
59 
60  std::string m_coolingMaterialName;
61  std::string m_lmtMaterialName;
63  std::string m_fibreMaterialName;
64  std::string m_nPipeMaterialName;
65  std::string m_railMaterialName;
66 
67  double m_lmtCoolingZOffset = 0.0;
68 
69 };
70 
71 #endif // SCT_GEOMODEL_SCT_FWDCYLINDERSERVICES_H
72 
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
SCT_FwdCylinderServices::outerRadius
double outerRadius() const
Definition: SCT_FwdCylinderServices.h:26
SCT_FwdCylinderServices::m_lmtCoolingLocAngle
std::vector< double > m_lmtCoolingLocAngle
Definition: SCT_FwdCylinderServices.h:41
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdCylinderServices::m_length
double m_length
Definition: SCT_FwdCylinderServices.h:36
SCT_FwdCylinderServices::m_lmtCoolingZOffset
double m_lmtCoolingZOffset
Definition: SCT_FwdCylinderServices.h:67
SCT_FwdCylinderServices::m_lmtLocAngle
std::vector< double > m_lmtLocAngle
Definition: SCT_FwdCylinderServices.h:40
SCT_FwdCylinderServices::m_lmtMaterialName
std::string m_lmtMaterialName
Definition: SCT_FwdCylinderServices.h:61
SCT_FwdCylinderServices::m_nPipeLocAngle
std::vector< double > m_nPipeLocAngle
Definition: SCT_FwdCylinderServices.h:43
SCT_FwdCylinderServices::m_coolingDeltaR
double m_coolingDeltaR
Definition: SCT_FwdCylinderServices.h:46
SCT_FwdCylinderServices::m_lmtCoolingRPhi
double m_lmtCoolingRPhi
Definition: SCT_FwdCylinderServices.h:55
SCT_FwdCylinderServices::m_railRPhi
double m_railRPhi
Definition: SCT_FwdCylinderServices.h:58
SCT_FwdCylinderServices::m_nPipeMaterialName
std::string m_nPipeMaterialName
Definition: SCT_FwdCylinderServices.h:64
SCT_FwdCylinderServices::m_fibreLocAngle
std::vector< double > m_fibreLocAngle
Definition: SCT_FwdCylinderServices.h:42
SCT_FwdCylinderServices::length
double length() const
Definition: SCT_FwdCylinderServices.h:27
SCT_ComponentFactory.h
SCT_FwdCylinderServices::m_nPipeDeltaR
double m_nPipeDeltaR
Definition: SCT_FwdCylinderServices.h:50
SCT_FwdCylinderServices::SCT_FwdCylinderServices
SCT_FwdCylinderServices(const std::string &name, double rmin, double rmax, double length, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdCylinderServices.cxx:26
SCT_FwdCylinderServices::m_fibreDeltaR
double m_fibreDeltaR
Definition: SCT_FwdCylinderServices.h:49
SCT_FwdCylinderServices::m_coolingLocAngle
std::vector< double > m_coolingLocAngle
Definition: SCT_FwdCylinderServices.h:39
SCT_FwdCylinderServices::m_railDeltaR
double m_railDeltaR
Definition: SCT_FwdCylinderServices.h:51
SCT_FwdCylinderServices::m_coolingMaterialName
std::string m_coolingMaterialName
Definition: SCT_FwdCylinderServices.h:60
SCT_FwdCylinderServices::getParameters
void getParameters()
Definition: SCT_FwdCylinderServices.cxx:46
SCT_FwdCylinderServices::m_innerRadius
double m_innerRadius
Definition: SCT_FwdCylinderServices.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SCT_FwdCylinderServices::m_nPipeRPhi
double m_nPipeRPhi
Definition: SCT_FwdCylinderServices.h:57
SCT_FwdCylinderServices::m_outerRadius
double m_outerRadius
Definition: SCT_FwdCylinderServices.h:35
SCT_FwdCylinderServices::m_lmtRPhi
double m_lmtRPhi
Definition: SCT_FwdCylinderServices.h:54
SCT_FwdCylinderServices::m_lmtDeltaR
double m_lmtDeltaR
Definition: SCT_FwdCylinderServices.h:47
SCT_FwdCylinderServices::m_fibreMaterialName
std::string m_fibreMaterialName
Definition: SCT_FwdCylinderServices.h:63
SCT_FwdCylinderServices::m_railMaterialName
std::string m_railMaterialName
Definition: SCT_FwdCylinderServices.h:65
SCT_FwdCylinderServices::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdCylinderServices.cxx:113
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdCylinderServices::m_fibreRPhi
double m_fibreRPhi
Definition: SCT_FwdCylinderServices.h:56
SCT_FwdCylinderServices::innerRadius
double innerRadius() const
Definition: SCT_FwdCylinderServices.h:25
SCT_FwdCylinderServices::m_lmtCoolingMaterialName
std::string m_lmtCoolingMaterialName
Definition: SCT_FwdCylinderServices.h:62
SCT_FwdCylinderServices::m_coolingRPhi
double m_coolingRPhi
Definition: SCT_FwdCylinderServices.h:53
SCT_FwdCylinderServices
Definition: SCT_FwdCylinderServices.h:13
SCT_FwdCylinderServices::m_railLocAngle
std::vector< double > m_railLocAngle
Definition: SCT_FwdCylinderServices.h:44
SCT_FwdCylinderServices::~SCT_FwdCylinderServices
~SCT_FwdCylinderServices()
Definition: SCT_FwdCylinderServices.cxx:41
SCT_FwdCylinderServices::m_lmtCoolingDeltaR
double m_lmtCoolingDeltaR
Definition: SCT_FwdCylinderServices.h:48
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25