Geant4 10.7.0
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 (G4KaonPlusInelasticProcess *aP) final override
 
virtual void Build (G4KaonMinusInelasticProcess *aP) final override
 
virtual void Build (G4KaonZeroLInelasticProcess *aP) final override
 
virtual void Build (G4KaonZeroSInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4KaonPlusInelasticProcess *aP)=0
 
virtual void Build (G4KaonMinusInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroLInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroSInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()=default
 
virtual ~G4VKaonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4KaonPlusInelasticProcess *aP)=0
 
virtual void Build (G4KaonMinusInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroLInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroSInelasticProcess *aP)=0
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()
 
virtual void Build ()
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMinEnergy (G4double)
 
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
G4double GetMaxEnergy() 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/10]

void G4QGSPKaonBuilder::Build ( G4HadronElasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 71 of file G4QGSPKaonBuilder.cc.

72{}

◆ Build() [2/10]

virtual void G4VKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [3/10]

void G4QGSPKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 82 of file G4QGSPKaonBuilder.cc.

84{
85 theModel->SetMinEnergy(theMin);
86 theModel->SetMaxEnergy(theMax);
87 aP->RegisterMe(theModel);
88}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [4/10]

virtual void G4VKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [5/10]

void G4QGSPKaonBuilder::Build ( G4KaonPlusInelasticProcess 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}

◆ Build() [6/10]

virtual void G4VKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [7/10]

void G4QGSPKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 90 of file G4QGSPKaonBuilder.cc.

92{
93 theModel->SetMinEnergy(theMin);
94 theModel->SetMaxEnergy(theMax);
95 aP->RegisterMe(theModel);
96}

◆ Build() [8/10]

virtual void G4VKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [9/10]

void G4QGSPKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 98 of file G4QGSPKaonBuilder.cc.

100{
101 theModel->SetMinEnergy(theMin);
102 theModel->SetMaxEnergy(theMax);
103 aP->RegisterMe(theModel);
104}

◆ Build() [10/10]

virtual void G4VKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ SetMinEnergy()

virtual void G4QGSPKaonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 70 of file G4QGSPKaonBuilder.hh.

70{theMin = aM;}

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