GENIEGenerator
Loading...
Searching...
No Matches
genie::flux::GDiffuseAstroFlux Class Reference

#include <GAstroFlux.h>

Inheritance diagram for genie::flux::GDiffuseAstroFlux:
[legend]
Collaboration diagram for genie::flux::GDiffuseAstroFlux:
[legend]

Public Member Functions

 GDiffuseAstroFlux ()
 ~GDiffuseAstroFlux ()
Public Member Functions inherited from genie::flux::GAstroFlux
virtual ~GAstroFlux ()
virtual const PDGCodeListFluxParticles (void)
 declare list of flux neutrinos that can be generated (for init. purposes)
virtual double MaxEnergy (void)
 declare the max flux neutrino energy that can be generated (for init. purposes)
virtual bool GenerateNext (void)
 generate the next flux neutrino (return false in err)
virtual int PdgCode (void)
 returns the flux neutrino pdg code
virtual double Weight (void)
 returns the flux neutrino weight (if any)
virtual const TLorentzVector & Momentum (void)
 returns the flux neutrino 4-momentum
virtual const TLorentzVector & Position (void)
 returns the flux neutrino 4-position (note: expect SI rather than physical units)
virtual bool End (void)
 true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples)
virtual long int Index (void)
 returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number)
virtual void Clear (Option_t *opt)
 reset state variables based on opt
virtual void GenerateWeighted (bool gen_weighted)
 set whether to generate weighted or unweighted neutrinos
void ForceMinEnergy (double emin)
void ForceMaxEnergy (double emax)
void SetDetectorPosition (double latitude, double longitude, double depth, double size)
void SetRelNuPopulations (double nnue=1, double nnumu=2, double nnutau=0, double nnuebar=1, double nnumubar=2, double nnutaubar=0)
void SetEnergyPowLawIdx (double n)
void SetUserCoordSystem (TRotation &rotation)
 rotation Topocentric Horizontal -> User-defined Topocentric Coord System
Public Member Functions inherited from genie::GFluxI
virtual ~GFluxI ()

Additional Inherited Members

Protected Member Functions inherited from genie::flux::GAstroFlux
 GAstroFlux ()
void Initialize (void)
void CleanUp (void)
void ResetSelection (void)
Protected Member Functions inherited from genie::GFluxI
 GFluxI ()
Protected Attributes inherited from genie::flux::GAstroFlux
PDGCodeListfPdgCList
 declared list of neutrino pdg-codes that can be thrown by current instance
int fgPdgC
 (current) generated nu pdg-code
TLorentzVector fgP4
 (current) generated nu 4-momentum
TLorentzVector fgX4
 (current) generated nu 4-position
double fgWeight
 (current) generated nu weight
double fMaxEvCut
 (config) user-defined maximum energy cut
double fMinEvCut
 (config) user-defined minimum energy cut
bool fGenWeighted
 (config) generate a weighted or unweighted flux?
double fDetGeoLatitude
 (config) detector: geographic latitude
double fDetGeoLongitude
 (config) detector: geographic longitude
double fDetGeoDepth
 (config) detector: depth from surface
double fDetSize
 (config) detector: size (detector should be enclosed in sphere of this radius)
map< int, double > fRelNuPopulations
 (config) relative neutrino populations
TRotation fRotGEF2THz
 (config) coord. system rotation: GEF translated to detector centre -> THZ
TRotation fRotTHz2User
 (config) coord. system rotation: THZ -> Topocentric user-defined
TVector3 fDetCenter
TH1D * fEnergySpectrum
TH2D * fSolidAngleAcceptance
NuGeneratorfNuGen
NuPropagatorfNuPropg

Detailed Description

Definition at line 232 of file GAstroFlux.h.

Constructor & Destructor Documentation

◆ GDiffuseAstroFlux()

GDiffuseAstroFlux::GDiffuseAstroFlux ( )

Definition at line 536 of file GAstroFlux.cxx.

536 :
538{
539
540}

References genie::flux::GAstroFlux::GAstroFlux().

◆ ~GDiffuseAstroFlux()

GDiffuseAstroFlux::~GDiffuseAstroFlux ( )

Definition at line 542 of file GAstroFlux.cxx.

543{
544
545}

The documentation for this class was generated from the following files: