#include "neutrinoflux/NeutrinoFlux.h"Defines | |
| #define | LOG_IMPL(LEVEL, format,) printf("%s:%d\t", __FILE__, __LINE__), printf(format, ##__VA_ARGS__ ), printf("\n") |
| #define | log_trace(format,) LOG_IMPL(TRACE, format, ##__VA_ARGS__) |
| #define | log_debug(format,) LOG_IMPL(DEBUG, format, ##__VA_ARGS__) |
| #define | log_info(format,) LOG_IMPL(INFO, format, ##__VA_ARGS__) |
| #define | log_warn(format,) LOG_IMPL(WARN, format, ##__VA_ARGS__) |
| #define | log_error(format,) LOG_IMPL(ERROR, format, ##__VA_ARGS__) |
| #define | log_fatal(format,) |
Functions | |
| string | getDataDir () |
| double | fluxFunction_prompt (const double *function, double lE, double costheta) |
| double | fluxFunction (const double *function, double lE, double costheta) |
|
|
|
|
|
|
|
|
Value: LOG_IMPL(FATAL, format, ##__VA_ARGS__), \ exit(-1) |
|
|
Authors Teresa Montaruli, Alessio Tamburro, Juan Carlos Diaz-Velez, Christine Lewis July 2005. TM: updated May 2007 CL: updated Nov. 2007 Given: nue = 66 anue = 67 numu = 68 anumu = 69 neutrino energy in GeV cos(zenith) between -1 and 1 It returns the atmospheric neutrino flux (conventional and/or prompt) and some astrophysical neutrino fluxes The flux is dN/dEdcos(theta) in GeV^-1 cm^-2 s^-1 sr^-1 for diffuse fluxes The flux is dN/dE in GeV^-1 cm^-2 s^-1 for point-source fluxes |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
1.3.9.1