Skip to content

Commit

Permalink
remove the make functions in favor of acts-project#2817
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Dec 12, 2023
1 parent ed86692 commit 55e6fdf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions Core/include/Acts/EventData/MultiTrajectory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,6 @@ class MultiTrajectory {
return self().addTrackState_impl(mask, iprevious);
}

/// Add a track state to the container and return a track state proxy to it
/// This effectively calls @c addTrackState and @c getTrackState
/// @note Only available if the track state container is not read-only
/// @return a track state proxy to the newly added track state
template <bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
TrackStateProxy makeTrackState(IndexType istate) {
return getTrackState(addTrackState(istate));
}

/// @}

/// @anchor track_state_container_iteration
Expand Down
9 changes: 0 additions & 9 deletions Core/include/Acts/EventData/TrackContainer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,6 @@ class TrackContainer {
return track.index();
}

/// Add a track to the container and return a track proxy to it
/// This effectively calls @c addTrack and @c getTrack
/// @note Only available if the track container is not read-only
/// @return a track proxy to the newly added track
template <bool RO = ReadOnly, typename = std::enable_if_t<!RO>>
TrackProxy makeTrack() {
return getTrack(addTrack());
}

/// Remove a track at index @p itrack from the container
/// @note Only available if the track container is not read-only
/// @note This invalidates track proxies that point to tracks with larger
Expand Down

0 comments on commit 55e6fdf

Please sign in to comment.