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  virtual ~DDTrackerLinear();
15 
16  void initialize(const DDNumericArguments & nArgs,
17  const DDVectorArguments & vArgs,
18  const DDMapArguments & mArgs,
19  const DDStringArguments & sArgs,
20  const DDStringVectorArguments & vsArgs);
21 
22  void execute(DDCompactView& cpv);
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
virtual ~DDTrackerLinear()
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
type of data representation of DDCompactView
Definition: DDCompactView.h:90
std::vector< double > centre
void execute(DDCompactView &cpv)
std::string rotMat
std::string childName
std::string idNameSpace