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

#include <G4QGSPKaonBuilder.hh>

+ Inheritance diagram for G4QGSPKaonBuilder:

Public Member Functions

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

Detailed Description

Definition at line 57 of file G4QGSPKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPKaonBuilder()

G4QGSPKaonBuilder::G4QGSPKaonBuilder ( G4bool quasiElastic = false)

Definition at line 42 of file G4QGSPKaonBuilder.cc.

44{
47 theModel = new G4TheoFSGenerator("QGSP");
48
49 G4QGSModel< G4QGSParticipants >* theStringModel =
51 G4ExcitedStringDecay* theStringDecay =
53 theStringModel->SetFragmentationModel(theStringDecay);
54
57
58 theModel->SetTransport(theCascade);
59 theModel->SetHighEnergyGenerator(theStringModel);
60 if (quasiElastic)
61 {
63 }
64}
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)

◆ ~G4QGSPKaonBuilder()

G4QGSPKaonBuilder::~G4QGSPKaonBuilder ( )
virtual

Definition at line 66 of file G4QGSPKaonBuilder.cc.

68{
69}

Member Function Documentation

◆ Build() [1/2]

void G4QGSPKaonBuilder::Build ( G4HadronElasticProcess * aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 71 of file G4QGSPKaonBuilder.cc.

72{}

◆ Build() [2/2]

void G4QGSPKaonBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 74 of file G4QGSPKaonBuilder.cc.

76{
77 theModel->SetMinEnergy(theMin);
78 theModel->SetMaxEnergy(theMax);
79 aP->RegisterMe(theModel);
80}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMinEnergy()

virtual void G4QGSPKaonBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4QGSPKaonBuilder.hh.

67{theMin = aM;}

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