CMS 3D CMS Logo

DDTECPhiAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TECPhiAlgo_h
2 #define DD_TECPhiAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTECPhiAlgo : public DDAlgorithm {
11 
12 public:
13  //Constructor and Destructor
14  DDTECPhiAlgo();
15  ~DDTECPhiAlgo() 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 startAngle; //Start angle
28  double incrAngle; //Increment in angle
29  double zIn; //z position for the even ones
30  double zOut; //z position for the odd ones
31  int number; //Number of copies
32  int startCopyNo; //Start copy number
33  int incrCopyNo; //Increment in copy number
34 
35  std::string idNameSpace; //Namespace of this and ALL sub-parts
36  std::string childName; //Child name
37 };
38 
39 #endif
double incrAngle
Definition: DDTECPhiAlgo.h:28
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDTECPhiAlgo.cc:23
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
std::string idNameSpace
Definition: DDTECPhiAlgo.h:35
double startAngle
Definition: DDTECPhiAlgo.h:27
void execute(DDCompactView &cpv) override
Definition: DDTECPhiAlgo.cc:53
~DDTECPhiAlgo() override
Definition: DDTECPhiAlgo.cc:21
std::string childName
Definition: DDTECPhiAlgo.h:36