00001 #ifndef DD_TECOptoHybAlgo_h 00002 #define DD_TECOptoHybAlgo_h 00003 00004 #include <map> 00005 #include <string> 00006 #include <vector> 00007 #include "DetectorDescription/Base/interface/DDTypes.h" 00008 #include "DetectorDescription/Algorithm/interface/DDAlgorithm.h" 00009 00010 class DDTECOptoHybAlgo : public DDAlgorithm { 00011 public: 00012 //Constructor and Destructor 00013 DDTECOptoHybAlgo(); 00014 virtual ~DDTECOptoHybAlgo(); 00015 00016 void initialize(const DDNumericArguments & nArgs, 00017 const DDVectorArguments & vArgs, 00018 const DDMapArguments & mArgs, 00019 const DDStringArguments & sArgs, 00020 const DDStringVectorArguments & vsArgs); 00021 00022 void execute(DDCompactView& cpv); 00023 00024 private: 00025 00026 std::string idNameSpace; //Namespace of this and ALL parts 00027 std::string childName; //Child name 00028 double rpos; //r Position 00029 double zpos; //Z position of the OptoHybrid 00030 double optoHeight; // Height of the OptoHybrid 00031 double optoWidth; // Width of the OptoHybrid 00032 int startCopyNo; //Start copy number 00033 std::vector<double> angles; //Angular position of Hybrid 00034 }; 00035 00036 #endif