GENIE Interface for user-defined flux classes. More...
#include <GFluxI.h>
Public Member Functions | |
virtual | ~GFluxI () |
virtual const PDGCodeList & | FluxParticles (void)=0 |
declare list of flux neutrinos that can be generated (for init. purposes) More... | |
virtual double | MaxEnergy (void)=0 |
declare the max flux neutrino energy that can be generated (for init. purposes) More... | |
virtual bool | GenerateNext (void)=0 |
generate the next flux neutrino (return false in err) More... | |
virtual int | PdgCode (void)=0 |
returns the flux neutrino pdg code More... | |
virtual double | Weight (void)=0 |
returns the flux neutrino weight (if any) More... | |
virtual const TLorentzVector & | Momentum (void)=0 |
returns the flux neutrino 4-momentum More... | |
virtual const TLorentzVector & | Position (void)=0 |
returns the flux neutrino 4-position (note: expect SI rather than physical units) More... | |
virtual bool | End (void)=0 |
true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples) More... | |
virtual long int | Index (void)=0 |
returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number) More... | |
virtual void | Clear (Option_t *opt)=0 |
reset state variables based on opt More... | |
virtual void | GenerateWeighted (bool gen_weighted)=0 |
set whether to generate weighted or unweighted neutrinos More... | |
Protected Member Functions | |
GFluxI () | |
GENIE Interface for user-defined flux classes.
May 25, 2005
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
|
virtual |
Definition at line 21 of file GFluxI.cxx.
|
protected |
Definition at line 16 of file GFluxI.cxx.
|
pure virtual |
reset state variables based on opt
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples)
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
declare list of flux neutrinos that can be generated (for init. purposes)
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
generate the next flux neutrino (return false in err)
Implemented in genie::flux::GPointSourceAstroFlux, genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
set whether to generate weighted or unweighted neutrinos
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number)
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
declare the max flux neutrino energy that can be generated (for init. purposes)
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
returns the flux neutrino 4-momentum
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
returns the flux neutrino pdg code
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
returns the flux neutrino 4-position (note: expect SI rather than physical units)
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.
|
pure virtual |
returns the flux neutrino weight (if any)
Implemented in genie::flux::GNuMIFlux, genie::flux::GSimpleNtpFlux, genie::flux::GAstroFlux, genie::flux::GAtmoFlux, genie::flux::GFluxBlender, genie::flux::GJPARCNuFlux, genie::flux::GCylindTH1Flux, and genie::flux::GMonoEnergeticFlux.