CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~DDHCalXtalAlgo();
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  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
std::vector< std::string > names
type of data representation of DDCompactView
Definition: DDCompactView.h:76
std::string idName
virtual ~DDHCalXtalAlgo()
std::string idNameSpace
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
void execute(DDCompactView &cpv)