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

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

Namespaces

Name
rivet
rivet::hepdatapatches
rivet::hepdatapatches::ATLAS_2019_I1720438

Source code


def patch(path, ao):
    needs_patching = [ 
      '/REF/ATLAS_2019_I1720438/d20-x01-y01',
    ]
    if path in needs_patching:
      for i in range(ao.numPoints()):
          ao.point(i).setVal(1, float(i))
          ao.point(i).setErrs(1, (0.5, 0.5))
    return ao

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