00001 #ifndef DD_TrackerLinearXY_h 00002 #define DD_TrackerLinearXY_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 DDTrackerLinearXY : public DDAlgorithm { 00011 public: 00012 //Constructor and Destructor 00013 DDTrackerLinearXY(); 00014 virtual ~DDTrackerLinearXY(); 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(); 00023 00024 private: 00025 00026 std::string idNameSpace; //Namespace of this and ALL sub-parts 00027 std::string childName; //Child name 00028 int numberX; //Number of positioning along X-axis 00029 double deltaX; //Increment ......... 00030 int numberY; //Number of positioning along Y-axis 00031 double deltaY; //Increment ......... 00032 std::vector<double> centre; //Centre 00033 }; 00034 00035 #endif