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

#include <G4HyperonQGSPBuilder.hh>

+ Inheritance diagram for G4HyperonQGSPBuilder:

Public Member Functions

 G4HyperonQGSPBuilder (G4bool quasiElastic=false)
 
virtual ~G4HyperonQGSPBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double val) final override
 
virtual void SetMaxEnergy (G4double val) final override
 
- Public Member Functions inherited from G4VHyperonBuilder
 G4VHyperonBuilder ()=default
 
virtual ~G4VHyperonBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 

Detailed Description

Definition at line 45 of file G4HyperonQGSPBuilder.hh.

Constructor & Destructor Documentation

◆ G4HyperonQGSPBuilder()

G4HyperonQGSPBuilder::G4HyperonQGSPBuilder ( G4bool quasiElastic = false)

Definition at line 51 of file G4HyperonQGSPBuilder.cc.

51 {
52 theHyperonQGSP = new G4TheoFSGenerator( "QGSP" );
55 theStringModel->SetFragmentationModel( theStringDecay );
57 theHyperonQGSP->SetTransport( theCascade );
58 theHyperonQGSP->SetHighEnergyGenerator( theStringModel );
59 if ( quasiElastic ) theHyperonQGSP->SetQuasiElasticChannel( new G4QuasiElasticChannel );
60 // It is recommended to use QGSP above >~ 12 GeV .
63 theHyperonQGSP->SetMinEnergy( theMin );
64 theHyperonQGSP->SetMaxEnergy( theMax );
65 theInelasticCrossSection = new G4CrossSectionInelastic( new G4ComponentGGHadronNucleusXsc );
66}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionQGS_FTF() const
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4HyperonQGSPBuilder()

G4HyperonQGSPBuilder::~G4HyperonQGSPBuilder ( )
virtual

Definition at line 69 of file G4HyperonQGSPBuilder.cc.

69{}

Member Function Documentation

◆ Build() [1/2]

virtual void G4HyperonQGSPBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VHyperonBuilder.

Definition at line 50 of file G4HyperonQGSPBuilder.hh.

50{}

◆ Build() [2/2]

void G4HyperonQGSPBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VHyperonBuilder.

Definition at line 72 of file G4HyperonQGSPBuilder.cc.

72 {
73 theHyperonQGSP->SetMinEnergy( theMin );
74 theHyperonQGSP->SetMaxEnergy( theMax );
75 aP->RegisterMe( theHyperonQGSP );
76 aP->AddDataSet( theInelasticCrossSection );
77}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMaxEnergy()

virtual void G4HyperonQGSPBuilder::SetMaxEnergy ( G4double val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 54 of file G4HyperonQGSPBuilder.hh.

54{ theMax = val; }

◆ SetMinEnergy()

virtual void G4HyperonQGSPBuilder::SetMinEnergy ( G4double val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 53 of file G4HyperonQGSPBuilder.hh.

53{ theMin = val; }

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