file /home/anarendran/Documents/temp/rivet/pyext/build/lib.linux-x86_64-3.10/rivet/hepdatapatches/OPAL_2004_I631361.py

/home/anarendran/Documents/temp/rivet/pyext/build/lib.linux-x86_64-3.10/rivet/hepdatapatches/OPAL_2004_I631361.py

Namespaces

Name
rivet
rivet::hepdatapatches
rivet::hepdatapatches::OPAL_2004_I631361

Source code

import yoda
def patch(path, ao):
    # fix bin widths
    if ("OPAL_2004_I631361" in path and
        ("d01" in path or "d02" in path or "d03" in path ) ) :
        for p in ao.points() :
            p.setXErrs(0.5)
    return ao

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