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

#include <G4QGSPPiKBuilder.hh>

+ Inheritance diagram for G4QGSPPiKBuilder:

Public Member Functions

 G4QGSPPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4PionPlusInelasticProcess *aP) final override
 
virtual void Build (G4PionMinusInelasticProcess *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 (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *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 G4VPiKBuilder
 G4VPiKBuilder ()=default
 
virtual ~G4VPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *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 59 of file G4QGSPPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPPiKBuilder()

G4QGSPPiKBuilder::G4QGSPPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4QGSPPiKBuilder.cc.

51{
53 theModel = new G4TheoFSGenerator("QGSP");
54
55 G4QGSModel< G4QGSParticipants >* theStringModel =
57 G4ExcitedStringDecay* theStringDecay =
59 theStringModel->SetFragmentationModel(theStringDecay);
60
63
64 theModel->SetTransport(theCascade);
65 theModel->SetHighEnergyGenerator(theStringModel);
66 if (quasiElastic)
67 {
69 }
70}
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)

◆ ~G4QGSPPiKBuilder()

G4QGSPPiKBuilder::~G4QGSPPiKBuilder ( )
virtual

Definition at line 72 of file G4QGSPPiKBuilder.cc.

74{
75}

Member Function Documentation

◆ Build() [1/14]

virtual void G4QGSPPiKBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 65 of file G4QGSPPiKBuilder.hh.

65{}

◆ Build() [2/14]

virtual void G4VPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [3/14]

void G4QGSPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 103 of file G4QGSPPiKBuilder.cc.

105{
106 theModel->SetMinEnergy(theMin);
107 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
108 aP->RegisterMe(theModel);
109}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [4/14]

virtual void G4VPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [5/14]

void G4QGSPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 95 of file G4QGSPPiKBuilder.cc.

97{
98 theModel->SetMinEnergy(theMin);
99 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
100 aP->RegisterMe(theModel);
101}

◆ Build() [6/14]

virtual void G4VPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [7/14]

void G4QGSPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 111 of file G4QGSPPiKBuilder.cc.

113{
114 theModel->SetMinEnergy(theMin);
115 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
116 aP->RegisterMe(theModel);
117}

◆ Build() [8/14]

virtual void G4VPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [9/14]

void G4QGSPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 119 of file G4QGSPPiKBuilder.cc.

121{
122 theModel->SetMinEnergy(theMin);
123 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
124 aP->RegisterMe(theModel);
125}

◆ Build() [10/14]

virtual void G4VPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [11/14]

void G4QGSPPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 86 of file G4QGSPPiKBuilder.cc.

88{
89 theModel->SetMinEnergy(theMin);
90 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
92 aP->RegisterMe(theModel);
93}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4PionMinus * Definition()
Definition: G4PionMinus.cc:51

◆ Build() [12/14]

virtual void G4VPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [13/14]

void G4QGSPPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 77 of file G4QGSPPiKBuilder.cc.

79{
80 theModel->SetMinEnergy(theMin);
81 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
83 aP->RegisterMe(theModel);
84}
static G4PionPlus * Definition()
Definition: G4PionPlus.cc:51

◆ Build() [14/14]

virtual void G4VPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ SetMinEnergy()

virtual void G4QGSPPiKBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 73 of file G4QGSPPiKBuilder.hh.

73{theMin = aM;}

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