CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
71 stars 69 forks source link

How to calculate secondary neutrinos? #41

Closed btheodorezhang closed 9 years ago

btheodorezhang commented 9 years ago

I tried to write a source code NeutrinoOutput1D.cpp similar as PhotonOutput1D.cpp (also NeutrinoOutput1D.h) to calculate secondary neutrinos. I changed "if ((pid != 22) and (abs(pid) != 11))" to "if ((abs(pid) != 12) and (abs(pid) != 14))", then recompile the code, but it seems doesn't work.

DavidWalz commented 9 years ago

The standard output modules are suitable for neutrinos as well. I added an example for a simulation with secondary neutrinos here.