Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4EventGenerator Class Referenceabstract

#include <G4EventGenerator.hh>

+ Inheritance diagram for G4EventGenerator:

Public Member Functions

 G4EventGenerator ()
 
 ~G4EventGenerator ()
 
virtual G4double GetWidth (G4VertexCode &theCode)=0
 
virtual G4double GetCrossSection (G4InteractionCode &theCode)=0
 
virtual G4ReactionProductGetFinalState (G4InteractionCode &theCode)=0
 
- Public Member Functions inherited from G4HadronicInteraction
 G4HadronicInteraction (const G4String &modelName="HadronicModel")
 
virtual ~G4HadronicInteraction ()
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)=0
 
virtual G4double SampleInvariantT (const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
 
virtual G4bool IsApplicable (const G4HadProjectile &, G4Nucleus &)
 
G4double GetMinEnergy () const
 
G4double GetMinEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMinEnergy (G4double anEnergy)
 
void SetMinEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMinEnergy (G4double anEnergy, const G4Material *aMaterial)
 
G4double GetMaxEnergy () const
 
G4double GetMaxEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMaxEnergy (const G4double anEnergy)
 
void SetMaxEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMaxEnergy (G4double anEnergy, const G4Material *aMaterial)
 
const G4HadronicInteractionGetMyPointer () const
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int value)
 
const G4StringGetModelName () const
 
void DeActivateFor (const G4Material *aMaterial)
 
void ActivateFor (const G4Material *aMaterial)
 
void DeActivateFor (const G4Element *anElement)
 
void ActivateFor (const G4Element *anElement)
 
G4bool IsBlocked (const G4Material *aMaterial) const
 
G4bool IsBlocked (const G4Element *anElement) const
 
void SetRecoilEnergyThreshold (G4double val)
 
G4double GetRecoilEnergyThreshold () const
 
G4bool operator== (const G4HadronicInteraction &right) const
 
G4bool operator!= (const G4HadronicInteraction &right) const
 
virtual const std::pair< G4double, G4doubleGetFatalEnergyCheckLevels () const
 
virtual std::pair< G4double, G4doubleGetEnergyMomentumCheckLevels () const
 
void SetEnergyMomentumCheckLevels (G4double relativeLevel, G4double absoluteLevel)
 
virtual void ModelDescription (std::ostream &outFile) const
 

Additional Inherited Members

- Protected Member Functions inherited from G4HadronicInteraction
void SetModelName (const G4String &nam)
 
G4bool IsBlocked () const
 
void Block ()
 
- Protected Attributes inherited from G4HadronicInteraction
G4HadFinalState theParticleChange
 
G4int verboseLevel
 
G4double theMinEnergy
 
G4double theMaxEnergy
 
G4bool isBlocked
 

Detailed Description

Definition at line 36 of file G4EventGenerator.hh.

Constructor & Destructor Documentation

◆ G4EventGenerator()

G4EventGenerator::G4EventGenerator ( )

Definition at line 34 of file G4EventGenerator.cc.

35{
36 SetMinEnergy (0 *GeV);
37 SetMaxEnergy (0 *GeV);
38}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

◆ ~G4EventGenerator()

G4EventGenerator::~G4EventGenerator ( )

Definition at line 45 of file G4EventGenerator.cc.

46{
47}

Member Function Documentation

◆ GetCrossSection()

virtual G4double G4EventGenerator::GetCrossSection ( G4InteractionCode theCode)
pure virtual

◆ GetFinalState()

virtual G4ReactionProduct * G4EventGenerator::GetFinalState ( G4InteractionCode theCode)
pure virtual

◆ GetWidth()

virtual G4double G4EventGenerator::GetWidth ( G4VertexCode theCode)
pure virtual

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