Skip to content

Commit

Permalink
refactor!: Store unsigned 64bit integer for projector in MTJ backend (#…
Browse files Browse the repository at this point in the history
…1958)

Is this breaking?
  • Loading branch information
paulgessinger committed Mar 20, 2023
1 parent d2882c8 commit 0b61727
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Core/include/Acts/EventData/MultiTrajectory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ template <typename derived_t>
class MultiTrajectory;
class Surface;

using ProjectorBitset = std::bitset<eBoundSize * eBoundSize>;
using ProjectorBitset = unsigned long long;

namespace detail_lt {
/// Either type T or const T depending on the boolean.
Expand Down Expand Up @@ -709,8 +709,9 @@ class TrackStateProxy {
fullProjector.template topLeftCorner<rows, cols>() = projector;

// convert to bitset before storing
auto projectorBitset = matrixToBitset(fullProjector);
component<ProjectorBitset, hashString("projector")>() =
matrixToBitset(fullProjector);
projectorBitset.to_ullong();
}

/// Uncalibrated measurement in the form of a source link. Const version
Expand Down

0 comments on commit 0b61727

Please sign in to comment.