CMS 3D CMS Logo

DDPixBarStackLinearGap.h
Go to the documentation of this file.
1 #ifndef DD_PixBarStackLinearGap_h
2 #define DD_PixBarStackLinearGap_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDPixBarStackLinearGap : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  virtual ~DDPixBarStackLinearGap();
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 ringmodules; //Number of modules in the rings at each end of layer
30  double theta; //Direction of translation
31  double phi; // ......
32  double offset; //Offset along (theta,phi) direction
33  double delta; //Increment ................
34  std::vector<double> centre; //Centre
35  std::string rotMat; //Rotation matrix
36  double zoffset; //Offset of modules in y
37  double stackoffset; //Offset of modules to compensate for eta
38  int stackoffsetT;//Period of offset of modules to compensate for eta
39 };
40 
41 #endif
type of data representation of DDCompactView
Definition: DDCompactView.h:90
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
void execute(DDCompactView &cpv)
std::vector< double > centre