Skip to content

Add the ability to calculate rates in HltEfficiencyChecker

Ross John Hunter requested to merge rjhunter-calculate-rates into master

This MR adds the --rates flag to HltEfficiencyChecker, which writes an EventTuple to the tuple for analysis rather than a MCDecayTreeTuple, thereby making it completely agnostic to the decay. The trigger is then run in a similar way, and a new analysis script hlt1_calculate_rates.py is called to print some rates to the screen and make a bar chart.

TODO:

  • Add plotting
  • Add a total rate printout/add to plot

I will also add this feature to to !4 (merged) and the physics-performance-comparison branch for the physics performance comparison.

FYI @mvesteri @dovombru @sstahl @rmatev @gligorov

Edited by Ross John Hunter

Merge request reports