CMS 3D CMS Logo

DDBHMAngular.h
Go to the documentation of this file.
1 #ifndef ForwardCommonData_DDBHMAngular_h
2 #define ForwardCommonData_DDBHMAngular_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDBHMAngular : public DDAlgorithm {
11 public:
12  //Constructor and Destructor
13  DDBHMAngular();
14  ~DDBHMAngular() override;
15 
16  void initialize(const DDNumericArguments& nArgs,
17  const DDVectorArguments& vArgs,
18  const DDMapArguments& mArgs,
19  const DDStringArguments& sArgs,
20  const DDStringVectorArguments& vsArgs) override;
21 
22  void execute(DDCompactView& cpv) override;
23 
24 private:
25  int units; //Number of copies
26  double rr; //Radial position of the detectors
27  double dphi; //the distance in phi between the detectors
28 
29  std::string rotMat; //Name of the rotation matrix
30  std::string childName; //Children name
31 };
32 
33 #endif
~DDBHMAngular() override
Definition: DDBHMAngular.cc:19
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDBHMAngular.cc:21
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
std::string rotMat
Definition: DDBHMAngular.h:29
void execute(DDCompactView &cpv) override
Definition: DDBHMAngular.cc:38
std::string childName
Definition: DDBHMAngular.h:30