file /home/anarendran/Documents/temp/rivet/pyext/rivet/hepdatapatches/BELLE_2016_I1389855.py
/home/anarendran/Documents/temp/rivet/pyext/rivet/hepdatapatches/BELLE_2016_I1389855.py
Namespaces
Name |
---|
rivet |
rivet::hepdatapatches |
rivet::hepdatapatches::BELLE_2016_I1389855 |
Source code
def patch(path, ao):
# fix x values so CMS energy not bin number
if "BELLE_2016_I1389855" in path and "y01" not in path:
x = [(1.102200e+04,5.393515e+00,1.077033e+00),
(1.101750e+04,4.123106e+00,4.123106e+00),
(1.101640e+04,4.707441e+00,1.077033e+00),
(1.100680e+04,4.026164e+00,1.077033e+00),
(1.099190e+04,1.077033e+00,1.077033e+00),
(1.097750e+04,1.077033e+00,1.077033e+00),
(1.095750e+04,4.123106e+00,4.123106e+00),
(1.092750e+04,4.123106e+00,4.123106e+00),
(1.090770e+04,5.001000e+00,1.077033e+00),
(1.090110e+04,5.001000e+00,1.486607e+00),
(1.089850e+04,4.123106e+00,1.077033e+00),
(1.088890e+04,2.236068e+00,1.077033e+00),
(1.088360e+04,2.325941e+00,1.345362e+00),
(1.087850e+04,1.720465e+00,1.077033e+00),
(1.086950e+04,2.236068e+00,1.077033e+00),
(1.086860e+04,5.385165e-01,5.385165e-01),
(1.086670e+04,5.385165e-01,5.385165e-01),
(1.086330e+04,5.385165e-01,5.385165e-01),
(1.085890e+04,2.236068e+00,1.077033e+00),
(1.084970e+04,1.562050e+00,1.077033e+00),
(1.082050e+04,1.077033e+00,6.576473e+00),
(1.077110e+04,2.059126e+00,2.059126e+00)]
for i in range(0,len(ao.points())):
ao.points()[i].setX(x[i][0])
ao.points()[i].setXErrs((x[i][1],x[i][2]))
return ao
Updated on 2022-08-07 at 20:46:08 +0100