CMS 3D CMS Logo

DDTOBAxCableAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TOBAxCableAlgo_h
2 #define DD_TOBAxCableAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTOBAxCableAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  ~DDTOBAxCableAlgo() 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  std::vector<std::string> sectorNumber; // Id. Number of the sectors
29 
30  double sectorRin; // Inner radius of service sectors
31  double sectorRout; // Outer radius of service sectors
32  double sectorDz; // Sector half-length
33  double sectorDeltaPhi_B; // Sector B phi width [A=C=0.5*(360/sectors)]
34  std::vector<double> sectorStartPhi; // Starting phi for the service sectors
35  std::vector<std::string> sectorMaterial_A; // Material for the A sectors
36  std::vector<std::string> sectorMaterial_B; // Material for the B sectors
37  std::vector<std::string> sectorMaterial_C; // Material for the C sectors
38 
39 };
40 
41 #endif
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::vector< std::string > sectorMaterial_A
std::vector< std::string > sectorNumber
type of data representation of DDCompactView
Definition: DDCompactView.h:90
std::string idNameSpace
std::vector< std::string > sectorMaterial_C
std::vector< double > sectorStartPhi
~DDTOBAxCableAlgo() override
std::vector< std::string > sectorMaterial_B
void execute(DDCompactView &cpv) override