CMS 3D CMS Logo

DDPixFwdDiskAlgo.h
Go to the documentation of this file.
1 #ifndef DD_PixFwdDiskAlgo_h
2 #define DD_PixFwdDiskAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDPixFwdDiskAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  ~DDPixFwdDiskAlgo() 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  std::string rotName; //Name of the base rotation matrix
29  std::string flagString; //Flag if a blade is present
30  int nBlades; //Number of blades
31  int startCopyNo; //Start Copy number
32  double bladeAngle; //Angle of blade rotation aroung y-axis
33  double zPlane; //Common shift in z for all blades
34  std::vector<double> bladeZShift; //Shift in Z of individual blades
35  double anchorR; //Distance of beam line to anchor point
36  double bladeTilt; //Tilt of the blade around x-axis
37 };
38 
39 #endif
std::string flagString
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
~DDPixFwdDiskAlgo() override
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
std::string childName
std::string rotName
std::string idNameSpace
std::vector< double > bladeZShift
void execute(DDCompactView &cpv) override