CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/Geometry/TrackerCommonData/interface/DDTrackerLinear.h

Go to the documentation of this file.
00001 #ifndef DD_TrackerLinear_h
00002 #define DD_TrackerLinear_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 DDTrackerLinear : public DDAlgorithm {
00011  public:
00012   //Constructor and Destructor
00013   DDTrackerLinear(); 
00014   virtual ~DDTrackerLinear();
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 sub-parts
00027   std::string              childName;   //Child name
00028   int                      number;      //Number of positioning
00029   int                      startcn;     //Start copy no index
00030   int                      incrcn;      //Increment of copy no.
00031   double                   theta;       //Direction of translation
00032   double                   phi;         //  ......
00033   double                   offset;      //Offset    along (theta,phi) direction
00034   double                   delta;       //Increment     ................
00035   std::vector<double>      centre;      //Centre
00036   std::string              rotMat;      //Rotation matrix
00037 };
00038 
00039 #endif