#include <MCFlux.h>
Public Member Functions | |
MCFlux () | |
void | Reset () |
double | Flux (int pdgcode, int which=0) const |
void | SetFluxPos (double nue, double nuebar, double numu, double numubar, double nutau, double nutaubar) |
void | SetFluxNeg (double nue, double nuebar, double numu, double numubar, double nutau, double nutaubar) |
void | SetFluxGen (double nue, double nuebar, double numu, double numubar, double nutau, double nutaubar) |
void | ReDecay (double &newE, double &newW, double x, double y, double z) |
Public Attributes | |
int | frun |
int | fevtno |
double | fndxdz |
double | fndydz |
double | fnpz |
double | fnenergy |
double | fndxdznea |
double | fndydznea |
double | fnenergyn |
double | fnwtnear |
double | fndxdzfar |
double | fndydzfar |
double | fnenergyf |
double | fnwtfar |
int | fnorig |
int | fndecay |
int | fntype |
double | fvx |
double | fvy |
double | fvz |
double | fpdpx |
double | fpdpy |
double | fpdpz |
double | fppdxdz |
double | fppdydz |
double | fpppz |
double | fppenergy |
int | fppmedium |
int | fptype |
double | fppvx |
double | fppvy |
double | fppvz |
double | fmuparpx |
double | fmuparpy |
double | fmuparpz |
double | fmupare |
double | fnecm |
double | fnimpwt |
double | fxpoint |
double | fypoint |
double | fzpoint |
double | ftvx |
double | ftvy |
double | ftvz |
double | ftpx |
double | ftpy |
double | ftpz |
int | ftptype |
int | ftgen |
int | ftgptype |
double | ftgppx |
double | ftgppy |
double | ftgppz |
double | ftprivx |
double | ftprivy |
double | ftprivz |
double | fbeamx |
double | fbeamy |
double | fbeamz |
double | fbeampx |
double | fbeampy |
double | fbeampz |
simb::flux_code_ | fFluxType |
double | fgenx |
origin of ray from flux generator More... | |
double | fgeny |
double | fgenz |
double | fdk2gen |
distance from decay to ray origin More... | |
double | fgen2vtx |
distance from ray origin to event vtx More... | |
Private Attributes | |
float | fFluxPos [6] |
e,ebar,mu,mubar,tau,taubar flux, +horn focus More... | |
float | fFluxNeg [6] |
Fluxes as aboce, for negative horn focus. More... | |
float | fFluxGen [6] |
Fluxes as above, assumed by generator. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &output, const simb::MCFlux &mcflux) |
simb::MCFlux::MCFlux | ( | ) |
Definition at line 18 of file MCFlux.cxx.
double simb::MCFlux::Flux | ( | int | pdgcode, |
int | which = 0 |
||
) | const |
Flux of neutrinos at the same energy
pdgcode | : PDG code of neutrino flavor |
which | : Which flux (generated, plus focus, minus focus) |
Definition at line 176 of file MCFlux.cxx.
void simb::MCFlux::ReDecay | ( | double & | newE, |
double & | newW, | ||
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 224 of file MCFlux.cxx.
void simb::MCFlux::Reset | ( | void | ) |
Definition at line 94 of file MCFlux.cxx.
void simb::MCFlux::SetFluxGen | ( | double | nue, |
double | nuebar, | ||
double | numu, | ||
double | numubar, | ||
double | nutau, | ||
double | nutaubar | ||
) |
Definition at line 214 of file MCFlux.cxx.
void simb::MCFlux::SetFluxNeg | ( | double | nue, |
double | nuebar, | ||
double | numu, | ||
double | numubar, | ||
double | nutau, | ||
double | nutaubar | ||
) |
Definition at line 204 of file MCFlux.cxx.
void simb::MCFlux::SetFluxPos | ( | double | nue, |
double | nuebar, | ||
double | numu, | ||
double | numubar, | ||
double | nutau, | ||
double | nutaubar | ||
) |
Definition at line 193 of file MCFlux.cxx.
|
friend |
Definition at line 384 of file MCFlux.cxx.
double simb::MCFlux::fdk2gen |
|
private |
|
private |
|
private |
simb::flux_code_ simb::MCFlux::fFluxType |
double simb::MCFlux::fgen2vtx |
double simb::MCFlux::fgenx |