GENIEGenerator
|
#include <GAstroFlux.h>
Public Member Functions | |
NuGenerator () | |
~NuGenerator () | |
bool | SelectNuPdg (bool weighted, const map< int, double > &nupdgpdf, int &nupdg, double &wght) |
bool | SelectEnergy (bool weighted, TH1D &log10epdf, double log10emin, double log10emax, double &log10e, double &wght) |
bool | SelectOrigin (bool weighted, TH2D &opdf, double &phi, double &costheta, double &wght) |
Definition at line 199 of file GAstroFlux.h.
|
inline |
Definition at line 201 of file GAstroFlux.h.
|
inline |
Definition at line 202 of file GAstroFlux.h.
bool GAstroFlux::NuGenerator::SelectEnergy | ( | bool | weighted, |
TH1D & | log10epdf, | ||
double | log10emin, | ||
double | log10emax, | ||
double & | log10e, | ||
double & | wght | ||
) |
Definition at line 411 of file GAstroFlux.cxx.
References genie::RandomGen::Instance(), and genie::RandomGen::RndFlux().
bool GAstroFlux::NuGenerator::SelectNuPdg | ( | bool | weighted, |
const map< int, double > & | nupdgpdf, | ||
int & | nupdg, | ||
double & | wght | ||
) |
Definition at line 363 of file GAstroFlux.cxx.
References genie::RandomGen::Instance(), and genie::RandomGen::RndFlux().
bool GAstroFlux::NuGenerator::SelectOrigin | ( | bool | weighted, |
TH2D & | opdf, | ||
double & | phi, | ||
double & | costheta, | ||
double & | wght | ||
) |
Definition at line 446 of file GAstroFlux.cxx.
References genie::RandomGen::Instance(), genie::constants::kPi, and genie::RandomGen::RndFlux().