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

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

#include <GFluxI.h>

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

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 <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

May 25, 2005

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

Definition at line 29 of file GFluxI.h.

Constructor & Destructor Documentation

GFluxI::~GFluxI ( )
virtual

Definition at line 21 of file GFluxI.cxx.

22 {
23 
24 }
GFluxI::GFluxI ( )
protected

Definition at line 16 of file GFluxI.cxx.

17 {
18 
19 }

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

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.

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: