Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
detector_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
detector_benchmarks
Commits
d8a4238a
Commit
d8a4238a
authored
9 months ago
by
Dmitry Kalinkin
Browse files
Options
Downloads
Patches
Plain Diff
ecal_backwards.org: sprinkle clf's
parent
1c484b75
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/backgrounds/ecal_backwards.org
+9
-0
9 additions, 0 deletions
benchmarks/backgrounds/ecal_backwards.org
with
9 additions
and
0 deletions
benchmarks/backgrounds/ecal_backwards.org
+
9
−
0
View file @
d8a4238a
...
...
@@ -153,6 +153,7 @@ plt.xlabel("vertex[0].t, mm")
plt.legend()
plt.savefig(output_dir / "vertex_time_distribution.png", bbox_inches="tight")
plt.show()
plt.clf()
for label, ds in datasets.items():
if "vertices" not in ds: continue
...
...
@@ -164,6 +165,7 @@ plt.xlabel("vertex[0].z, mm")
plt.legend()
plt.savefig(output_dir / "vertex_z_distribution.png", bbox_inches="tight")
plt.show()
plt.clf()
for label, ds in datasets.items():
if "vertices" not in ds: continue
...
...
@@ -178,6 +180,7 @@ plt.ylabel("vertex[0].x, mm")
plt.legend()
plt.savefig(output_dir / "vertex_xz_distribution.png", bbox_inches="tight")
plt.show()
plt.clf()
for ix, (label, ds) in enumerate(datasets.items()):
if "vertices" not in ds: continue
...
...
@@ -192,6 +195,7 @@ for ix, (label, ds) in enumerate(datasets.items()):
plt.title(label)
plt.savefig(output_dir / f"vertex_yz_distribution_{ix}.png", bbox_inches="tight")
plt.show()
plt.clf()
#+end_src
** Simulation results
...
...
@@ -231,6 +235,7 @@ for collection_name in ["EcalEndcapNHits", "EcalEndcapPHits"]:
plt.ylabel("hit y, mm", loc="top")
plt.savefig(output_dir / f"{collection_name}_event_display_{dataset_ix}.png", bbox_inches="tight")
plt.show()
plt.clf()
#+end_src
** Discovering number of cells
...
...
@@ -285,6 +290,7 @@ for collection_name in ["EcalEndcapNHits", "EcalEndcapPHits"]:
plt.ylabel(f"Number of towers per {dr} mm slice in $r$", loc="top")
plt.savefig(output_dir / f"{collection_name}_num_towers.png", bbox_inches="tight")
plt.show()
plt.clf()
#+end_src
** Plotting the rates
...
...
@@ -324,6 +330,7 @@ for collection_name in ["EcalEndcapNHits", "EcalEndcapPHits"]:
plt.yscale("log")
plt.savefig(output_dir / f"{collection_name}_hit_rate_vs_r_edep_min_{edep_min:.3f}.png", bbox_inches="tight")
plt.show()
plt.clf()
#+end_src
#+begin_src jupyter-python
...
...
@@ -354,6 +361,7 @@ for collection_name in ["EcalEndcapNHits", "EcalEndcapPHits"]:
plt.yscale("log")
plt.savefig(output_dir / f"{collection_name}_hit_rate_vs_z_totedep_min_{totedep_min:.1f}.png", bbox_inches="tight")
plt.show()
plt.clf()
#+end_src
#+begin_src jupyter-python
...
...
@@ -444,4 +452,5 @@ for edep_min in [0]: # GeV
plt.xticks(rotation=90, ha='right')
fig_cmb.savefig(f"rates_edep_min_{edep_min}.png", bbox_inches="tight")
plt.show()
plt.clf()
#+end_src
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment