CMS 3D CMS Logo

DDHCalLinearXY.h
Go to the documentation of this file.
1 #ifndef HcalAlgo_DDHCalLinearXY_h
2 #define HcalAlgo_DDHCalLinearXY_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDHCalLinearXY : public DDAlgorithm {
11 
12 public:
13  //Constructor and Destructor
14  DDHCalLinearXY();
15  ~DDHCalLinearXY() override;
16 
17  void initialize(const DDNumericArguments & nArgs,
18  const DDVectorArguments & vArgs,
19  const DDMapArguments & mArgs,
20  const DDStringArguments & sArgs,
21  const DDStringVectorArguments & vsArgs) override;
22 
23  void execute(DDCompactView& cpv) override;
24 
25 private:
26 
27  std::string idNameSpace; //Namespace of this and ALL sub-parts
28  std::vector<std::string> childName; //Child name
29  int numberX; //Number of positioning along X-axis
30  double deltaX; //Increment .........
31  int numberY; //Number of positioning along Y-axis
32  double deltaY; //Increment .........
33  std::vector<double> centre; //Centre
34 };
35 
36 #endif
void execute(DDCompactView &cpv) override
type of data representation of DDCompactView
Definition: DDCompactView.h:90
std::vector< std::string > childName
~DDHCalLinearXY() override
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::string idNameSpace
std::vector< double > centre