Skip to content

Commit

Permalink
refactor: Clean up root trajectory writer (#854)
Browse files Browse the repository at this point in the history
This PR has the following changes:

- Adds the writing of corresponding truth particle info of a track in the `RootTrajectorySummaryWriter`
- Adds the `RootTrajectorySummaryReader`
- With the above changes, the `RootTrajectorySummaryXXX` supercede the `RootTrajectoryParametersXXX`. Hence, the `RootTrajectoryParametersXXX` are removed.
- Update of the examples to use the `RootTrajectorySummaryXXX`
  • Loading branch information
XiaocongAi committed Jun 25, 2021
1 parent a837633 commit 3bb5609
Show file tree
Hide file tree
Showing 13 changed files with 363 additions and 663 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ namespace ActsExamples {
/// NaN values for TTree variables
constexpr double NaNdouble = std::numeric_limits<double>::quiet_NaN();
constexpr float NaNfloat = std::numeric_limits<float>::quiet_NaN();
constexpr float NaNint = std::numeric_limits<int>::quiet_NaN();

/// A helper class for users to implement framework writers.
///
Expand Down
3 changes: 1 addition & 2 deletions Examples/Io/Root/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ add_library(
src/RootSimHitWriter.cpp
src/RootTrackParameterWriter.cpp
src/RootTrajectoryStatesWriter.cpp
src/RootTrajectoryParametersReader.cpp
src/RootTrajectoryParametersWriter.cpp
src/RootTrajectorySummaryReader.cpp
src/RootTrajectorySummaryWriter.cpp
src/RootVertexPerformanceWriter.cpp
)
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 3bb5609

Please sign in to comment.