file /home/anarendran/Documents/temp/rivet/pyext/rivet/hepdatapatches/OPAL_1993_S2692198.py

/home/anarendran/Documents/temp/rivet/pyext/rivet/hepdatapatches/OPAL_1993_S2692198.py

Namespaces

Name
rivet
rivet::hepdatapatches
rivet::hepdatapatches::OPAL_1993_S2692198

Source code

import yoda
def patch(path, ao):
    # bin widths (needs a lot more thought, the current ones were generated by old hepdata)
    if "OPAL_1993_S2692198" in path and "d04" in path:
        for p in ao.points() :
            if "d04" in path :
                p.setXErrs(0.001)
    return ao

Updated on 2022-08-07 at 20:46:08 +0100