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

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

Namespaces

Name
rivet
rivet::hepdatapatches
rivet::hepdatapatches::ATLAS_2022_I2077570

Source code


def patch(path, ao):
    needs_patching = [
        '/REF/ATLAS_2022_I2077570/d03-x01-y01',
        '/REF/ATLAS_2022_I2077570/d04-x01-y01',
        '/REF/ATLAS_2022_I2077570/d09-x01-y01', 
        '/REF/ATLAS_2022_I2077570/d10-x01-y01',
        '/REF/ATLAS_2022_I2077570/d13-x01-y01',
    ]
    if path in needs_patching:
      for p in ao.points():
          xLo, xHi = p.xErrs()
          p.setErrs(1, (xLo + 0.5, xHi + 0.5))
    return ao

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