Skip to content

Commit

Permalink
Added missing comma in one plot
Browse files Browse the repository at this point in the history
  • Loading branch information
Horoho committed Nov 15, 2023
1 parent c376dfa commit b3f0073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Validation/src/Validation/simparticles.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@plotter(hist=True, event=False)
def beamenergy_comp(d: Differ, out_dir=None):

pdgid_labels = ['', 'e+', 'e-', 'μ+', 'μ-', 'γ', 'p', 'n', 'π+', 'π-', 'π0', 'K+', 'K-', 'K-L', 'K-S', 'nucleus', 'exotic', "A'"] # finish later
pdgid_labels = ['', 'e+', 'e-', 'μ+', 'μ-', 'γ', 'p', 'n', 'π+', 'π-', 'π0', 'K+', 'K-', 'K-L', 'K-S', 'nucleus', 'exotic', "A\'"] # finish later

d.plot1d("SampleValidation/SampleValidation_pdgid_primaries", "PDG ID, primaries",
tick_labels=pdgid_labels,
Expand All @@ -26,7 +26,7 @@ def beamenergy_comp(d: Differ, out_dir=None):
out_dir=out_dir,
density=True)

d.plot1d("SampleValidation/SampleValidation_pdgid_harddaughters" "PDG ID of hard primary daughter",
d.plot1d("SampleValidation/SampleValidation_pdgid_harddaughters", "PDG ID of hard primary daughter",
tick_labels=pdgid_labels,
out_dir=out_dir,
density=True)
Expand Down

0 comments on commit b3f0073

Please sign in to comment.