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

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

Namespaces

Name
rivet
rivet::hepdatapatches
rivet::hepdatapatches::ARGUS_1992_I319102

Source code

def patch(path, ao):
    # fix bin widths
    if "ARGUS_1992_I319102" in path :
        if "d01" in path :
            step=0.1
        elif "d02" in path or "d03" in path :
            step = 1.
        elif  "d04" in path or "d05" in path or "d06" in path:
            step=0.5
        else :
            return ao
        for p in ao.points():
            p.setXErrs(step)
    return ao

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