GENIEGenerator
Loading...
Searching...
No Matches
genie::GFluxI Class Referenceabstract

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

#include <GFluxI.h>

Inheritance diagram for genie::GFluxI:
[legend]

Public Member Functions

virtual ~GFluxI ()
virtual const PDGCodeListFluxParticles (void)=0
 declare list of flux neutrinos that can be generated (for init. purposes)
virtual double MaxEnergy (void)=0
 declare the max flux neutrino energy that can be generated (for init. purposes)
virtual bool GenerateNext (void)=0
 generate the next flux neutrino (return false in err)
virtual int PdgCode (void)=0
 returns the flux neutrino pdg code
virtual double Weight (void)=0
 returns the flux neutrino weight (if any)
virtual const TLorentzVector & Momentum (void)=0
 returns the flux neutrino 4-momentum
virtual const TLorentzVector & Position (void)=0
 returns the flux neutrino 4-position (note: expect SI rather than physical units)
virtual bool End (void)=0
 true if no more flux nu's can be thrown (eg reaching end of beam sim ntuples)
virtual long int Index (void)=0
 returns corresponding index for current flux neutrino (e.g. for a flux ntuple returns the current entry number)
virtual void Clear (Option_t *opt)=0
 reset state variables based on opt
virtual void GenerateWeighted (bool gen_weighted)=0
 set whether to generate weighted or unweighted neutrinos

Protected Member Functions

 GFluxI ()

Detailed Description

GENIE Interface for user-defined flux classes.

Author
Costas Andreopoulos <c.andreopoulos \at cern.ch> University of Liverpool
Created:\n May 25, 2005
License:\n Copyright (c) 2003-2025, 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::~GFluxI ( )
virtual

Definition at line 21 of file GFluxI.cxx.

22{
23
24}

◆ GFluxI()

Member Function Documentation

◆ Clear()

◆ End()

virtual bool genie::GFluxI::End ( void )
pure virtual

◆ FluxParticles()

virtual const PDGCodeList & genie::GFluxI::FluxParticles ( void )
pure virtual

◆ GenerateNext()

◆ GenerateWeighted()

virtual void genie::GFluxI::GenerateWeighted ( bool gen_weighted)
pure virtual

◆ Index()

virtual long int genie::GFluxI::Index ( void )
pure virtual

◆ MaxEnergy()

virtual double genie::GFluxI::MaxEnergy ( void )
pure virtual

◆ Momentum()

virtual const TLorentzVector & genie::GFluxI::Momentum ( void )
pure virtual

◆ PdgCode()

◆ Position()

virtual const TLorentzVector & genie::GFluxI::Position ( void )
pure virtual

◆ Weight()


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