CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~DDTECPhiAlgo();
16 
17  void initialize(const DDNumericArguments & nArgs,
18  const DDVectorArguments & vArgs,
19  const DDMapArguments & mArgs,
20  const DDStringArguments & sArgs,
21  const DDStringVectorArguments & vsArgs);
22 
23  void execute(DDCompactView& cpv);
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
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
Definition: DDTECPhiAlgo.cc:24
double incrAngle
Definition: DDTECPhiAlgo.h:28
type of data representation of DDCompactView
Definition: DDCompactView.h:77
std::string idNameSpace
Definition: DDTECPhiAlgo.h:35
void execute(DDCompactView &cpv)
Definition: DDTECPhiAlgo.cc:54
virtual ~DDTECPhiAlgo()
Definition: DDTECPhiAlgo.cc:22
double startAngle
Definition: DDTECPhiAlgo.h:27
std::string childName
Definition: DDTECPhiAlgo.h:36