Commit cd7030f2 authored by Javier Duarte's avatar Javier Duarte
Browse files

sig figs

parent ab207239
Pipeline #3668880 skipped with stage
......@@ -128,16 +128,20 @@ def create_hh_xsbr_label(poi="r", br=None):
def determine_limit_digits(limit, is_xsec=False):
# TODO: adapt to publication style
if is_xsec:
if limit < 10:
if limit < 1:
return 2
elif limit < 200:
elif limit < 10:
return 1
elif limit < 200:
return 0
return 0
else:
if limit < 10:
if limit < 1:
return 2
elif limit < 100:
elif limit < 10:
return 1
elif limit < 100:
return 0
return 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment