Skip to content

Thor functors for MCTrackInfo

Jiahui Zhuo requested to merge jzhuo_AddMCTrack into master

This MR continue !2932 (merged), which is accidently merged and reverted.

Description: In this MR will reimplement the Run1/2 tupletool " MCTupleToolReconstructed" with Thor Funtor in order to use it for New DaVinci. It consist on two parts:

  • Get MCTrackInfo for each MC Particle and calculate Reconstructible category.
  • Get Reconstructed Track for each MC Particle and calculate the Reconstructed category.

TO-DO list:

  • Create new functor to get MCTrackInfo from MC Particle
  • Create new functor to calculate ChagedReconstructible category from MCTrackInfo
  • Create new algorithm to get association from MC Particle to the best track and calculate Reconstructed category
  • Create new fucntors to read the result of the algorithm
  • Extend the algorithm from the best track to all tracks
  • Extend the functor to receives all tracks and sort the result
  • Add test units for all functors created in this MR
  • Code cleanup

To be tested with: Moore!1759 (merged) DaVinci!716 (merged) and Analysis!898 (merged)

FYI: @amathad @ldufour @pkoppenb @sstahl @chasse @erodrigu

Edited by Jiahui Zhuo

Merge request reports