def max(run, cut=2.0): mean, width = _calib[fill(run)] return mean + cut * width
def min(run, cut=-1.0): mean, width = _calib[fill(run)] return mean + cut * width
def shift(run, nsigpi): offset = _calib[fill(run)][0] return nsigpi - offset
def max(run, cut=2.0): mean, width = _calib[fill(run)] return mean + cut*width
def min(run, cut=-1.0): mean, width = _calib[fill(run)] return mean + cut*width