CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/CondFormats/GeometryObjects/interface/PGeometricDet.h

Go to the documentation of this file.
00001 #ifndef CondFormats_PGeometricDet_h
00002 #define CondFormats_PGeometricDet_h
00003 
00004 #include <vector>
00005 #include <string>
00006 
00007 class PGeometricDet{
00008 
00009  public:
00010   PGeometricDet() { };
00011   ~PGeometricDet() { };
00012 
00013   struct Item{  
00014     std::string _name; // save only the name, not the namespace.
00015     std::string _ns; // save only the name, not the namespace.
00016 
00017     double _x;
00018     double _y;
00019     double _z;
00020     double _phi;
00021     double _rho;
00022     // fill as you will but intent is rotation matrix A where first number is row and second number is column
00023     double _a11, _a12, _a13, _a21, _a22, _a23, _a31, _a32, _a33;
00024     double _params0,_params1,_params2,_params3,_params4,_params5,_params6,_params7,_params8,_params9,_params10;
00025     double _radLength;
00026     double _xi;
00027     double _pixROCRows;
00028     double _pixROCCols;
00029     double _pixROCx;
00030     double _pixROCy;
00031     double _siliconAPVNum;
00032     
00033     int _level; // goes like 1, 2, 3, 4, 4, 4, 3, 4, 4, 3, 4, 4, 4, 1, 2, 3, etc.
00034     int _shape;
00035     //  nav_type _ddd; DO NOT SAVE!
00036     //  DDName _ddname; DO NOT SAVE!
00037     int _type;
00038 
00039     int _numnt;
00040     int _nt0, _nt1, _nt2, _nt3, _nt4, _nt5, _nt6 , _nt7, _nt8, _nt9, _nt10;
00041     
00042     int _geographicalID; // to be converted to DetId
00043     bool _stereo;
00044   };
00045 
00046   std::vector<Item> pgeomdets_;
00047 
00048 };
00049 
00050 #endif
00051