Item

PDetGeomDesc

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#ifndef CondFormats_PDetGeomDesc_h
#define CondFormats_PDetGeomDesc_h

#include "CondFormats/Serialization/interface/Serializable.h"

#include <vector>
#include <string>

class PDetGeomDesc {
public:
  struct Item {
    // Translation matrix elements
    double dx_, dy_, dz_;  // in mm
    // Rotation matrix elements
    double axx_, axy_, axz_, ayx_, ayy_, ayz_, azx_, azy_, azz_;
    std::string name_;
    std::vector<double> params_;  // default unit: mm from oldDD, cm from DD4hep
    uint32_t geographicalID_;     // to be converted to DetId
    int copy_;
    float z_;  // in mm
    std::string sensorType_;

    COND_SERIALIZABLE;
  };

  std::vector<Item> container_;

  COND_SERIALIZABLE;
};

#endif