CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/Geometry/TrackerCommonData/plugins/DDTrackerZPosAlgo.h

Go to the documentation of this file.
00001 #ifndef DD_TrackerZPosAlgo_h
00002 #define DD_TrackerZPosAlgo_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 DDTrackerZPosAlgo : public DDAlgorithm {
00011  public:
00012   //Constructor and Destructor
00013   DDTrackerZPosAlgo(); 
00014   virtual ~DDTrackerZPosAlgo();
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::vector<double>      zvec;   //Z positions
00027   std::vector<std::string> rotMat; //Names of rotation matrices
00028 
00029   std::string              idNameSpace; //Namespace of this and ALL sub-parts
00030   std::string              childName;   //Child name
00031   int                      startCopyNo; //Start Copy number
00032   int                      incrCopyNo;  //Increment in Copy number
00033 };
00034 
00035 #endif