Skip to content

WIP: Modernize the Trk::TrackSummary class

As it stands, Trk::TrackSummary is relatively old code that could use some modern C++ magic. This merge request attempts to implement such a modernization, making the class more easy to work with, which is something I will need for future merge requests. The changes implemented in this merge request are as follows:

  1. Several changes to formatting, to make the styling more consistent.
  2. Add many more helper methods, which make objects easier to update and interact with.
  3. Change direct access to members in other parts of the code to use the new helper methods.
  4. Use arrays instead of vectors, since the size of these arrays is known at compile time.
  5. Use optional types to represent non-initialized values in the information arrays.
  6. Use bitset types instead of raw integers.
  7. Remove header implementation and move it to .cxx files.
Edited by Stephen Nicholas Swatman

Merge request reports