Tool to compare TTrees in Root Files

Hello @Mark_C_Hodgkinson,

how detailed do you want to do this comparison?

  • To first order, you could simply create a few histograms and compare statistically
  • If the ntuples are small enough, TTree::Scan could work. See here or here
  • If both of the above are not OK, I think you would really need a tool that runs event loops through both trees, but this doesn’t exist yet.

Let us know what approach seems feasible for the CI.

And yes, there is a post that was mentioning this idea, but so far, this hasn’t manifested …