Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-13 09:07:19

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_TrackerHitPlaneDATA_H
0004 #define EDM4HEP_TrackerHitPlaneDATA_H
0005 
0006 #include "edm4hep/CovMatrix3f.h"
0007 #include "edm4hep/Vector2f.h"
0008 #include "edm4hep/Vector3d.h"
0009 #include <cstdint>
0010 
0011 namespace edm4hep {
0012 
0013 /** @class TrackerHitPlaneData
0014  *  Tracker hit plane
0015  *  @author: EDM4hep authors
0016  */
0017 class TrackerHitPlaneData {
0018 public:
0019   std::uint64_t cellID{};  ///< ID of the sensor that created this hit
0020   std::int32_t type{};     ///< type of raw data hit
0021   std::int32_t quality{};  ///< quality bit flag of the hit
0022   float time{};            ///< time of the hit [ns]
0023   float eDep{};            ///< energy deposited on the hit [GeV]
0024   float eDepError{};       ///< error measured on eDep [GeV]
0025   ::edm4hep::Vector2f u{}; ///< direction of the first measurement given as (theta, phi) in spherical coordinates [rad]
0026   ::edm4hep::Vector2f v{}; ///< direction of the second measurement given as (theta, phi) in spherical coordinates [rad]
0027   float du{};              ///< measurement error along the direction [mm]
0028   float dv{};              ///< measurement error along the direction [mm]
0029   ::edm4hep::Vector3d position{};     ///< hit position [mm]
0030   ::edm4hep::CovMatrix3f covMatrix{}; ///< covariance of the position (x,y,z) [mm^2]
0031 };
0032 
0033 namespace v6 {
0034   using TrackerHitPlaneData = edm4hep::TrackerHitPlaneData;
0035 } // namespace v6
0036 
0037 // Definition for older versions
0038 namespace v5 {
0039   class TrackerHitPlaneData {
0040   public:
0041     std::uint64_t cellID{}; ///< ID of the sensor that created this hit
0042     std::int32_t type{};    ///< type of raw data hit
0043     std::int32_t quality{}; ///< quality bit flag of the hit
0044     float time{};           ///< time of the hit [ns]
0045     float eDep{};           ///< energy deposited on the hit [GeV]
0046     float eDepError{};      ///< error measured on eDep [GeV]
0047     ::edm4hep::v5::Vector2f
0048         u{}; ///< direction of the first measurement given as (theta, phi) in spherical coordinates [rad]
0049     ::edm4hep::v5::Vector2f
0050         v{};    ///< direction of the second measurement given as (theta, phi) in spherical coordinates [rad]
0051     float du{}; ///< measurement error along the direction [mm]
0052     float dv{}; ///< measurement error along the direction [mm]
0053     ::edm4hep::v5::Vector3d position{};     ///< hit position [mm]
0054     ::edm4hep::v5::CovMatrix3f covMatrix{}; ///< covariance of the position (x,y,z) [mm^2]
0055   };
0056 } // namespace v5
0057 namespace v4 {
0058   class TrackerHitPlaneData {
0059   public:
0060     std::uint64_t cellID{};                 ///< ID of the sensor that created this hit
0061     std::int32_t type{};                    ///< type of raw data hit
0062     std::int32_t quality{};                 ///< quality bit flag of the hit
0063     float time{};                           ///< time of the hit [ns]
0064     float eDep{};                           ///< energy deposited on the hit [GeV]
0065     float eDepError{};                      ///< error measured on eDep [GeV]
0066     ::edm4hep::v4::Vector2f u{};            ///< measurement direction vector, u lies in the x-y plane
0067     ::edm4hep::v4::Vector2f v{};            ///< measurement direction vector, v is along z
0068     float du{};                             ///< measurement error along the direction
0069     float dv{};                             ///< measurement error along the direction
0070     ::edm4hep::v4::Vector3d position{};     ///< hit position [mm]
0071     ::edm4hep::v4::CovMatrix3f covMatrix{}; ///< covariance of the position (x,y,z) [mm^2]
0072   };
0073 } // namespace v4
0074 namespace v3 {
0075   class TrackerHitPlaneData {
0076   public:
0077     std::uint64_t cellID{};                 ///< ID of the sensor that created this hit
0078     std::int32_t type{};                    ///< type of raw data hit
0079     std::int32_t quality{};                 ///< quality bit flag of the hit
0080     float time{};                           ///< time of the hit [ns]
0081     float eDep{};                           ///< energy deposited on the hit [GeV]
0082     float eDepError{};                      ///< error measured on eDep [GeV]
0083     ::edm4hep::v3::Vector2f u{};            ///< measurement direction vector, u lies in the x-y plane
0084     ::edm4hep::v3::Vector2f v{};            ///< measurement direction vector, v is along z
0085     float du{};                             ///< measurement error along the direction
0086     float dv{};                             ///< measurement error along the direction
0087     ::edm4hep::v3::Vector3d position{};     ///< hit position [mm]
0088     ::edm4hep::v3::CovMatrix3f covMatrix{}; ///< covariance of the position (x,y,z) [mm^2]
0089   };
0090 } // namespace v3
0091 namespace v2 {
0092   class TrackerHitPlaneData {
0093   public:
0094     std::uint64_t cellID{};                 ///< ID of the sensor that created this hit
0095     std::int32_t type{};                    ///< type of raw data hit
0096     std::int32_t quality{};                 ///< quality bit flag of the hit
0097     float time{};                           ///< time of the hit [ns]
0098     float eDep{};                           ///< energy deposited on the hit [GeV]
0099     float eDepError{};                      ///< error measured on EDep [GeV]
0100     ::edm4hep::v2::Vector2f u{};            ///< measurement direction vector, u lies in the x-y plane
0101     ::edm4hep::v2::Vector2f v{};            ///< measurement direction vector, v is along z
0102     float du{};                             ///< measurement error along the direction
0103     float dv{};                             ///< measurement error along the direction
0104     ::edm4hep::v2::Vector3d position{};     ///< hit position [mm]
0105     ::edm4hep::v2::CovMatrix3f covMatrix{}; ///< covariance of the position (x,y,z)
0106   };
0107 } // namespace v2
0108 
0109 } // namespace edm4hep
0110 
0111 #endif