CMS 3D CMS Logo

DDHGCalNoTaperEndcap.h
Go to the documentation of this file.
1 #ifndef HGCalCommonData_DDHGCalNoTaperEndcap_h
2 #define HGCalCommonData_DDHGCalNoTaperEndcap_h
3 
4 #include <string>
5 #include <vector>
8 
9 class DDHGCalNoTaperEndcap : public DDAlgorithm {
10 
11 public:
12  DDHGCalNoTaperEndcap( void );
13  ~DDHGCalNoTaperEndcap( void ) override;
14 
15  void initialize( const DDNumericArguments & nArgs,
16  const DDVectorArguments & vArgs,
17  const DDMapArguments & mArgs,
18  const DDStringArguments & sArgs,
19  const DDStringVectorArguments & vsArgs ) override;
20 
21  void execute( DDCompactView& cpv ) override;
22 
23 private:
24 
25  int createQuarter( DDCompactView& cpv, int xQuadrant, int yQuadrant, int startCopyNo );
26 
27  double m_startAngle; // Start angle
28  double m_tiltAngle; // Tilt angle
29  int m_invert; // Inverted or forward
30  double m_rMin; // Inner radius
31  double m_rMax; // Outer radius
32  double m_zoffset; // Offset in z
33  double m_xyoffset; // Offset in x or y
34  int m_n; // Mumber of copies
35  int m_startCopyNo; // Start copy Number
36  int m_incrCopyNo; // Increment copy Number
37  std::string m_childName; // Children name
38  std::string m_idNameSpace; // Namespace of this and ALL sub-parts
39 };
40 
41 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
~DDHGCalNoTaperEndcap(void) override
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
void execute(DDCompactView &cpv) override
int createQuarter(DDCompactView &cpv, int xQuadrant, int yQuadrant, int startCopyNo)