CMS 3D CMS Logo

DDTrackerAngular.h
Go to the documentation of this file.
1 #ifndef DD_TrackerAngular_h
2 #define DD_TrackerAngular_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTrackerAngular : public DDAlgorithm {
11 
12 public:
13  //Constructor and Destructor
15  ~DDTrackerAngular() 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  int n; //Number of copies
28  int startCopyNo; //Start Copy number
29  int incrCopyNo; //Increment in Copy number
30  double rangeAngle; //Range in angle
31  double startAngle; //Start anle
32  double radius; //Radius
33  std::vector<double> center; //Phi values
34  double delta; //Increment in phi
35 
36  std::string idNameSpace; //Namespace of this and ALL sub-parts
37  std::string childName; //Child name
38 };
39 
40 #endif
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::vector< double > center
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
std::string childName
~DDTrackerAngular() override
void execute(DDCompactView &cpv) override
std::string idNameSpace