00001 #ifndef DD_TECCoolAlgo_h 00002 #define DD_TECCoolAlgo_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 DDTECCoolAlgo : public DDAlgorithm { 00011 public: 00012 //Constructor and Destructor 00013 DDTECCoolAlgo(); 00014 virtual ~DDTECCoolAlgo(); 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 std::string idNameSpace; //Namespace of this and ALL parts 00026 int startCopyNo; //Start copy number 00027 double rPosition; // Position of the Inserts in R 00028 std::vector<double> phiPosition; // Position of the Inserts in Phi 00029 std::vector<std::string> coolInsert; //Name of cooling pieces 00030 }; 00031 00032 #endif