Add the ability to calculate rates in HltEfficiencyChecker
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.
Edited by Ross John Hunter