File indexing completed on 2024-11-15 09:02:04
0001
0002
0003 #ifndef ACTSPODIOEDM_TrackInfo_H
0004 #define ACTSPODIOEDM_TrackInfo_H
0005
0006 #include <array>
0007 #include <cstdint>
0008 #include <ostream>
0009
0010 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0011 #include "nlohmann/json_fwd.hpp"
0012 #endif
0013
0014 namespace ActsPodioEdm {
0015
0016
0017
0018
0019
0020 class TrackInfo {
0021 public:
0022 std::array<double, 6> parameters{};
0023 std::array<double, 36> covariance{};
0024 std::uint32_t tipIndex{};
0025 std::uint32_t stemIndex{};
0026 unsigned int nMeasurements{};
0027 unsigned int nHoles{};
0028 float chi2{};
0029 unsigned int ndf{};
0030 unsigned int nOutliers{};
0031 unsigned int nSharedHits{};
0032 };
0033
0034 std::ostream& operator<<(std::ostream& o, const ActsPodioEdm::TrackInfo& value);
0035
0036 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0037 void to_json(nlohmann::json& j, const TrackInfo& value);
0038 #endif
0039
0040 }
0041
0042 #endif