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 
26  int units; //Number of copies
27  double rr; //Radial position of the detectors
28  double dphi; //the distance in phi between the detectors
29 
30  std::string rotMat; //Name of the rotation matrix
31  std::string childName; //Children name
32 };
33 
34 #endif
~DDBHMAngular() override
Definition: DDBHMAngular.cc:21
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
Definition: DDBHMAngular.cc:23
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
std::string rotMat
Definition: DDBHMAngular.h:30
void execute(DDCompactView &cpv) override
Definition: DDBHMAngular.cc:43
std::string childName
Definition: DDBHMAngular.h:31