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

#include <G4VHighEnergyGenerator.hh>

+ Inheritance diagram for G4VHighEnergyGenerator:

Public Member Functions

 G4VHighEnergyGenerator (const G4String &modelName="HighEnergyGenerator")
 
 ~G4VHighEnergyGenerator () override
 
 G4VHighEnergyGenerator (const G4VHighEnergyGenerator &right)=delete
 
const G4VHighEnergyGeneratoroperator= (const G4VHighEnergyGenerator &right)=delete
 
G4bool operator== (const G4VHighEnergyGenerator &right) const =delete
 
G4bool operator!= (const G4VHighEnergyGenerator &right) const =delete
 
virtual G4V3DNucleusGetWoundedNucleus () const =0
 
virtual G4V3DNucleusGetProjectileNucleus () const
 
virtual G4KineticTrackVectorScatter (const G4Nucleus &theNucleus, const G4DynamicParticle &thePrimary)=0
 
void ModelDescription (std::ostream &) const override
 
- Public Member Functions inherited from G4HadronicInteraction
 G4HadronicInteraction (const G4String &modelName="HadronicModel")
 
virtual ~G4HadronicInteraction ()
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
 
virtual G4double SampleInvariantT (const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
 
virtual G4bool IsApplicable (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
 
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)
 
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
 
virtual const std::pair< G4double, G4doubleGetFatalEnergyCheckLevels () const
 
virtual std::pair< G4double, G4doubleGetEnergyMomentumCheckLevels () const
 
void SetEnergyMomentumCheckLevels (G4double relativeLevel, G4double absoluteLevel)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void InitialiseModel ()
 
 G4HadronicInteraction (const G4HadronicInteraction &right)=delete
 
const G4HadronicInteractionoperator= (const G4HadronicInteraction &right)=delete
 
G4bool operator== (const G4HadronicInteraction &right) const =delete
 
G4bool operator!= (const G4HadronicInteraction &right) const =delete
 

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 49 of file G4VHighEnergyGenerator.hh.

Constructor & Destructor Documentation

◆ G4VHighEnergyGenerator() [1/2]

G4VHighEnergyGenerator::G4VHighEnergyGenerator ( const G4String & modelName = "HighEnergyGenerator")

Definition at line 33 of file G4VHighEnergyGenerator.cc.

34 : G4HadronicInteraction(modelName)
35{}
G4HadronicInteraction(const G4String &modelName="HadronicModel")

◆ ~G4VHighEnergyGenerator()

G4VHighEnergyGenerator::~G4VHighEnergyGenerator ( )
override

Definition at line 37 of file G4VHighEnergyGenerator.cc.

38{}

◆ G4VHighEnergyGenerator() [2/2]

G4VHighEnergyGenerator::G4VHighEnergyGenerator ( const G4VHighEnergyGenerator & right)
delete

Member Function Documentation

◆ GetProjectileNucleus()

G4V3DNucleus * G4VHighEnergyGenerator::GetProjectileNucleus ( ) const
virtual

Reimplemented in G4FTFModel, G4QGSModel< ParticipantType >, and G4VPartonStringModel.

Definition at line 45 of file G4VHighEnergyGenerator.cc.

46{
48 ed << "The used HighEnergyGenerator "<<GetModelName()
49 <<" cannot manage with a residual projectile nucleus";
50 G4Exception("G4VHighEnergyGenerator::GetProjectileNucleus ", "G4had_mod_man",
51 FatalException, ed);
52 return 0;
53}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
const G4String & GetModelName() const

Referenced by G4TheoFSGenerator::ApplyYourself().

◆ GetWoundedNucleus()

virtual G4V3DNucleus * G4VHighEnergyGenerator::GetWoundedNucleus ( ) const
pure virtual

◆ ModelDescription()

void G4VHighEnergyGenerator::ModelDescription ( std::ostream & outFile) const
overridevirtual

Reimplemented from G4HadronicInteraction.

Reimplemented in G4VPartonStringModel.

Definition at line 40 of file G4VHighEnergyGenerator.cc.

41{
42 outFile << " Parton-string models description not written yet \n";
43}

Referenced by G4TheoFSGenerator::ModelDescription().

◆ operator!=()

G4bool G4VHighEnergyGenerator::operator!= ( const G4VHighEnergyGenerator & right) const
delete

◆ operator=()

const G4VHighEnergyGenerator & G4VHighEnergyGenerator::operator= ( const G4VHighEnergyGenerator & right)
delete

◆ operator==()

G4bool G4VHighEnergyGenerator::operator== ( const G4VHighEnergyGenerator & right) const
delete

◆ Scatter()

virtual G4KineticTrackVector * G4VHighEnergyGenerator::Scatter ( const G4Nucleus & theNucleus,
const G4DynamicParticle & thePrimary )
pure virtual

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