Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reconstruction_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
reconstruction_benchmarks
Merge requests
!285
Improvements of ML benchmark outputs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Improvements of ML benchmark outputs
improve_imcal_ml_benchmarks
into
master
Overview
0
Commits
3
Pipelines
0
Changes
2
Merged
Chao Peng
requested to merge
improve_imcal_ml_benchmarks
into
master
2 years ago
Overview
0
Commits
3
Pipelines
0
Changes
2
Expand
Adjustment on the figures
Add new figures
Add a new method of preparing event data (imaging)
0
0
Merge request reports
Compare
master
version 1
f0cbf61e
2 years ago
master (base)
and
latest version
latest version
a180e457
3 commits,
2 years ago
version 1
f0cbf61e
1 commit,
2 years ago
2 files
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
benchmarks/imaging_shower_ML/scripts/epcut_scan.py
+
2
−
2
Options
@@ -231,7 +231,7 @@ if __name__ == '__main__':
# nsamples=npar, # this is redundant
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
)
texts
.
append
(
r
'
$\epsilon_{{{}}}={:.2f}$%
'
.
format
(
par
.
latex
,
eff
*
100.
))
cut_data
.
append
(
cut_result
)
@@ -239,7 +239,7 @@ if __name__ == '__main__':
ax
.
legend
(
fontsize
=
20
,
ncol
=
2
,
loc
=
'
upper center
'
,
bbox_to_anchor
=
(
0.5
,
1.12
),)
ax
.
tick_params
(
labelsize
=
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
.
text
(
0.5
,
0.97
,
'
\n
'
.
join
(
texts
),
transform
=
ax
.
transAxes
,
fontsize
=
20
,
va
=
'
top
'
,
ha
=
'
center
'
,
bbox
=
box_props
)
Loading