Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef CondFormats_PGeometricTimingDet_h
0002 #define CondFormats_PGeometricTimingDet_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <vector>
0007 #include <string>
0008 
0009 class PGeometricTimingDet {
0010 public:
0011   PGeometricTimingDet(){};
0012   ~PGeometricTimingDet(){};
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 params_0, params_1, params_2, params_3, params_4, params_5, params_6, params_7, params_8, params_9,
0026         params_10;
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