Geant4  10.02.p03
G4EventGenerator Class Referenceabstract

#include <G4EventGenerator.hh>

Inheritance diagram for G4EventGenerator:
Collaboration 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
 
virtual G4int GetVerboseLevel () const
 
virtual 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
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 

Private Member Functions

 G4EventGenerator (const G4EventGenerator &right)
 
const G4EventGeneratoroperator= (const G4EventGenerator &right)
 
int operator== (const G4EventGenerator &right) const
 
int operator!= (const G4EventGenerator &right) 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() [1/2]

G4EventGenerator::G4EventGenerator ( )

Definition at line 34 of file G4EventGenerator.cc.

35 {
36  SetMinEnergy (0 *GeV);
37  SetMaxEnergy (0 *GeV);
38 }
void SetMinEnergy(G4double anEnergy)
static const double GeV
Definition: G4SIunits.hh:214
void SetMaxEnergy(const G4double anEnergy)
Here is the call graph for this function:

◆ ~G4EventGenerator()

G4EventGenerator::~G4EventGenerator ( )

Definition at line 45 of file G4EventGenerator.cc.

46 {
47 }

◆ G4EventGenerator() [2/2]

G4EventGenerator::G4EventGenerator ( const G4EventGenerator right)
private

Definition at line 40 of file G4EventGenerator.cc.

41 {
42 }
G4HadronicInteraction(const G4String &modelName="HadronicModel")

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

◆ operator!=()

int G4EventGenerator::operator!= ( const G4EventGenerator right) const
private

Definition at line 62 of file G4EventGenerator.cc.

63 {
64  return 1;
65 }

◆ operator=()

const G4EventGenerator & G4EventGenerator::operator= ( const G4EventGenerator right)
private

Definition at line 50 of file G4EventGenerator.cc.

51 {
52  throw G4HadronicException(__FILE__, __LINE__, "G4EventGenerator::operator= meant to not be accessable");
53  return *this;
54 }

◆ operator==()

int G4EventGenerator::operator== ( const G4EventGenerator right) const
private

Definition at line 57 of file G4EventGenerator.cc.

58 {
59  return 0;
60 }

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