Skip to content
Snippets Groups Projects
Commit 3a1def8c authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

backwards_ecal: update YR requirement based on correction from Carlos

parent ef5512da
Branches
No related tags found
No related merge requests found
......@@ -221,10 +221,11 @@ for clf_label, sigma_rel_FWHM_cb in sigmas_rel_FWHM_cb.items():
lw=0.5,
label=f"{clf_label}, ${np.ceil(stochastic * 10) / 10:.1f}\% / \sqrt{{E}} \oplus {np.ceil(constant * 10) / 10:.1f}\%$",
)
plt.plot(
plt.fill_between(
energy_values,
np.sqrt((1 / energy_values) ** 2 + (1 / np.sqrt(energy_values)) ** 2 + 1 ** 2),
color="black", label=r"YR requirement $1\% / E \oplus 2.5\% / \sqrt{E} \oplus 1\%$",
np.sqrt((2 / np.sqrt(energy_values)) ** 2 + 1 ** 2),
np.sqrt((2 / np.sqrt(energy_values)) ** 2 + 3 ** 2),
alpha=0.2, color="black", label=r"YR requirement $2\% / \sqrt{E} \oplus (1-3)\%$",
)
plt.title(INPUT_PATH_FORMAT)
plt.legend()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment