CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~DDTOBAxCableAlgo();
15 
16  void initialize(const DDNumericArguments & nArgs,
17  const DDVectorArguments & vArgs,
18  const DDMapArguments & mArgs,
19  const DDStringArguments & sArgs,
20  const DDStringVectorArguments & vsArgs);
21 
22  void execute(DDCompactView& cpv);
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
std::vector< std::string > sectorMaterial_A
std::vector< std::string > sectorNumber
type of data representation of DDCompactView
Definition: DDCompactView.h:76
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
std::string idNameSpace
std::vector< std::string > sectorMaterial_C
std::vector< double > sectorStartPhi
void execute(DDCompactView &cpv)
virtual ~DDTOBAxCableAlgo()
std::vector< std::string > sectorMaterial_B