CMS 3D CMS Logo

DDTIDAxialCableAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TIDAxialCableAlgo_h
2 #define DD_TIDAxialCableAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTIDAxialCableAlgo : public DDAlgorithm {
11 
12 public:
13  //Constructor and Destructor
15  ~DDTIDAxialCableAlgo() override;
16 
17  void initialize(const DDNumericArguments & nArgs,
18  const DDVectorArguments & vArgs,
19  const DDMapArguments & mArgs,
20  const DDStringArguments & sArgs,
21  const DDStringVectorArguments & vsArgs) override;
22 
23  void execute(DDCompactView& cpv) override;
24 
25 private:
26 
27  double zBend; //Start z (at bending)........
28  double zEnd; //End z ........
29  double rMin; //Minimum radius ........
30  double rMax; //Maximum radius ........
31  double rTop; //Maximum radius (top)........
32  double width; //Angular width
33  double thick; //Thickness
34  std::vector<double> angles; //Phi Angles
35  std::vector<double> zposWheel; //Z position of wheels
36  std::vector<double> zposRing; //Z position of rings inside wheels
37 
38  std::string idNameSpace; //Namespace of this and ALL sub-parts
39  std::string childName; //Child name
40  std::string matIn; //Material name (for inner parts)
41  std::string matOut; //Material name (for outer part)
42 };
43 
44 #endif
std::vector< double > zposWheel
void execute(DDCompactView &cpv) override
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
type of data representation of DDCompactView
Definition: DDCompactView.h:90
std::vector< double > angles
std::vector< double > zposRing