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

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

Namespaces

Name
rivet
rivet::hepdatapatches
rivet::hepdatapatches::UA5_1982_S875503

Source code


def patch(path, ao):
    needs_patching = [ 
      '/REF/UA5_1982_S875503/d02-x01-y01',
      '/REF/UA5_1982_S875503/d02-x01-y02',
      '/REF/UA5_1982_S875503/d02-x01-y03',
      '/REF/UA5_1982_S875503/d02-x01-y04',
      '/REF/UA5_1982_S875503/d02-x01-y05',
      '/REF/UA5_1982_S875503/d02-x01-y06',
      '/REF/UA5_1982_S875503/d02-x01-y07',
      '/REF/UA5_1982_S875503/d02-x01-y08',
      '/REF/UA5_1982_S875503/d02-x01-y09',
      '/REF/UA5_1982_S875503/d02-x01-y10',
    ]
    if path in needs_patching:
      for p in ao.points():
          p.setErrs(1, (0.5, 0.5))
    return ao

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