![]() |
![]() |
00001 #ifndef CondFormats_PGeometricDet_h 00002 #define CondFormats_PGeometricDet_h 00003 00004 #include <vector> 00005 #include <map> 00006 #include <string> 00007 00008 class PGeometricDet{ 00009 public: 00010 PGeometricDet() { }; 00011 ~PGeometricDet() { }; 00012 00013 struct Item { 00014 double _x; 00015 double _y; 00016 double _z; 00017 double _phi; 00018 double _rho; 00019 // fill as you will but intent is rotation matrix A where first number is row and second number is column 00020 double _a11, _a12, _a13, _a21, _a22, _a23, _a31, _a32, _a33; 00021 int _shape; 00022 // nav_type _ddd; DO NOT SAVE! 00023 // DDName _ddname; DO NOT SAVE! 00024 std::string _name; // save only the name, not the namespace. 00025 int _type; 00026 std::vector<double> _params; 00027 00028 int _geographicalID; // to be converted to DetId 00029 00030 // std::vector< DDExpandedNode > _parents; DO NOT SAVE! 00031 double _volume; 00032 double _density; 00033 double _weight; 00034 int _copy; 00035 std::string _material; // fill with dummy 00036 double _radLength; 00037 double _xi; 00038 double _pixROCRows; 00039 double _pixROCCols; 00040 double _pixROCx; 00041 double _pixROCy; 00042 bool _stereo; 00043 double _siliconAPVNum; 00044 }; 00045 00046 std::vector<Item> pgeomdets_; 00047 }; 00048 00049 #endif 00050