Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-19 09:18:31

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_VertexDATA_H
0004 #define EDM4HEP_VertexDATA_H
0005 
0006 #include "edm4hep/CovMatrix3f.h"
0007 #include "edm4hep/Vector3f.h"
0008 #include <cstdint>
0009 
0010 namespace edm4hep {
0011 
0012 /** @class VertexData
0013  *  Vertex
0014  *  @author: EDM4hep authors
0015  */
0016 class VertexData {
0017 public:
0018   std::uint32_t type{}; ///< flagword that defines the type of the vertex, see reserved bits for more information
0019   float chi2{};         ///< chi-squared of the vertex fit
0020   std::int32_t ndf{};   ///< number of degrees of freedom of the vertex fit
0021   ::edm4hep::Vector3f position{};     ///< position of the vertex [mm]
0022   ::edm4hep::CovMatrix3f covMatrix{}; ///< covariance matrix of the position [mm^2]
0023   std::int32_t algorithmType{};       ///< type code for the algorithm that has been used to create the vertex
0024 
0025   unsigned int parameters_begin{};
0026   unsigned int parameters_end{};
0027   unsigned int particles_begin{};
0028   unsigned int particles_end{};
0029 };
0030 
0031 namespace v6 {
0032   using VertexData = edm4hep::VertexData;
0033 } // namespace v6
0034 
0035 // Definition for older versions
0036 namespace v5 {
0037   class VertexData {
0038   public:
0039     std::uint32_t type{}; ///< flagword that defines the type of the vertex, see reserved bits for more information
0040     float chi2{};         ///< chi-squared of the vertex fit
0041     std::int32_t ndf{};   ///< number of degrees of freedom of the vertex fit
0042     ::edm4hep::v5::Vector3f position{};     ///< position of the vertex [mm]
0043     ::edm4hep::v5::CovMatrix3f covMatrix{}; ///< covariance matrix of the position [mm^2]
0044     std::int32_t algorithmType{};           ///< type code for the algorithm that has been used to create the vertex
0045 
0046     unsigned int parameters_begin{};
0047     unsigned int parameters_end{};
0048     unsigned int particles_begin{};
0049     unsigned int particles_end{};
0050   };
0051 } // namespace v5
0052 namespace v4 {
0053   class VertexData {
0054   public:
0055     std::uint32_t type{}; ///< flagword that defines the type of the vertex, see reserved bits for more information
0056     float chi2{};         ///< chi-squared of the vertex fit
0057     std::int32_t ndf{};   ///< number of degrees of freedom of the vertex fit
0058     ::edm4hep::v4::Vector3f position{};     ///< position of the vertex [mm]
0059     ::edm4hep::v4::CovMatrix3f covMatrix{}; ///< covariance matrix of the position [mm^2]
0060     std::int32_t algorithmType{};           ///< type code for the algorithm that has been used to create the vertex
0061 
0062     unsigned int parameters_begin{};
0063     unsigned int parameters_end{};
0064     unsigned int particles_begin{};
0065     unsigned int particles_end{};
0066   };
0067 } // namespace v4
0068 namespace v3 {
0069   class VertexData {
0070   public:
0071     std::uint32_t type{}; ///< flagword that defines the type of the vertex, see reserved bits for more information
0072     float chi2{};         ///< chi-squared of the vertex fit
0073     std::int32_t ndf{};   ///< number of degrees of freedom of the vertex fit
0074     ::edm4hep::v3::Vector3f position{};     ///< position of the vertex [mm]
0075     ::edm4hep::v3::CovMatrix3f covMatrix{}; ///< covariance matrix of the position [mm^2]
0076     std::int32_t algorithmType{};           ///< type code for the algorithm that has been used to create the vertex
0077 
0078     unsigned int parameters_begin{};
0079     unsigned int parameters_end{};
0080     unsigned int particles_begin{};
0081     unsigned int particles_end{};
0082   };
0083 } // namespace v3
0084 namespace v2 {
0085   class VertexData {
0086   public:
0087     std::uint32_t type{}; ///< Flagword that defines the type of the vertex, see reserved bits for more information
0088     float chi2{};         ///< chi-squared of the vertex fit
0089     std::int32_t ndf{};   ///< number of degrees of freedom of the vertex fit
0090     ::edm4hep::v2::Vector3f position{};     ///< [mm] position of the vertex
0091     ::edm4hep::v2::CovMatrix3f covMatrix{}; ///< covariance matrix of the position
0092     std::int32_t algorithmType{};           ///< type code for the algorithm that has been used to create the vertex
0093 
0094     unsigned int parameters_begin{};
0095     unsigned int parameters_end{};
0096     unsigned int particles_begin{};
0097     unsigned int particles_end{};
0098   };
0099 } // namespace v2
0100 
0101 } // namespace edm4hep
0102 
0103 #endif