CMS 3D CMS Logo

DDHCalXtalAlgo.h
Go to the documentation of this file.
1 #ifndef HcalAlgo_DDHCalXtalAlgo_h
2 #define HcalAlgo_DDHCalXtalAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDHCalXtalAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
13  DDHCalXtalAlgo();
14  ~DDHCalXtalAlgo() 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  double radius; //Pointing distance from front surface
27  double offset; //Offset along Z
28  double dx; //Half size along x
29  double dz; //Half size along z
30  double angwidth; //Angular width
31  int iaxis; //Axis of rotation
32  std::vector<std::string> names; //Names for rotation matrices
33 
34  std::string idNameSpace; //Namespace of this and ALL sub-parts
35  std::string idName; //Children name
36 };
37 
38 #endif
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::vector< std::string > names
type of data representation of DDCompactView
Definition: DDCompactView.h:90
std::string idName
~DDHCalXtalAlgo() override
std::string idNameSpace
void execute(DDCompactView &cpv) override