1 Introduction

Gamma-ray bursts (GRBs) are cosmological events with the emission of very intense electromagnetic radiation in the energy range \({\sim }100\) keV–1 MeV. Phenomenologically GRBs come in two variants: the short-hard bursts and long-soft bursts. The long gamma-ray bursts (LGRBs, typically with duration longer than 2 s), which constitute about 3/4 of the total observed GRBs, are generally believed to be associated with deaths of massive stars [1, 2]. In this scenario the gamma rays emitted by the collapsing star during a long GRB event should be the result of relativistic jets of radiation and matter breaking through the stellar envelope. Fermi-accelerated electrons would produce gamma rays by synchrotron and inverse Compton scattering in optically thin magnetized relativistic shocks. In this same shock protons should also be accelerated to relativistic velocities and interact with the photons producing neutrinos with an energy range from MeV–EeV [3, 4]. Observationally, only a small fraction (\({\le }10^{-3}\)) of core collapse SNe are associated with GRBs [57]. These correspond to the cases when the energetic jet successfully penetrates through the stellar envelope and reaches a highly relativistic speed (Lorentz factor \(\Gamma \ge 100\)). It is possible that the larger fraction of the core collapse may not be able to punch through the massive envelope to launch a successful GRB. Irrespective of its failure to emerge from the thick envelop, like the successful jet, these choked jets can also accelerate protons to very high energy and produce multi-TeV neutrinos through interaction with the keV photon background present in the jet environment [8]. The high energy neutrinos are produced from the decay of charged pions which lead to the neutrino flux ratio at the source \(\Phi ^0_{\nu _e}{:}\Phi ^0_{\nu _\mu }{:}\Phi ^0_{\nu _\tau }=1{:}2{:}0\) (\(\Phi ^0_{\nu _{\alpha }}\) corresponds to the sum of neutrino and antineutrino flux at the source). As is well known, the matter effect can substantially modify the flux ratio due to neutrino oscillation, in a presupernova star scenario; high energy neutrinos propagating through a heavy envelope can oscillate to other flavors due to matter effects, resulting in flavor ratios at the surface of the star that can be significantly different from 1:2:0. In a previous paper [9] (Paper I) we presented a detailed calculation of the effects of matter inside the presupernova star on the neutrino fluxes, using a formalism that takes into account the three neutrino flavors and different density profiles for the presupernova star. Our results show that for neutrinos with \(E_{\nu } \le 10\) TeV the fluxes on the surface of the star are different from the original one 1:2:0. We have also calculated the fluxes of these neutrinos on the surface of the Earth after they travel through the long baseline between the source and the Earth. We found that for neutrino energy \(E_{\nu } \le 10\) TeV, the flux ratio is different from 1:1:1 and above this energy the ratio converges to 1:1:1 implying that the matter effect does not play a significant role for high energy neutrinos.

The IceCube neutrino detector in South pole is fully operational since December 2010. The IceCube collaboration has reported the observation of 37 neutrino events in the energy range 30 TeV–2 PeV and the sources of these events are unknown [1012]. These neutrino events have flavors, directions, and energies not compatible with the atmospheric neutrinos and it is believed that this is the first indication of the extraterrestrial origin of high energy neutrinos. Recently, the IceCube collaboration has presented results of 641 days data taken during 2010–2012 in the energy range 1 TeV–1 PeV from the southern sky, which gives a new constraint on the diffuse astrophysical neutrino spectrum [13]. These high energy neutrino events have generated much interest and several models have been proposed as to their origin. The choked GRBs are potential candidates to produce the high energy neutrinos which can propagate hundreds of Mpc baseline to reach the Earth. So it is important to study these neutrinos and the matter effect on their propagation. The present work is an extension of Paper I. Here we take into account the matter effect of both the presupernova star medium and the Earth on the calculation of the flux ratio by a detector like IceCube, which could be relevant to get information regarding the type of progenitor responsible for the choked GRBs. Both the matter effect and the shadowing effect are important only for the upward going neutrinos. So here we take into account these effects on the neutrinos.

The organization of the papers is as follows: In Sect. 2 we discuss the neutrino propagation in the Earth by considering a realistic density profile. Here we also take into account the shadowing effect which is important for high energy neutrinos. In Sect. 3, the signature of shower and track events are discussed. The detailed calculation of track-to-shower ration is discussed in Sect. 4. Finally we present our results in Sect. 5 followed by a summary in Sect. 6.

2 Matter effect on neutrinos going through the Earth

The energy spectra of the gamma rays produced by long GRBs have been measured and they follow power laws, or broken power laws [14]. In the GRB jet (both successful and choked), neutrinos are produced with varying energy depending on the distance from the central engine. The ones which are closer to the central engine are in the MeV range and this increases as the distance increases. This happens because the protons are Fermi accelerated within the jet and gain energy as the distance increases up to a maximum, where neutrinos of \(\sim \)EeV energy can be produced. In this environment the high energy \(\gamma \)-rays and neutrinos are produced through pp and/or \(p\gamma \) interaction within the jet environment and the fluxes of these GeV–TeV neutrinos and the \(\gamma \)-rays are related. Both the \(\gamma \)-rays and the neutrinos have a power-law spectrum. Here we assume a simple power-law spectrum for the high energy neutrinos:

$$\begin{aligned} \frac{\mathrm{d}F_{\nu _l}}{\mathrm{d}E_{\nu _l}} = N_{\nu _l} {E_{\nu _l}}^{-\alpha }, \end{aligned}$$
(1)

where \(\alpha \ge 2\) is the spectral index and \(N_{\nu _l}\) is the normalization constant in units of \(\mathrm{GeV}^{-1} \mathrm{cm}^{-2} \mathrm{s}^{-1}\).

High energy neutrinos reaching the detector on Earth from the opposite side can experience both oscillation absorption due to neutrino–nucleon CC and to NC interactions. The oscillation is important for the low energy neutrinos \(E_{\nu }\le 10\) TeV, and the effective potential the neutrinos will experience is \(V=\sqrt{2} G_\mathrm{F}\,n_\mathrm{e}\), where \(G_\mathrm{F}\) is the Fermi coupling constant and \(n_\mathrm{e}\) is the electron density in the medium. For very high energy neutrinos the interaction cross sections are large enough so that the absorption effects become very important and have to be taken into account. The shadowing factor due to this absorption is given by [15]

$$\begin{aligned} P_{\mathrm{shad}} = \text {exp}(- N_{\mathrm{A}} \sigma _{{ TOT}} X), \end{aligned}$$
(2)

where \(\sigma _{{ TOT}}\) is the total neutrino–nucleon cross section, \(N_{\mathrm{A}} = 6.0221 \times 10^{23}\) mol\(^{-1}\) is Avogadro’s number, and X is the column depth traveled by the neutrino inside the Earth before interaction. The column depth is the product of the distance traveled and the density of matter inside the Earth \(\rho _\mathrm{e}\). Since the Earth’s density depends on the position, \(\rho _\mathrm{e} = \rho _\mathrm{e}(r)\) and X is given by

$$\begin{aligned} X = \int {\rho _\mathrm{e}(r)\, \mathrm{d}\mathbf {r}}, \end{aligned}$$
(3)

where the integral is a path integral along the trajectory of the neutrino, from the entrance point to the Earth up to the detector, and can be parameterized in terms of the zenith angle \(\theta \) of the neutrino track at the detector. The cross section \(\sigma _{{ TOT}}\) is a function of the neutrino energy \(E_{\nu }\). Then the shadowing factor \(P_{\mathrm{shad}}\) depends on both \(E_{\nu }\) and \(\theta \) and can be expressed as \(P_{\mathrm{shad}} =P_{\mathrm{shad}}(E_{\nu },\theta )\). We consider the most realistic density profile of the Earth, which is given by [15]

$$\begin{aligned} \rho _{\mathrm{e}} (r) = \left\{ \begin{array}{l@{\quad }l} 13.0885 - 8.8381\cdot x^{2} &{} \quad x < 0.192,\\ 12.5815-1.2638 \cdot x\, - &{} \\ 3.6426 \cdot x^{2} - 5.5281 \cdot x^{3} &{} \quad 0.192 < x < 0.546 ,\\ 7.9565-6.4761 \cdot x\, + &{} \\ 5.5283 \cdot x^{2} - 3.0807 \cdot x^{3} &{} \quad 0.546 < x < 0.895 ,\\ 5.3197-1.4836 \cdot x &{} \quad 0.895 < x < 0.906 ,\\ 11.2494-8.0298 \cdot x &{} \quad 0.906 < x < 0.937 ,\\ 7.089-3.8045 \cdot x &{} \quad 0.937 < x < 0.965 ,\\ 2.691+0.6924 \cdot x &{} \quad 0.965 < x < 0.996 ,\\ 2.9 &{} \quad 0.996 < x < 0.998,\\ 2.6 &{} \quad 0.998 < x < 0.999,\\ 1.02 &{} \quad 0.999 < x \le 1, \\ \end{array} \right. \nonumber \\ \end{aligned}$$
(4)

where \(x = r/R_{\mathrm{Earth}}\) and \(\rho _\mathrm{e}\) is given in units of g/cm\(^3\). The Earth density profile is shown in Fig. 1. Using this density profile \(X(\theta )\) can be calculated.

Fig. 1
figure 1

Earth matter density profile \(\rho _e\) (g/cm\(^3\)) as a function of the radius

The values of the total cross sections, for neutrino and antineutrino interaction with matter (nuclei) at high energies, have to be extrapolated from low energy data, since no measurements have been performed yet. In this work we use the cross sections reported in Ref. [16] and present in Figs. 2 and 3, respectively, for \(\nu -N\) and \({\bar{\nu }} -N\). Comparison of the total cross sections \(\nu -N\) and \({\bar{\nu }}-N\) shows that in the low energy limit \(E_{\nu } \le 10\) TeV there is a very small difference between these two which can be seen in Fig. 4.

Fig. 2
figure 2

Neutrino–nucleon cross sections at high energies [16]

Fig. 3
figure 3

Antineutrino–nucleon cross sections ant high energies [16]

Fig. 4
figure 4

Comparison of both neutrino–nucleon and antineutrino–nucleon cross sections

In Fig. 5, \(P_{\mathrm{shad}}\) is plotted as a function of \(E_{\nu }\), for a zenith angle \(\theta = 180^{\circ }\) (neutrinos arriving to the detector from underneath). From the graph it can be noticed that the shadowing factor decreases as the neutrino energy increases beyond \({\sim }1\) TeV and the Earth becomes opaque for neutrinos with energies above \({\sim }1000\) TeV. There is a small difference between the neutrino and antineutrino shadowing factor above 1 TeV. Since we are interested in TeV neutrinos, the shadowing effect has to be taken into account properly in the calculation of the neutrino fluxes arriving at the detector. Depending on the energy of the neutrinos, the interaction of the neutrinos with the medium inside the Earth will also result in flavor oscillations. Since in this work we will account for those neutrinos that go through the Earth before undergoing deep inelastic collisions with the surround medium to the detector, we must take into account the flavor oscillation.

Fig. 5
figure 5

The shadowing factor \(P_{\mathrm{shad}}\) as a function of the neutrino energy for a zenith angle \(\theta = 180^{\circ }\)

In Paper I we have already used the analytic formalism developed by Ohlsson and Snellman (OS) to calculate three-flavor neutrino oscillations [21, 22] in the presupernova star [9] and then calculate the flavor ratio of neutrinos arriving on Earth. Here we extend the calculation by taking into account the matter effect of the Earth to calculate the flavor ratio at the IceCube detector. For this calculation we use the Earth density profile given in Eq. (4).

The input neutrino fluxes at the surface of the Earth, as functions of neutrino energy \(E_{\nu }\), are those calculated and discussed thoroughly in Paper I [9], for three different models of the presupernova star, which we will refer to as model A, B, and C. For reference we present the density profile of these three models in Fig. 6. In Figs. 7 and 8 the neutrino and antineutrino fluxes at the detector, as functions of the neutrino energy, resulting from models A and B (in (b), (c), and (d)) and taking into account the Earth’s matter effect, are compared with the case in which the effects of the stellar medium are ignored (in (a)). The two sets of plots, corresponding to different neutrino-mixing angles, \(\theta _{13}\), are shown. In these plots the neutrinos have traversed the whole Earth before arriving at the detector (a 180\(^{\circ }\) zenith angle). All other parameters are taken from the best fit parameters from different experiments which are summarized in Table 1. We also consider two sets of parameters, Set I and Set II, corresponding to two different presuprenova star radii \(R^*\) as shown in Table 1 and analyze our results.

Fig. 6
figure 6

Density profiles of the progenitor star taken from [1720]. The density profiles [A], [B], [C] are described in detail in [9]

Fig. 7
figure 7

Neutrino and antineutrino fluxes at the detector. In (a), (b), and (c) solid lines is for \(\Phi _{\nu _\mathrm{e}}\), dashed lines are for \(\Phi _{\nu _{\mu }}\), and dotted lines are for \(\Phi _{\nu _{\tau }}\). In (d) solid line, dashed line and dotted line are for \(\Phi _{\bar{\nu }_{\mathrm{e}}}\), \(\Phi _{\bar{\nu }_{\mu }}\) and \(\Phi _{\bar{\nu }_{\tau }}\) respectively. The neutrino-mixing parameters are: \(\delta _{\mathrm{CP}} = 0; \theta _{12} = 33.8^{\circ }\); \(\theta _{13} = 8.8^{\circ }; \theta _{23} = 45.0^{\circ }\); \(\Delta m ^{2}_{21} = 8.0 \times 10^{-5}\) eV\(^2\); \(\Delta m ^{2}_{23} = 3.2 \times 10^{-3}\) eV\(^2\)

Fig. 8
figure 8

Same as Fig. 7 but here we consider \(\theta _{13} = 12.0^{\circ }\)

Table 1 The parameters considered for our study. \(R^*\) is the radius of the presupernova star. We consider three different values of \(\Delta m^2_{32}\) to observe the variation in R

3 Detection of neutrinos by IceCube

A neutrino detector, like IceCube, detects high energy neutrinos by observing the Cherenkov radiation emitted by the secondary charged particles produced when high energy neutrinos interact with the surrounding rock and ice [23]. These secondaries produce showers events and/or tracks events depending on the primary neutrino flavor. The neutrino interaction with rock and ice takes place through the neutral current (NC) and/or charge current (CC) weak processes \(\nu _{l}+N\rightarrow \nu _{l} ({l})+ X\). In the NC case, since there is a neutrino in the final state, the only signature of the interaction will be through the hadronic shower, independent of the neutrino flavor. In the CC case the end-result depends on the neutrino flavor. If the interacting neutrino is an electron type, the resulting electron will quickly interact with the medium, producing an electromagnetic shower, which will overlap with the hadronic shower. If the neutrino is muon type, the resulting muon will produce a long track that emerges from the shower. Finally, if the neutrino is tau type, the resulting tau lepton may or may not produce a track depending on its energy. But when the tau decays into a muon, \(\tau \rightarrow \nu _{\mu } \, \mu \, \nu _{\tau }\) the latter will produce a long track, just like in the case of a muon-neutrino CC interaction, this modifies the number of track events, which has to be accounted for. Since in this work we consider neutrinos coming from underneath the detector, those with energies above 1 PeV will be drastically suppressed, and therefore the lollipop and double-bang events that are associated with very energetic \(\nu _{\tau }\) will also be suppressed [24]. In this work we will not consider these kinds of events, however, we will include the \(\mu \)-track events induced by tau-neutrinos, as explained above.

In conclusion, the ratio of track events to shower events is related in a convoluted way to the neutrino flavor ratios. However, given a set of flavor ratios, like 1:1:1 in the “standard picture”, or any other set, like in the case we are presenting in this work, the ratio of tracks-to-showers R can be calculated. In the next section we discuss in detail the track-to-shower ratio calculation.

4 The track-to-shower ratio

The calculation of the track-to-shower ratio R presented in this section is based on the calculations from Refs. [24, 25]. Here we have included the shadowing effect due to the neutrino absorption by the Earth, \(P_{\mathrm{shad}}(E_{\nu },\theta )\). Since we are considering neutrinos coming from underneath, \(\theta = 180^{o}\), \(P_{\mathrm{shad}} (E_{\nu })= P_{\mathrm{shad}}(E_{\nu },\theta =180^{\text {o}})\). The ratio R is defined as

$$\begin{aligned} R = \frac{\text {Number of}\ \mu \text {-track events}}{\text {Number of shower-like events}}. \end{aligned}$$
(5)

The \(\mu \)-track events have two components: \(N_{\mu \mu }\) from \(\mu \)-tracks induced by muon-neutrinos, and \(N_{\mu \tau }\) from \(\mu \)-tracks induced by tau-neutrinos. The number of shower-like events have three components: \(N_{\mathrm{sh}_{\mathrm{had}}}\) from hadronic showers associated with NC interaction, \(N_{\mathrm{sh}_{\mathrm{em}}}\) from electromagnetic showers produced by CC interaction of \(\nu _{\mathrm{e}}\), and \(N_{\mathrm{sh}_{\tau }}\) from showers produced by CC interaction of \(\nu _{\tau }\) decaying hadronically. So we can express R as

$$\begin{aligned} R = \frac{N_{\mu \mu } + N_{\mu \tau }}{N_{\mathrm{sh}_{\mathrm{had}}} + N_{\mathrm{sh}_{\mathrm{em}}} + N_{\mathrm{sh}_{\tau }}}. \end{aligned}$$
(6)

The \(\mu \)-tracks induced by \(\nu _{\mu }(\bar{\nu }_{\mu })\) result from the CC interaction of the neutrinos with the rock or the ice underground. The muons can travel a long distance before decaying; the effective muon range \(R_{\mu }\) depends on the initial energy \(E_{\mu }\) and the detection energy threshold \(E_{\mu }^{\mathrm{th}}\); in the case of IceCube this threshold is \({\sim }100\) GeV. The \(\mu \)-track induced by \(\nu _{\tau }(\bar{\nu }_{\tau })\) results from the decay of a \(\tau \) produced in a CC interaction into a \(\mu \); this decay has a probability density \(f(E_{\tau }, E_{\mu })\) and a branching ratio \(B = 17.8\,\%\). The expressions for \(N_{\mu \mu }\) and \(N_{\mu \tau }\) are given by

$$\begin{aligned} N_{\mu \mu }= & {} \rho A N_{\mathrm{A}} \int _{E_{\mu }^{\mathrm{th}}}^{\, \infty } \int _{E_{\mu }^{\mathrm{th}}}^{E_{\nu _{\mu }}} R_{\mu }(E_{\mu },E_{\mu }^{\mathrm{th}}) P_{\mathrm{shad}}(E_{\nu _{\mu }}) \nonumber \\&\times \, \frac{\mathrm{d}F_{\nu _{\mu }}}{\mathrm{d}E_{\nu _{\mu }}} \frac{\mathrm{d}\sigma ^{\mathrm{CC}}}{\mathrm{d}E_{\mu }} \mathrm{d}E_{\mu } \mathrm{d}E_{\nu _{\mu }} + [\nu _{\mu } \rightarrow \bar{\nu }_{\mu }], \end{aligned}$$
(7)
$$\begin{aligned} N_{\mu \tau }= & {} B \rho A N_{\mathrm{A}} \int _{E_{\mu }^{\mathrm{th}}}^{\, \infty } \int _{E_{\mu }^{\mathrm{th}}}^{E_{\nu _{\tau }}} \int _{E_{\mu }^{\mathrm{th}}}^{\frac{E_{\tau }}{2}(1 + \beta )}R_{\mu }(E_{\mu },E_{\mu }^{\mathrm{th}}) P_{\mathrm{shad}}(E_{\nu _{\mu }}) \nonumber \\&\times \,\frac{\mathrm{d}F_{\nu _{\tau }}}{\mathrm{d}E_{\nu _{\tau }}} \frac{\mathrm{d}\sigma ^{\mathrm{CC}}}{\mathrm{d}E_{\tau }} f(E_{\tau },E_{\mu }) \mathrm{d}E_{\mu } \mathrm{d}E_{\tau } \mathrm{d}E_{\nu _{\tau }} + [\nu _{\tau } \rightarrow \bar{\nu }_{\tau }], \nonumber \\ \end{aligned}$$
(8)

where the muon range is defined as

$$\begin{aligned} R_{\mu }(E_{\mu },E_{\mu }^{\mathrm{th}}) = (2.6\ \text {Km}) \ln \left[ \frac{2.0 + 4.2 \times 10^{-3} E_{\mu }}{2.0 + 4.2 \times 10^{-3} E_{\mu }^{\mathrm{th}}}\right] , \end{aligned}$$
(9)

and its probability density is given by

$$\begin{aligned} f(E_{\tau }, E_{\mu }) \simeq \frac{5}{3E_{\tau }} - \frac{3E_{\mu }^{2}}{E_{\tau }^{3}} + \frac{4E_{\mu }^{3}}{3E_{\tau }^{4}}. \end{aligned}$$
(10)

The expression for \(f(E_{\tau }, E_{\mu })\) is an approximation valid for \(\beta \rightarrow 1\ \) (\(\gamma \gg 1\)), where \(\beta = \sqrt{1 - 1/\gamma ^{2}\ } = \sqrt{1 - (\frac{m_{\tau }}{E_{\tau }})^{2}\ } \). The number of shower-like events for the different kinds of processes are given by

$$\begin{aligned} N_{\mathrm{sh}_{\mathrm{had}}}= & {} \sum _{l=e,\mu ,\tau } \rho A L N_{\mathrm{A}} \left[ \int _{E_{\mathrm{sh}}^{\mathrm{th}}}^{\, \infty }P_{\mathrm{shad}}(E_{\nu _{l}}) \frac{\mathrm{d}F_{\nu _{l}}}{\mathrm{d}E_{\nu _{l}}} \sigma ^{\mathrm{NC}} \mathrm{d}E_{\nu _{l}}\, \right. \nonumber \\&\left. + \, \int _{E_{\mathrm{sh}}^{\mathrm{th}}}^{\, \infty } P_{\mathrm{shad}}(E_{\bar{\nu }_{l}}) \frac{\mathrm{d}F_{\bar{\nu }_{l}}}{\mathrm{d}E_{\bar{\nu }_{l}}} \sigma ^{\mathrm{NC}} \mathrm{d}E_{\bar{\nu }_{l}} \right] , \end{aligned}$$
(11)
$$\begin{aligned} N_{\mathrm{sh}_{\mathrm{em}}}= & {} \rho A L N_{\mathrm{A}} \left[ \int _{E_{\mathrm{sh}}^{\mathrm{th}}}^{\, \infty }P_{\mathrm{shad}}(E_{\nu _{\mathrm{e}}}) \frac{\mathrm{d}F_{\nu _{\mathrm{e}}}}{\mathrm{d}E_{\nu _{\mathrm{e}}}} \sigma ^{\mathrm{CC}} \mathrm{d}E_{\nu _{\mathrm{e}}} \right. \nonumber \\&\left. + \int _{E_{\mathrm{sh}}^{\mathrm{th}}}^{\, \infty } P_{\mathrm{shad}}(E_{\bar{\nu }_{\mathrm{e}}})\frac{\mathrm{d}F_{\bar{\nu }_{\mathrm{e}}}}{\mathrm{d}E_{\bar{\nu }_{\mathrm{e}}}} \sigma ^{\mathrm{CC}} \mathrm{d}E_{\bar{\nu }_{\mathrm{e}}} \right] , \end{aligned}$$
(12)
$$\begin{aligned} N_{\mathrm{sh}_\tau }= & {} (1-B)\rho A L N_{\mathrm{A}} \left[ \int _{E_{\mathrm{sh}}^{\mathrm{th}}}^{\, \infty }P_{\mathrm{shad}}(E_{\nu _{\tau }})\frac{\mathrm{d}F_{\nu _{\tau }}}{\mathrm{d}E_{\nu _{\tau }}} \sigma ^{\mathrm{CC}} \mathrm{d}E_{\nu _{\tau }} \right. \nonumber \\&\left. + \int _{E_{\mathrm{sh}}^{\mathrm{th}}}^{\, \infty }P_{\mathrm{shad}}(E_{\bar{\nu }_{\tau }}) \frac{\mathrm{d}F_{\bar{\nu }_{\tau }}}{\mathrm{d}E_{\bar{\nu }_{\tau }}} \sigma ^{\mathrm{CC}} \mathrm{d}E_{\bar{\nu }_{\tau }} \right] , \end{aligned}$$
(13)

where \(\rho \) is the density of the detector medium, A is the effective area of the detector, L is the length of the detector, \(N_{\mathrm{A}}\) is Avogadro’s number and \(\mathrm{d}F_{\nu _{l}}/\mathrm{d}E_{\nu _{l}}\) is defined in Eq. (1). The normalization for this equation, \(N_{\nu _{l}}\), is proportional to the neutrino flux, for the different flavors. Since \(\mathrm{d}F_{\nu _{l}}/\mathrm{d}E_{\nu _{l}}\) is evaluated in the quotient of Eq. (5), the proportionality constant cancels out. The total cross sections for CC (\(\sigma ^{\mathrm{CC}}\)) and NC (\(\sigma ^{\mathrm{NC}}\)) shown in Figs. 2 and 3 are used to evaluate \(N_{\mathrm{sh}_{\mathrm{had}}}\) and \(N_{\mathrm{sh}_{\mathrm{em}}}\).

In order to evaluate \(\mathrm{d}\sigma ^{\mathrm{CC}}/\mathrm{d}E_{l}\) we performed an empirical fit to the differential cross section presented in Fig. 4 of Ref. [26], which is given as

$$\begin{aligned} \frac{1}{\sigma ^{\mathrm{CC}}}\frac{\mathrm{d}\sigma ^{\mathrm{CC}}}{\mathrm{d}y} = N_0 \left\{ \begin{array}{ccc} b_1\ y^{-a_1} &{} \quad \text {if} &{} \, y < y_{\mathrm{cut}} \\ b_2\ y^{-a_2} &{} \quad \text {if} &{} \, y \ge y_{\mathrm{cut}}, \end{array} \right. \end{aligned}$$
(14)

where \(N_0\) is the normalization,

$$\begin{aligned} y = \frac{E_{\nu _{l}}-E_{l}}{E_{\nu _{l}}} \end{aligned}$$
(15)

and

$$\begin{aligned} y_{\mathrm{cut}} = \exp \left( \frac{\log b_1 - \log b_2}{a_1 - a_2} \right) . \end{aligned}$$
(16)

The parameters in Eq. (14) are as follows:

$$\begin{aligned} a_1 = -0.0163\ x^2 + 0.3877\ x - 1.1905 , \end{aligned}$$
(17)
$$\begin{aligned} a_2 = -0.0222\ x^2 + 0.4222\ x - 0.9833, \end{aligned}$$
(18)
$$\begin{aligned} b_1 = 0.0168\ x^2 - 0.3683\ x + 2.0038 , \end{aligned}$$
(19)
$$\begin{aligned} b_2 = 0.0139\ x^2 - 0.2739\ x + 1.4233, \end{aligned}$$
(20)

and

$$\begin{aligned} x = \log _{10}(E_{\nu _l}/\text {GeV}). \end{aligned}$$
(21)

The normalization is set such that

$$\begin{aligned} \int _{0}^{1} \left( \frac{1}{\sigma ^{\mathrm{CC}}}\frac{\mathrm{d}\sigma ^{\mathrm{CC}}}{\mathrm{d}y} \right) \mathrm{d}y = 1. \end{aligned}$$
(22)

We compare our fit with the data presented in Ref. [26] which are shown in Fig. 9.

Fig. 9
figure 9

Comparison between our empirical fit, based on Eq. (14), and the Monte Carlo results presented in Ref. [26]

After performing the necessary change of variable from \(E_{l}\) to y, one can evaluate the integrals numerically. The neutrino-flavor ratios, R, obtained after propagating the neutrinos from the source, all the way up to the detector, for different combinations of the parameters involved, and for different energies, are used as input for the calculation.

5 Results

As can be seen from Figs. 7 and 8, the normalized flux of neutrinos and antineutrinos in the detector depends on energy. For the calculation of the ratio R we need the neutrino flux \(\mathrm{d}F_{\nu }/\mathrm{d}E_{\nu }\). We neither know the exact form of it nor the spectral index \(\alpha \). But by considering the neutrino flux ratio 1:2:0 at the source, then propagating these neutrinos through the presupernova matter we calculated the normalized flux on the surface of the star in Paper I. Here, we take this normalized flux and propagate the neutrinos through the distance between the source and the Earth, where the Earth’s matter effect is included and we calculate the normalized flux of these neutrinos and antineutrinos in the detector. For the calculation of the track-to-shower ratio R of Eq. (5) we use these fluxes. But instead of calculating the flux for each energy, we divide the whole energy range to energy bins as \(\Delta E_{\nu }=0.3 E_{\nu }\) i.e. 30 % energy resolution. Within each bin the flux is constant, which we take by averaging the flux in the same energy bin. Here we have shown these average neutrino and antineutrino fluxes in Figs. 10 and 11. From these figures, it is observed that the average neutrino and antineutrino fluxes are different for \(E_{\nu } < 2\times 10^{13}\) eV. Finally, we consider two values of the CP violating phase \(\delta _{\mathrm{CP}}=0\) and \(\pi \) to see the change in R. The upper limit of the \(E_{\nu }\) is taken to be 10 PeV to evaluate the neutrino energy integrals. The following values are considered for the IceCube detector in our calculation: density of ice \(\rho =0.051\, \mathrm{g}\,\mathrm{cm}^{-3}\), detector area \(A=10^{10}\,\mathrm{cm}^2\), and the detector length \(L=10^5\, cm\). The results are presented in Figs. 12, 13, 14, 15, 16, 17, 18, 19, 20.

Fig. 10
figure 10

Neutrino flux \(\Phi _{\nu } (E_{\nu })\) as a function of neutrino energy \(E_{\nu }\) in the detector

Fig. 11
figure 11

Antineutrino flux \(\Phi (E_{\bar{\nu }})\) as a function of the neutrino energy \(E_{\nu }\) in the detector

Fig. 12
figure 12

The track-to-shower ratio R as a function of the spectral index \(\alpha \) for \(\delta _{\mathrm{CP}}=0\) in model A

Fig. 13
figure 13

The track-to-shower ratio R as a function of the spectral index \(\alpha \) for \(\delta _{\mathrm{CP}}=\pi \) in model A

Fig. 14
figure 14

Same as Fig. 12 for model C

Fig. 15
figure 15

Same as Fig. 13 for model C

Fig. 16
figure 16

The track-to-shower ratio R as a function of \(\mathrm{sin}^2\theta _{13}\) in model A for the parameter Set I with \(\Delta m^2_{32}=3.2\times 10^{-3}\, \mathrm{eV}^2\). The black curve is for \(\delta _{\mathrm{CP}}=0\) and the red one is for \(\delta _{\mathrm{CP}}=\pi \)

Fig. 17
figure 17

The track-to-shower ratio R as a function of \(\mathrm{sin}^2\theta _{13}\) in model A for the parameter Set II with \(\Delta m^2_{32}=3.2\times 10^{-3}\, \mathrm{eV}^2\). The black curve is for \(\delta _{\mathrm{CP}}=0\) and the red one is for \(\delta _{\mathrm{CP}}=\pi \)

Fig. 18
figure 18

The track-to-shower ratio R as a function of \(\mathrm{sin}^2\theta _{13}\) in model C for the parameter Set I with \(\Delta m^2_{32}=3.2\times 10^{-3}\, \mathrm{eV}^2\). The black curve is for \(\delta _{\mathrm{CP}}=0\) and the red one is for \(\delta _{\mathrm{CP}}=\pi \)

Fig. 19
figure 19

The track-to-shower ratio R as a function of \(\mathrm{sin}^2\theta _{13}\) in model C for the parameter Set II with \(\Delta m^2_{32}=3.2\times 10^{-3}\, \mathrm{eV}^2\). The black curve is for \(\delta _{\mathrm{CP}}=0\) and the red one is for \(\delta _{\mathrm{CP}}=\pi \)

Fig. 20
figure 20

The track-to-shower ratio \(R=R_0\) (as described in the text) as a function of \(\mathrm{sin}^2\theta _{13}\) with no matter effect. Here also the black curve is for \(\delta _{\mathrm{CP}}=0\) and the red one is for \(\delta _{\mathrm{CP}}=\pi \). We take \(\Delta m^2_{32}=3.2\times 10^{-3}\, \mathrm{eV}^2\)

In Figs. 12, 13, 14, 15, we show R as a function of the spectral index \(\alpha \) for models A and C. In these figures we also include no matter effect which implies the following. At the source we consider the flux ratio 1:2:0 and these neutrinos propagate up to the detector in vacuum. For convenience we define the track-to-shower ratio for the case of no matter effect as \(R_0\). For \(\delta _{\mathrm{CP}}=0\) we found that \(R_0 \le R\) for any given value of \(\alpha \). Also the gap between R and \(R_0\) is small. On the other hand, for \(\delta _{\mathrm{CP}}=\pi \), we always found \(R_0> R\) and the gap is bigger. The value of R is minimum around \(\alpha =2.6\), which is independent of whether we consider the matter effect or not. We also show results for three different \(\Delta m^2_{32}\) values, which shows that there is very little variation in R. This minimum value of R is also independent of \(\Delta m^2_{32}\). The order in which R is arranged for different \(\Delta m^2_{32}\) values reverses by going from \(\delta _{\mathrm{CP}}=0\) to \(\pi \), which can be seen by comparing Fig. 12 with Fig. 13 in model A and similarly Fig. 14 with Fig. 15 in model C. Here we have omitted the results from model B because the results are very similar to model A.

In Figs. 16, 17, 18, 19 we show the variation of R as a function of \(\mathrm{sin}^2{\theta _{13}}\) in models A and C for three different values of the spectral index \(\alpha \). In these plots we observe that the ratio R is almost constant for a given \(\alpha \) and for both \(\delta _{\mathrm{CP}}=0\) and \(\pi \), as we vary \(\mathrm{sin}^2{\theta _{13}}\) for all the models. Also the value of R is higher for smaller \(\alpha \).

We also show R as a function of \(\mathrm{sin}^2{\theta _{13}}\) for the case of no matter effect in Fig. 20. This shows a clear difference between \(\delta _{\mathrm{CP}}=0\) (lower curve) and \(\delta _{\mathrm{CP}}=\pi \) (upper curve) for each \(\alpha \). These two curves diverge from the point \(\theta _{13}=0\) as can be seen from the plots in Fig. 20. Comparison of the matter effect (from Figs. 16, 17, 18, 19) with the no matter effect Fig. 20 shows that the \(\delta _{\mathrm{CP}}=\pi \) contribution is very much suppressed in matter compared to the \(\delta _{\mathrm{CP}}=0\) contribution and it makes them almost the same. In the mixing matrix, the terms containing CP phases will change sign going from \(\delta _{\mathrm{CP}}=0\) to \(\delta _{\mathrm{CP}}=\pi \) and in the vacuum case this will split the ratio R by lifting up the \(\delta _{\mathrm{CP}}=\pi \) contribution as shown in Fig. 20. This enhancement is being compensated by the matter effect, so that we do not have two pronouncedly different curves for \(\delta _{\mathrm{CP}}=0\) and \(\delta _{\mathrm{CP}}=\pi \) with matter contribution as shown in Figs. 16, 17, 18, 19. This shows that the track-to-shower ratio R for high energy neutrinos in IceCube is probably almost blind to the CP violating phases when the Earth matter effect is taken into account.

6 Summary

A very small fraction (\({\le }10^{-3}\)) of the core collapse supernovae can produce GRBs by launching a successful jet. Although the majority of these core collapses cannot produce GRBs, very high energy neutrinos can easily be produced in their choked jets. These neutrinos propagating through the over-burden matter can undergo oscillation and the flux ratio on the surface of the star can be different from the point where these neutrinos were produced. Along the Mpc long baseline, from the surface of the star to the surface of the Earth, these neutrinos will have vacuum oscillation. Before reaching the detector from the opposite side of the Earth, these neutrinos will cross the diameter of the Earth and again can undergo matter oscillation. By considering a realistic density profile of the Earth we have extended our previous work to study numerically the three neutrino oscillation and evaluate the change in the flux ratio in the detector. Depending on the energy of these neutrinos, there can also be a shadowing effect and neutrinos above a few PeV can be completely absorbed. In this work we have done a thorough analysis of the high energy neutrino propagation in the Earth before reaching the detector by taking into account the shadowing effect. The track-to-shower ratio R is calculated for these high energy neutrinos. In the calculation of R we have included the shadowing effect and the contribution of the muon track produced by the high energy \(\tau \) lepton decay around the IceCube detector. These \(\tau \) leptons are produced due to the CC interaction of \(\nu _{\tau }\) with the surround rock and ice of the detector. We have studied the variation of R when the spectral index \(\alpha \) and the mixing angle \(\mathrm{sin}^2\theta _{13}\) vary. We found that R has a minimum around \(\alpha =2.6\) and is independent of whether we consider the matter effect or not. This minimum value of R is also independent of the \(\Delta m^2_{32}\) value. We observed that the ratio R is different for \(\delta _{\mathrm{CP}}=0\) and \(\pi \) when no matter effect is considered. But when the Earth matter contribution is taken into account, the R value is almost blind to these different CP phases.