CMS 3D CMS Logo

DDTECOptoHybAlgo.h
Go to the documentation of this file.
1 #ifndef DD_TECOptoHybAlgo_h
2 #define DD_TECOptoHybAlgo_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
9 
10 class DDTECOptoHybAlgo : public DDAlgorithm {
11  public:
12  //Constructor and Destructor
14  ~DDTECOptoHybAlgo() 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  std::string idNameSpace; //Namespace of this and ALL parts
27  std::string childName; //Child name
28  double rpos; //r Position
29  double zpos; //Z position of the OptoHybrid
30  double optoHeight; // Height of the OptoHybrid
31  double optoWidth; // Width of the OptoHybrid
32  int startCopyNo; //Start copy number
33  std::vector<double> angles; //Angular position of Hybrid
34 };
35 
36 #endif
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::string idNameSpace
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
~DDTECOptoHybAlgo() override
void execute(DDCompactView &cpv) override
std::string childName
std::vector< double > angles