Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:12

0001 #ifndef CondFormats_PGeometricDet_h
0002 #define CondFormats_PGeometricDet_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <vector>
0007 #include <string>
0008 
0009 class PGeometricDet {
0010 public:
0011   PGeometricDet(){};
0012   ~PGeometricDet(){};
0013 
0014   struct Item {
0015     std::string _name;  // save only the name, not the namespace.
0016     std::string _ns;    // save only the name, not the namespace.
0017 
0018     double _x;
0019     double _y;
0020     double _z;
0021     double _phi;
0022     double _rho;
0023     // fill as you will but intent is rotation matrix A where first number is row and second number is column
0024     double _a11, _a12, _a13, _a21, _a22, _a23, _a31, _a32, _a33;
0025     double _params0, _params1, _params2, _params3, _params4, _params5, _params6, _params7, _params8, _params9,
0026         _params10;
0027     double _radLength;
0028     double _xi;
0029     double _pixROCRows;
0030     double _pixROCCols;
0031     double _pixROCx;
0032     double _pixROCy;
0033     double _siliconAPVNum;
0034 
0035     int _level;  // goes like 1, 2, 3, 4, 4, 4, 3, 4, 4, 3, 4, 4, 4, 1, 2, 3, etc.
0036     int _shape;
0037     //  nav_type _ddd; DO NOT SAVE!
0038     //  DDName _ddname; DO NOT SAVE!
0039     int _type;
0040 
0041     int _numnt;
0042     int _nt0, _nt1, _nt2, _nt3, _nt4, _nt5, _nt6, _nt7, _nt8, _nt9, _nt10;
0043 
0044     int _geographicalID;  // to be converted to DetId
0045     bool _stereo;
0046 
0047     COND_SERIALIZABLE;
0048   };
0049 
0050   std::vector<Item> pgeomdets_;
0051 
0052   COND_SERIALIZABLE;
0053 };
0054 
0055 #endif