LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#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.
References fFluxGen, fFluxNeg, and fFluxPos.
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.
References fFluxGen, fFluxNeg, fFluxPos, simb::kGenerator, simb::kHistMinusFocus, and simb::kHistPlusFocus.
void simb::MCFlux::ReDecay | ( | double & | newE, |
double & | newW, | ||
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 224 of file MCFlux.cxx.
References util::abs(), fmupare, fmuparpx, fmuparpy, fmuparpz, fnecm, fntype, fpdpx, fpdpy, fpdpz, fppdxdz, fppdydz, fppenergy, fpppz, fptype, fvx, fvy, and fvz.
void simb::MCFlux::Reset | ( | ) |
Definition at line 94 of file MCFlux.cxx.
References fbeampx, fbeampy, fbeampz, fbeamx, fbeamy, fbeamz, fdk2gen, fevtno, fgen2vtx, fgenx, fgeny, fgenz, fmupare, fmuparpx, fmuparpy, fmuparpz, fndecay, fndxdz, fndxdzfar, fndxdznea, fndydz, fndydzfar, fndydznea, fnecm, fnenergy, fnenergyf, fnenergyn, fnimpwt, fnorig, fnpz, fntype, fnwtfar, fnwtnear, fpdpx, fpdpy, fpdpz, fppdxdz, fppdydz, fppenergy, fppmedium, fpppz, fppvx, fppvy, fppvz, fptype, frun, ftgen, ftgppx, ftgppy, ftgppz, ftgptype, ftprivx, ftprivy, ftprivz, ftptype, ftpx, ftpy, ftpz, ftvx, ftvy, ftvz, fvx, fvy, fvz, fxpoint, fypoint, and fzpoint.
Referenced by evgb::FillMCFlux().
void simb::MCFlux::SetFluxGen | ( | double | nue, |
double | nuebar, | ||
double | numu, | ||
double | numubar, | ||
double | nutau, | ||
double | nutaubar | ||
) |
Definition at line 214 of file MCFlux.cxx.
References fFluxGen.
Referenced by evgb::GENIEHelper::Sample().
void simb::MCFlux::SetFluxNeg | ( | double | nue, |
double | nuebar, | ||
double | numu, | ||
double | numubar, | ||
double | nutau, | ||
double | nutaubar | ||
) |
Definition at line 204 of file MCFlux.cxx.
References fFluxNeg.
void simb::MCFlux::SetFluxPos | ( | double | nue, |
double | nuebar, | ||
double | numu, | ||
double | numubar, | ||
double | nutau, | ||
double | nutaubar | ||
) |
Definition at line 193 of file MCFlux.cxx.
References fFluxPos.
|
friend |
Definition at line 384 of file MCFlux.cxx.
double simb::MCFlux::fbeampx |
Definition at line 94 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fbeampy |
Definition at line 95 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fbeampz |
Definition at line 96 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fbeamx |
Definition at line 91 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fbeamy |
Definition at line 92 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fbeamz |
Definition at line 93 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fdk2gen |
distance from decay to ray origin
Definition at line 103 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), Reset(), and evgb::GENIEHelper::Sample().
int simb::MCFlux::fevtno |
Definition at line 36 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
|
private |
Fluxes as above, assumed by generator.
Definition at line 110 of file MCFlux.h.
Referenced by Flux(), MCFlux(), and SetFluxGen().
|
private |
Fluxes as aboce, for negative horn focus.
Definition at line 109 of file MCFlux.h.
Referenced by Flux(), MCFlux(), and SetFluxNeg().
|
private |
e,ebar,mu,mubar,tau,taubar flux, +horn focus
Definition at line 108 of file MCFlux.h.
Referenced by Flux(), MCFlux(), and SetFluxPos().
simb::flux_code_ simb::MCFlux::fFluxType |
Definition at line 98 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and evgb::GENIEHelper::Sample().
double simb::MCFlux::fgen2vtx |
distance from ray origin to event vtx
Definition at line 104 of file MCFlux.h.
Referenced by Reset(), and evgb::GENIEHelper::Sample().
double simb::MCFlux::fgenx |
origin of ray from flux generator
Definition at line 100 of file MCFlux.h.
Referenced by Reset(), and evgb::GENIEHelper::Sample().
double simb::MCFlux::fgeny |
Definition at line 101 of file MCFlux.h.
Referenced by Reset(), and evgb::GENIEHelper::Sample().
double simb::MCFlux::fgenz |
Definition at line 102 of file MCFlux.h.
Referenced by Reset(), and evgb::GENIEHelper::Sample().
double simb::MCFlux::fmupare |
Definition at line 70 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fmuparpx |
Definition at line 67 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fmuparpy |
Definition at line 68 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fmuparpz |
Definition at line 69 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
int simb::MCFlux::fndecay |
Definition at line 50 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
double simb::MCFlux::fndxdz |
Definition at line 37 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fndxdzfar |
Definition at line 45 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fndxdznea |
Definition at line 41 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fndydz |
Definition at line 38 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fndydzfar |
Definition at line 46 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fndydznea |
Definition at line 42 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fnecm |
Definition at line 71 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fnenergy |
Definition at line 40 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fnenergyf |
Definition at line 47 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
double simb::MCFlux::fnenergyn |
Definition at line 43 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), fluxr::PPFXFluxReader::readNext(), and Reset().
double simb::MCFlux::fnimpwt |
Definition at line 72 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), fluxr::PPFXFluxReader::readNext(), and Reset().
int simb::MCFlux::fnorig |
Definition at line 49 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fnpz |
Definition at line 39 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
int simb::MCFlux::fntype |
Definition at line 51 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), fluxr::PPFXFluxReader::readNext(), ReDecay(), and Reset().
double simb::MCFlux::fnwtfar |
Definition at line 48 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
double simb::MCFlux::fnwtnear |
Definition at line 44 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), fluxr::PPFXFluxReader::readNext(), and Reset().
double simb::MCFlux::fpdpx |
Definition at line 55 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fpdpy |
Definition at line 56 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fpdpz |
Definition at line 57 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fppdxdz |
Definition at line 58 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fppdydz |
Definition at line 59 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fppenergy |
Definition at line 61 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), ReDecay(), and Reset().
int simb::MCFlux::fppmedium |
Definition at line 62 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
double simb::MCFlux::fpppz |
Definition at line 60 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fppvx |
Definition at line 64 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fppvy |
Definition at line 65 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fppvz |
Definition at line 66 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
int simb::MCFlux::fptype |
Definition at line 63 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), fluxr::PPFXFluxReader::readNext(), ReDecay(), and Reset().
int simb::MCFlux::frun |
Definition at line 35 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
int simb::MCFlux::ftgen |
Definition at line 83 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftgppx |
Definition at line 85 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftgppy |
Definition at line 86 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftgppz |
Definition at line 87 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
int simb::MCFlux::ftgptype |
Definition at line 84 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftprivx |
Definition at line 88 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftprivy |
Definition at line 89 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftprivz |
Definition at line 90 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
int simb::MCFlux::ftptype |
Definition at line 82 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), fluxr::PPFXFluxReader::readNext(), and Reset().
double simb::MCFlux::ftpx |
Definition at line 79 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
double simb::MCFlux::ftpy |
Definition at line 80 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
double simb::MCFlux::ftpz |
Definition at line 81 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), and Reset().
double simb::MCFlux::ftvx |
Definition at line 76 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftvy |
Definition at line 77 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::ftvz |
Definition at line 78 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fvx |
Definition at line 52 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fvy |
Definition at line 53 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fvz |
Definition at line 54 of file MCFlux.h.
Referenced by fluxr::GSimpleInterface::FillMCFlux(), fluxr::DK2NuInterface::FillMCFlux(), evgb::FillMCFlux(), simb::operator<<(), ReDecay(), and Reset().
double simb::MCFlux::fxpoint |
Definition at line 73 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fypoint |
Definition at line 74 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().
double simb::MCFlux::fzpoint |
Definition at line 75 of file MCFlux.h.
Referenced by evgb::FillMCFlux(), and Reset().