CMS 3D CMS Logo

DDTrackerPhiAltAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TrackerPhiAltAlgo_h
2 #define DD_TrackerPhiAltAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTrackerPhiAltAlgo : public DDAlgorithm {
11 
12 public:
13  //Constructor and Destructor
15  ~DDTrackerPhiAltAlgo() 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 tilt; //Tilt of the module
28  double startAngle; //offset in phi
29  double rangeAngle; //Maximum range in phi
30  double radiusIn; //Inner radius
31  double radiusOut; //Outer radius
32  double zpos; //z position
33  int number; //Number of copies
34  int startCopyNo; //Start copy number
35  int incrCopyNo; //Increment in copy number
36 
37  std::string idNameSpace; //Namespace of this and ALL sub-parts
38  std::string childName; //Child name
39 };
40 
41 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
void execute(DDCompactView &cpv) override
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override