Asymmetric error bar calculation
Following up on https://gitlab.cern.ch/cmsgemonline/gem-online-analysis/-/issues/15#note_3503273, we should try to use statistically meaningful error bars when handling scurve and possibly other types of data. In ROOT there is a dedicated class
https://root.cern.ch/doc/master/classTEfficiency.html
with many options (which are probably not relevant for our purpose).
From a quick search of scipy
https://docs.scipy.org/doc/scipy/reference/search.html?q=efficiency&check_keywords=yes&area=default
I don't see anything similar, but it could of course be there without "efficiency" in the name.