Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef CondFormats_PDetGeomDesc_h
0002 #define CondFormats_PDetGeomDesc_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <vector>
0007 #include <string>
0008 
0009 class PDetGeomDesc {
0010 public:
0011   struct Item {
0012     // Translation matrix elements
0013     double dx_, dy_, dz_;  // in mm
0014     // Rotation matrix elements
0015     double axx_, axy_, axz_, ayx_, ayy_, ayz_, azx_, azy_, azz_;
0016     std::string name_;
0017     std::vector<double> params_;  // default unit: mm from oldDD, cm from DD4hep
0018     uint32_t geographicalID_;     // to be converted to DetId
0019     int copy_;
0020     float z_;  // in mm
0021     std::string sensorType_;
0022 
0023     COND_SERIALIZABLE;
0024   };
0025 
0026   std::vector<Item> container_;
0027 
0028   COND_SERIALIZABLE;
0029 };
0030 
0031 #endif