Public Member Functions | Protected Member Functions | List of all members
genie::GFluxI Class Referenceabstract

GENIE Interface for user-defined flux classes. More...

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Framework/EventGen/GFluxI.h"

Inheritance diagram for genie::GFluxI:
genie::flux::GAstroFlux genie::flux::GAtmoFlux genie::flux::GCylindTH1Flux genie::flux::GDk2NuFlux genie::flux::GDk2NuFlux genie::flux::GFluxBlender genie::flux::GJPARCNuFlux genie::flux::GMonoEnergeticFlux genie::flux::GNuMIFlux genie::flux::GSimpleNtpFlux genie::supernova::GFluxSNova

Public Member Functions

virtual ~GFluxI ()
 
virtual const PDGCodeListFluxParticles (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 ()
 

Detailed Description

GENIE Interface for user-defined flux classes.

Author
Costas Andreopoulos <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab

May 25, 2005

Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE

@ Feb 22, 2011 - JD Changed the interface by adding the GFluxI::Clear, GFluxI::Index and GFluxI::GenerateWeighted methods needed so that can be used with the new pre-generation of flux interaction probabilities functionality added to GMCJDriver.

Definition at line 37 of file GFluxI.h.

Constructor & Destructor Documentation

GFluxI::~GFluxI ( )
virtual

Definition at line 27 of file GFluxI.cxx.

28 {
29 
30 }
GFluxI::GFluxI ( )
protected

Definition at line 22 of file GFluxI.cxx.

23 {
24 
25 }

Member Function Documentation

virtual void genie::GFluxI::Clear ( Option_t *  opt)
pure virtual
virtual bool genie::GFluxI::End ( void  )
pure virtual
virtual const PDGCodeList& genie::GFluxI::FluxParticles ( void  )
pure virtual
virtual bool genie::GFluxI::GenerateNext ( void  )
pure virtual
virtual void genie::GFluxI::GenerateWeighted ( bool  gen_weighted)
pure virtual
virtual long int genie::GFluxI::Index ( void  )
pure virtual
virtual double genie::GFluxI::MaxEnergy ( void  )
pure virtual
virtual const TLorentzVector& genie::GFluxI::Momentum ( void  )
pure virtual
virtual int genie::GFluxI::PdgCode ( void  )
pure virtual
virtual const TLorentzVector& genie::GFluxI::Position ( void  )
pure virtual
virtual double genie::GFluxI::Weight ( void  )
pure virtual

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