Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/icetop_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from pathlib import Path

from icecube import icetray, hdfwriter, simclasses
from icecube import hdfwriter, icetray, simclasses

# The following is an example of some "Level3" files for which S-frames were retrofitted
# after production. But the input can be any IceTop simulation files containing S-frames.
Expand Down
2 changes: 1 addition & 1 deletion examples/nugen_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from pathlib import Path

from icecube import icetray, hdfwriter, simclasses
from icecube import hdfwriter, icetray, simclasses

FILE_DIR = Path("/data/sim/IceCube/2016/filtered/level2/neutrino-generator/21217/0000000-0000999/")
files = sorted(str(f) for f in FILE_DIR.glob("Level2_IC86.2016_NuMu.021217.0000*.i3.zst"))
Expand Down
2 changes: 1 addition & 1 deletion examples/triggered_corsika_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from pathlib import Path

from icecube import icetray, hdfwriter, simclasses
from icecube import hdfwriter, icetray, simclasses

FILE_DIR = Path("/data/sim/IceCube/2016/filtered/level2/CORSIKA-in-ice/21889/0000000-0000999")
files = sorted(str(f) for f in FILE_DIR.glob("Level2_IC86.2016_corsika.021889.00000*.i3.zst"))
Expand Down
28 changes: 17 additions & 11 deletions src/simweights/_fluxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,22 +311,28 @@ class GlobalFitGST(CosmicRayFlux):


class GlobalFitGST_IT(CosmicRayFlux): # pylint: disable=invalid-name
r"""GlobalFitGST for four components [p, He, O, Fe].
r"""GlobalFitGST (4 populations) for four components [p, He, O, Fe].

The Oxygen group is the sum of Nitrogen and Aluminum groups of GlobalFitGST.
The Oxygen group is the sum of Carbon and Oxygen groups.
The Iron group is the sum of Iron, Tellurium and Mercury groups.
"""

pdgids = PDGID_4COMP
_funcs = (
lambda E: 0.7 * E**-2.66 * exp(-E / 1.2e5) + 0.015 * E**-2.4 * exp(-E / 4e6) + 0.0014 * E**-2.4 * exp(-E / 1.3e9),
lambda E: 0.32 * E**-2.58 * exp(-E / 1.2e5 / 2) + 0.0065 * E**-2.3 * exp(-E / 4e6 / 2),
lambda E: 0.01 * E**-2.40 * exp(-E / 1.2e5 / 7)
+ 0.0006 * E**-2.3 * exp(-E / 4e6 / 7)
+ 0.013 * E**-2.40 * exp(-E / 1.2e5 / 13)
+ 0.0007 * E**-2.3 * exp(-E / 4e6 / 13),
lambda E: 0.006 * E**-2.30 * exp(-E / 1.2e5 / 26)
+ 0.00023 * E**-2.2 * exp(-E / 4e6 / 26)
+ 0.0000025 * E**-2.2 * exp(-E / 1.3e9 / 26),
lambda E: 0.7000 * E**-2.66 * exp(-E / 1.2e5)
+ 0.0150 * E**-2.4 * exp(-E / 4e6)
+ 0.0012 * E**-2.4 * exp(-E / 1.5e9)
+ 0.00012 * E**-2.4 * exp(-E / 40e9),
lambda E: 0.3200 * E**-2.58 * exp(-E / 1.2e5 / 2) + 0.0065 * E**-2.3 * exp(-E / 4e6 / 2),
lambda E: 0.0100 * E**-2.40 * exp(-E / 1.2e5 / 6)
+ 0.0006 * E**-2.3 * exp(-E / 4e6 / 6)
+ 0.0130 * E**-2.40 * exp(-E / 1.2e5 / 8)
+ 0.0007 * E**-2.3 * exp(-E / 4e6 / 8),
lambda E: 0.0060 * E**-2.30 * exp(-E / 1.2e5 / 26)
+ 0.00021 * E**-2.2 * exp(-E / 4e6 / 26)
+ 0.0000011 * E**-2.2 * exp(-E / 1.5e9 / 26)
+ 0.00001 * E**-2.2 * exp(-E / 4e6 / 52)
+ 0.000053 * E**-2.2 * exp(-E / 4e6 / 80),
)


Expand Down
Loading