CMS 3D CMS Logo

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