file /home/anarendran/Documents/temp/rivet/pyext/build/rivet/hepdatapatches/MARKII_1988_I261194.py

/home/anarendran/Documents/temp/rivet/pyext/build/rivet/hepdatapatches/MARKII_1988_I261194.py

Namespaces

Name
rivet
rivet::hepdatapatches
rivet::hepdatapatches::MARKII_1988_I261194

Source code

def patch(path, ao):
    if "MARKII_1988_I261194" in path and "d01" in path:
        step = 0.05
        for p in ao.points():
            if p.x()<0.45 :
                p.setXErrs(step)
                step=0.025
            elif p.x()>0.5 :
                p.setXErrs(step)
                step=0.05
            else :
                p.setXErrs((step,0.05))
                step=0.05
    return ao

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