CMS 3D CMS Logo

DDHGCalWaferAlgo.h
Go to the documentation of this file.
1 #ifndef HGCalCommonData_DDHGCalWaferAlgo_h
2 #define HGCalCommonData_DDHGCalWaferAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDHGCalWaferAlgo : public DDAlgorithm {
11  public:
12  // Constructor and Destructor
14  ~DDHGCalWaferAlgo() 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 cellSize; // Cell Size
24  int cellType; // Type (1 fine; 2 coarse)
25  std::vector<std::string> childNames; // Names of children
26  std::vector<int> positionX; // Position in X
27  std::vector<int> positionY; // Position in Y
28  std::vector<double> angles; // Rotation angle
29  std::vector<int> detectorType; // Detector type
30  std::string idName; // Name of the "parent" volume.
31  std::string rotns; // Namespace for rotation matrix
32  std::string idNameSpace; // Namespace of this and ALL sub-parts
33  DDName parentName; // Parent name
34 };
35 
36 #endif
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
std::string idNameSpace
std::vector< int > positionX
std::vector< int > detectorType
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::vector< std::string > childNames
std::vector< int > positionY
std::string idName
~DDHGCalWaferAlgo() override
std::vector< double > angles
void execute(DDCompactView &cpv) override