CMS 3D CMS Logo

DDTOBRadCableAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TOBRadCableAlgo_h
2 #define DD_TOBRadCableAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTOBRadCableAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  ~DDTOBRadCableAlgo() override;
15 
16  void initialize(const DDNumericArguments & nArgs,
17  const DDVectorArguments & vArgs,
18  const DDMapArguments & mArgs,
19  const DDStringArguments & sArgs,
20  const DDStringVectorArguments & vsArgs) override;
21 
22  void execute(DDCompactView& cpv) override;
23 
24 private:
25 
26  std::string idNameSpace; // Namespace of this and ALL sub-parts
27 
28  double diskDz; // Disk thickness
29  double rMax; // Maximum radius
30  double cableT; // Cable thickness
31  std::vector<double> rodRin; // Radii for inner rods
32  std::vector<double> rodRout; // Radii for outer rods
33  std::vector<std::string> cableM; // Materials for cables
34  double connW; // Connector width
35  double connT; // Connector thickness
36  std::vector<std::string> connM; // Materials for connectors
37  std::vector<double> coolR1; // Radii for cooling manifold
38  std::vector<double> coolR2; // Radii for return cooling manifold
39  double coolRin; // Inner radius of cooling manifold
40  double coolRout1; // Outer radius of cooling manifold
41  double coolRout2; // Outer radius of cooling fluid in cooling manifold
42  double coolStartPhi1; // Starting Phi of cooling manifold
43  double coolDeltaPhi1; // Phi Range of cooling manifold
44  double coolStartPhi2; // Starting Phi of cooling fluid in of cooling manifold
45  double coolDeltaPhi2; // Phi Range of of cooling fluid in cooling manifold
46  std::string coolM1; // Material for cooling manifold
47  std::string coolM2; // Material for cooling fluid
48  std::vector<std::string> names; // Names of layers
49 };
50 
51 #endif
std::vector< double > rodRout
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::vector< double > coolR2
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
void execute(DDCompactView &cpv) override
std::vector< double > rodRin
~DDTOBRadCableAlgo() override
std::vector< std::string > names
std::string idNameSpace
std::vector< double > coolR1
std::vector< std::string > connM
std::vector< std::string > cableM