File indexing completed on 2025-01-18 09:10:49
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include "Acts/Definitions/Algebra.hpp"
0012 #include "Acts/Utilities/HashedString.hpp"
0013
0014 #include <any>
0015 #include <limits>
0016 #include <vector>
0017
0018 namespace Acts {
0019
0020
0021
0022
0023
0024
0025
0026
0027 class SpacePointMutableData {
0028 public:
0029
0030 SpacePointMutableData() = default;
0031
0032
0033 SpacePointMutableData(const SpacePointMutableData& other) = delete;
0034 SpacePointMutableData& operator=(const SpacePointMutableData& other) = delete;
0035
0036
0037 SpacePointMutableData(SpacePointMutableData&& other) noexcept = default;
0038 SpacePointMutableData& operator=(SpacePointMutableData&& other) noexcept =
0039 default;
0040
0041
0042 ~SpacePointMutableData() = default;
0043
0044
0045 float quality(const std::size_t idx) const;
0046 float deltaR(const std::size_t idx) const;
0047
0048
0049 void setQuality(const std::size_t idx, const float value);
0050 void setDeltaR(const std::size_t idx, const float value);
0051
0052
0053 void resize(const std::size_t n);
0054
0055
0056 void clear();
0057
0058 private:
0059
0060 std::vector<float> m_quality{};
0061 std::vector<float> m_deltaR{};
0062 };
0063
0064 }
0065
0066 #include "Acts/EventData/SpacePointMutableData.ipp"