00001 #ifndef DD_TIDRingAlgo_h 00002 #define DD_TIDRingAlgo_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 DDTIDRingAlgo : public DDAlgorithm { 00011 00012 public: 00013 //Constructor and Destructor 00014 DDTIDRingAlgo(); 00015 virtual ~DDTIDRingAlgo(); 00016 00017 void initialize(const DDNumericArguments & nArgs, 00018 const DDVectorArguments & vArgs, 00019 const DDMapArguments & mArgs, 00020 const DDStringArguments & sArgs, 00021 const DDStringVectorArguments & vsArgs); 00022 00023 void execute(DDCompactView& cpv); 00024 00025 private: 00026 00027 std::string idNameSpace; //Namespace of this & ALL subparts 00028 std::vector<std::string> moduleName; //Name of the module 00029 std::string iccName; //Name of the ICC 00030 00031 int number; //Number of copies 00032 double startAngle; //Phi offset 00033 double rModule; //Location of module in R 00034 std::vector<double> zModule; // in Z 00035 double rICC; //Location of ICC in R 00036 double sICC; //Shift of ICC per to R 00037 std::vector<double> zICC; // in Z 00038 }; 00039 00040 #endif