CMS 3D CMS Logo

DDHGCalWafer.h
Go to the documentation of this file.
1 #ifndef HGCalCommonData_DDHGCalWafer_h
2 #define HGCalCommonData_DDHGCalWafer_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDHGCalWafer : public DDAlgorithm {
11 
12 public:
13  //Constructor and Destructor
14  DDHGCalWafer();
15  ~DDHGCalWafer() 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  void execute(DDCompactView& cpv) override;
23 
24 private:
25 
26  double waferSize_; //Wafer Size
27  int cellType_; //Type (1 fine; 2 coarse)
28  int nColumns_; //Maximum number of columns
29  int nBottomY_; //Index of cell position of bottom row
30  std::vector<std::string> childNames_; //Names of children
31  std::vector<int> nCellsRow_; //Number of cells in a row
32  std::vector<int> angleEdges_; //Rotation angles to be used for edges
33  std::vector<int> detectorType_; //Detector type of edge cells
34  std::string idNameSpace_; //Namespace of this and ALL sub-parts
35  DDName parentName_; //Parent name
36 };
37 
38 #endif
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDHGCalWafer.cc:22
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
std::vector< int > detectorType_
Definition: DDHGCalWafer.h:33
type of data representation of DDCompactView
Definition: DDCompactView.h:90
double waferSize_
Definition: DDHGCalWafer.h:26
std::vector< std::string > childNames_
Definition: DDHGCalWafer.h:30
std::vector< int > nCellsRow_
Definition: DDHGCalWafer.h:31
~DDHGCalWafer() override
Definition: DDHGCalWafer.cc:20
std::vector< int > angleEdges_
Definition: DDHGCalWafer.h:32
std::string idNameSpace_
Definition: DDHGCalWafer.h:34
void execute(DDCompactView &cpv) override
Definition: DDHGCalWafer.cc:53
DDName parentName_
Definition: DDHGCalWafer.h:35