23 #ifndef _G_TH1_CYLICDRICAL_FLUX_H_ 24 #define _G_TH1_CYLICDRICAL_FLUX_H_ 29 #include <TLorentzVector.h> 64 bool End (
void) {
return false; }
65 long int Index (
void) {
return -1; }
97 #endif // _G_TH1_CYLICDRICAL_FLUX_H_ void ResetSelection(void)
THE MAIN GENIE PROJECT NAMESPACE
long int Index(void)
returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current ent...
PDGCodeList * fPdgCList
list of neutrino pdg-codes
bool GenerateNext(void)
generate the next flux neutrino (return false in err)
void SetRtDependence(string rdep)
TLorentzVector fgP4
running generated nu 4-momentum
void Clear(Option_t *opt)
reset state variables based on opt
TVector3 * fBeamSpot
beam spot position
TLorentzVector fgX4
running generated nu 4-position
vector< TH1D * > fSpectrum
flux = f(Ev), 1/neutrino species
TF1 * fRtDep
transverse radius dependence
double GenerateRt(void) const
TVector3 * fDirVec
neutrino direction
int fgPdgC
running generated nu pdg-code
A generic GENIE flux driver. Generates a 'cylindrical' neutrino beam along the input direction...
double fRt
transverse size of neutrino beam
const TLorentzVector & Momentum(void)
returns the flux neutrino 4-momentum
bool End(void)
true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples)
double MaxEnergy(void)
declare the max flux neutrino energy that can be generated (for init. purposes)
int SelectNeutrino(double Ev)
double Weight(void)
returns the flux neutrino weight (if any)
void SetTransverseRadius(double Rt)
void SetNuDirection(const TVector3 &direction)
double GeneratePhi(void) const
const TLorentzVector & Position(void)
returns the flux neutrino 4-position (note: expect SI rather than physical units) ...
TH1D * fTotSpectrum
combined flux = f(Ev)
void GenerateWeighted(bool gen_weighted)
set whether to generate weighted or unweighted neutrinos
void SetBeamSpot(const TVector3 &spot)
void AddEnergySpectrum(int nu_pdgc, TH1D *spectrum)
const PDGCodeList & FluxParticles(void)
declare list of flux neutrinos that can be generated (for init. purposes)
double fMaxEv
maximum energy
int PdgCode(void)
returns the flux neutrino pdg code
GENIE Interface for user-defined flux classes.