file /home/anarendran/Documents/temp/rivet/pyext/build/lib.linux-x86_64-3.10/rivet/hepdatapatches/CELLO_1982_I12010.py
/home/anarendran/Documents/temp/rivet/pyext/build/lib.linux-x86_64-3.10/rivet/hepdatapatches/CELLO_1982_I12010.py
Namespaces
Name |
---|
rivet |
rivet::hepdatapatches |
rivet::hepdatapatches::CELLO_1982_I12010 |
Source code
import math
def patch(path, ao):
if "CELLO_1982_I12010" in path:
step = math.pi/100.
x = step
if "d03" in path or "d04" in path: x+=2.*step
for p in ao.points():
p.setX(x)
p.setXErrs(step)
x+=2.*step
return ao
Updated on 2022-08-07 at 20:46:08 +0100