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 
12 public:
13  //Constructor and Destructor
15  ~DDHGCalWaferAlgo() 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 cellSize; //Cell Size
27  int cellType; //Type (1 fine; 2 coarse)
28  std::vector<std::string> childNames; //Names of children
29  std::vector<int> positionX; //Position in X
30  std::vector<int> positionY; //Position in Y
31  std::vector<double> angles; //Rotation angle
32  std::vector<int> detectorType; //Detector type
33  std::string idName; //Name of the "parent" volume.
34  std::string rotns; //Namespace for rotation matrix
35  std::string idNameSpace; //Namespace of this and ALL sub-parts
36  DDName parentName; //Parent name
37 };
38 
39 #endif
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:15
type of data representation of DDCompactView
Definition: DDCompactView.h:90
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