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  public:
12  // Constructor and Destructor
13  DDHGCalWafer();
14  ~DDHGCalWafer() override;
15 
16  void initialize(const DDNumericArguments& nArgs,
17  const DDVectorArguments& vArgs, const DDMapArguments& mArgs,
18  const DDStringArguments& sArgs,
19  const DDStringVectorArguments& vsArgs) override;
20  void execute(DDCompactView& cpv) override;
21 
22  private:
23  double waferSize_; // Wafer Size
24  int cellType_; // Type (1 fine; 2 coarse)
25  int nColumns_; // Maximum number of columns
26  int nBottomY_; // Index of cell position of bottom row
27  std::vector<std::string> childNames_; // Names of children
28  std::vector<int> nCellsRow_; // Number of cells in a row
29  std::vector<int> angleEdges_; // Rotation angles to be used for edges
30  std::vector<int> detectorType_; // Detector type of edge cells
31  std::string idNameSpace_; // Namespace of this and ALL sub-parts
32  DDName parentName_; // Parent name
33 };
34 
35 #endif
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDHGCalWafer.cc:23
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
std::vector< int > detectorType_
Definition: DDHGCalWafer.h:30
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
double waferSize_
Definition: DDHGCalWafer.h:23
std::vector< std::string > childNames_
Definition: DDHGCalWafer.h:27
std::vector< int > nCellsRow_
Definition: DDHGCalWafer.h:28
~DDHGCalWafer() override
Definition: DDHGCalWafer.cc:21
std::vector< int > angleEdges_
Definition: DDHGCalWafer.h:29
std::string idNameSpace_
Definition: DDHGCalWafer.h:31
void execute(DDCompactView &cpv) override
Definition: DDHGCalWafer.cc:54
DDName parentName_
Definition: DDHGCalWafer.h:32