CMS 3D CMS Logo

DDTrackerLinearXY.h
Go to the documentation of this file.
1 #ifndef DD_TrackerLinearXY_h
2 #define DD_TrackerLinearXY_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTrackerLinearXY : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  ~DDTrackerLinearXY() 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 numberX; //Number of positioning along X-axis
29  double deltaX; //Increment .........
30  int numberY; //Number of positioning along Y-axis
31  double deltaY; //Increment .........
32  std::vector<double> centre; //Centre
33 };
34 
35 #endif
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
~DDTrackerLinearXY() override
std::vector< double > centre
std::string idNameSpace
void execute(DDCompactView &cpv) override