HltEfficiencyChecker printing is mangled
HltEfficiencyChecker
/hlt_calculate_rates.py
tries to be clever about aligning the decimal when printing the final rate table. However, it is not implemented correctly and ends up worse than nothing. See the output:
Line: Hlt2PID_BToKJpsi_JpsiToPmPpTagged_LineDecision Incl: 0.13348461589801777 +/- 0.09 kHz, Excl: 0.13348461589801777 +/- 0.09 kHz
Line: Hlt2PID_BToKJpsi_JpsiToPpPmTagged_LineDecision Incl: 0.0 +/- 0.0 kHz, Excl: 0.0 +/- 0.0 kHz
Line: Hlt2PID_DstToD0Pi_D0ToKPiPiPi_LineDecision Incl: 1.8020423146232396 +/- 0.34 kHz, Excl: 1.7353000066742308 +/- 0.34 kHz
This is due to the fact that the errors are always truncated to 4 characters, while the central values are not.
Perhaps just limiting everything to two or three digits and right aligning would be better?