118 double numu,
double numubar,
119 double nutau,
double nutaubar);
121 double numu,
double numubar,
122 double nutau,
double nutaubar);
124 double numu,
double numubar,
125 double nutau,
double nutaubar);
137 #endif //SIMB_MCFLUX_H
Unified ntuple flux format (replaces 2)
double Flux(int pdgcode, int which=0) const
Full flux simulation ntuple.
double fgen2vtx
distance from ray origin to event vtx
Flux for negative horn focus.
double fgenx
origin of ray from flux generator
simb::flux_code_ fFluxType
float fFluxNeg[6]
Fluxes as aboce, for negative horn focus.
A bogus flux assumed by the generator.
double fdk2gen
distance from decay to ray origin
Flux for positive horn focus.
void SetFluxNeg(double nue, double nuebar, double numu, double numubar, double nutau, double nutaubar)
Base utilities and modules for event generation and detector simulation.
void SetFluxGen(double nue, double nuebar, double numu, double numubar, double nutau, double nutaubar)
float fFluxGen[6]
Fluxes as above, assumed by generator.
void SetFluxPos(double nue, double nuebar, double numu, double numubar, double nutau, double nutaubar)
flux_code_
Which flux was used to generate this event?
friend std::ostream & operator<<(std::ostream &output, const simb::MCFlux &mcflux)
float fFluxPos[6]
e,ebar,mu,mubar,tau,taubar flux, +horn focus
A simplified flux ntuple for quick running.
void ReDecay(double &newE, double &newW, double x, double y, double z)