CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDTrackerXYZPosAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TrackerXYZPosAlgo_h
2 #define DD_TrackerXYZPosAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTrackerXYZPosAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  virtual ~DDTrackerXYZPosAlgo();
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::vector<double> xvec; //X positions
27  std::vector<double> yvec; //Y positions
28  std::vector<double> zvec; //Z positions
29  std::vector<std::string> rotMat; //Names of rotation matrices
30 
31  std::string idNameSpace; //Namespace of this and ALL sub-parts
32  std::string childName; //Child name
33  int startCopyNo; //Start Copy number
34  int incrCopyNo; //Increment in Copy number
35 };
36 
37 #endif
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:77
std::vector< double > zvec
void execute(DDCompactView &cpv)
std::vector< double > xvec
std::vector< std::string > rotMat
std::vector< double > yvec