Skip to content
Snippets Groups Projects
Commit e04d6dfb authored by Chao Peng's avatar Chao Peng
Browse files

Fix the number of scfi layers (20 to 16)

parent eedf5625
Branches
Tags
1 merge request!285Improvements of ML benchmark outputs
...@@ -231,7 +231,7 @@ if __name__ == '__main__': ...@@ -231,7 +231,7 @@ if __name__ == '__main__':
# nsamples=npar, # this is redundant # nsamples=npar, # this is redundant
nsamples_after_cut=ncut, nsamples_after_cut=ncut,
) )
ax.hist(ep_centers, weights=vals, bins=50, label='${}$'.format(par.latex), ax.hist(ep_centers, weights=vals/npar, bins=50, label='${}$'.format(par.latex),
color=colors[k], ec=colors[k], alpha=0.5) color=colors[k], ec=colors[k], alpha=0.5)
texts.append(r'$\epsilon_{{{}}}={:.2f}$%'.format(par.latex, eff*100.)) texts.append(r'$\epsilon_{{{}}}={:.2f}$%'.format(par.latex, eff*100.))
cut_data.append(cut_result) cut_data.append(cut_result)
...@@ -239,7 +239,7 @@ if __name__ == '__main__': ...@@ -239,7 +239,7 @@ if __name__ == '__main__':
ax.legend(fontsize=20, ncol=2, loc='upper center', bbox_to_anchor=(0.5, 1.12),) ax.legend(fontsize=20, ncol=2, loc='upper center', bbox_to_anchor=(0.5, 1.12),)
ax.tick_params(labelsize=20) ax.tick_params(labelsize=20)
ax.set_xlabel('$E/p$', fontsize=20) ax.set_xlabel('$E/p$', fontsize=20)
ax.set_ylabel('Counts', fontsize=20) ax.set_ylabel('Normalized Counts', fontsize=20)
ax.axvline(x=ep_cut, color='k', ls='--', lw=2) ax.axvline(x=ep_cut, color='k', ls='--', lw=2)
ax.text(0.5, 0.97, '\n'.join(texts), ax.text(0.5, 0.97, '\n'.join(texts),
transform=ax.transAxes, fontsize=20, va='top', ha='center', bbox=box_props) transform=ax.transAxes, fontsize=20, va='top', ha='center', bbox=box_props)
......
...@@ -20,7 +20,7 @@ class dotdict(dict): ...@@ -20,7 +20,7 @@ class dotdict(dict):
# basic information share among all scripts # basic information share among all scripts
imcal_info = dotdict( imcal_info = dotdict(
nlayers_img=6, nlayers_img=6,
nlayers_scfi=20, nlayers_scfi=16,
ml_data_key='/ml_data', ml_data_key='/ml_data',
truth_data_key='/truth', truth_data_key='/truth',
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment