GENIEGenerator
|
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.
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by genie::flux::GFluxBlender::Clear(), and genie::geometry::ROOTGeomAnalyzer::ComputeMaxPathLengths().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by genie::flux::GFluxBlender::End(), and main().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by genie::flux::GFluxBlender::FluxParticles().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by createFluxNtuple(), genie::flux::GFluxBlender::GenerateNext(), GenerateUpNu(), and genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsFluxMethod().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by genie::flux::GFluxBlender::Index().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by genie::flux::GFluxBlender::MaxEnergy(), and genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsFluxMethod().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by createFluxNtuple(), genie::flux::GFluxBlender::GenerateNext(), GenerateUpNu(), main(), genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsFluxMethod(), and genie::flux::GFluxBlender::Momentum().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by createFluxNtuple(), genie::flux::GFluxBlender::GenerateNext(), GenerateUpNu(), and main().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by createFluxNtuple(), genie::geometry::ROOTGeomAnalyzer::MaxPathLengthsFluxMethod(), and genie::flux::GFluxBlender::Position().
|
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, genie::flux::GMonoEnergeticFlux, and genie::flux::GPowerLawFlux.
Referenced by createFluxNtuple(), main(), and genie::flux::GFluxBlender::Weight().