Skip to content
Snippets Groups Projects
Commit c33fd621 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Update example to use 1e3 GeV muon

parent 8cf48e4b
No related branches found
No related tags found
No related merge requests found
Pipeline #8860 passed
examples/cherenkov_muon.png

41.5 KiB | W: | H:

examples/cherenkov_muon.png

48.1 KiB | W: | H:

examples/cherenkov_muon.png
examples/cherenkov_muon.png
examples/cherenkov_muon.png
examples/cherenkov_muon.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -11,7 +11,7 @@ Usage:
Options:
-f FILE_DESCRIPTOR Descriptor of the PDFs (e.g. $JPP_DIR/data/J%p.dat).
--energy=<GeV> Muon energy [default: 1.0].
--energy=<GeV> Muon energy [default: 1e3].
--distance=<m> Distance of approach [default: 50].
--tts=<ns> PMT time smearing [default: 0.0].
--xmin=<ns> X-axis minimum [default: -20].
......@@ -62,6 +62,9 @@ def main():
ax.plot(xs, list(map(pdf, xs)), label=direction)
ax.set_yscale("log")
plt.title(
"PDF of Cherenkov light from muon with E = {} GeV and R = {} m".format(
args['--energy'], args['--distance']))
plt.ylim([float(args['--ymin']), float(args['--ymax'])])
plt.ylabel(r"$\frac{dP}{dt}$ / (npe/ns)")
plt.xlabel(r"$\Delta$t / ns")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment