CMS 3D CMS Logo

DDTrackerLinear.h
Go to the documentation of this file.
1 #ifndef DD_TrackerLinear_h
2 #define DD_TrackerLinear_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTrackerLinear : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
13  DDTrackerLinear();
14  ~DDTrackerLinear() override;
15 
16  void initialize(const DDNumericArguments & nArgs,
17  const DDVectorArguments & vArgs,
18  const DDMapArguments & mArgs,
19  const DDStringArguments & sArgs,
20  const DDStringVectorArguments & vsArgs) override;
21 
22  void execute(DDCompactView& cpv) override;
23 
24 private:
25 
26  std::string idNameSpace; //Namespace of this and ALL sub-parts
27  std::string childName; //Child name
28  int number; //Number of positioning
29  int startcn; //Start copy no index
30  int incrcn; //Increment of copy no.
31  double theta; //Direction of translation
32  double phi; // ......
33  double offset; //Offset along (theta,phi) direction
34  double delta; //Increment ................
35  std::vector<double> centre; //Centre
36  std::string rotMat; //Rotation matrix
37 };
38 
39 #endif
void execute(DDCompactView &cpv) override
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
std::vector< double > centre
~DDTrackerLinear() override
std::string rotMat
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::string childName
std::string idNameSpace