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

#include <G4QGSBinaryKaonBuilder.hh>

+ Inheritance diagram for G4QGSBinaryKaonBuilder:

Public Member Functions

 G4QGSBinaryKaonBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSBinaryKaonBuilder ()
 
virtual void Build (G4HadronElasticProcess *) 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 G4QGSBinaryKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBinaryKaonBuilder()

G4QGSBinaryKaonBuilder::G4QGSBinaryKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 43 of file G4QGSBinaryKaonBuilder.cc.

45{
47 theModel = new G4TheoFSGenerator("QGSB");
48
49 G4QGSModel< G4QGSParticipants >* theStringModel =
51 G4ExcitedStringDecay* theStringDecay =
53 theStringModel->SetFragmentationModel(theStringDecay);
54
55 theModel->SetTransport(new G4BinaryCascade());
56 theModel->SetHighEnergyGenerator(theStringModel);
57 if (quasiElastic)
58 {
60 }
61}
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)

◆ ~G4QGSBinaryKaonBuilder()

G4QGSBinaryKaonBuilder::~G4QGSBinaryKaonBuilder ( )
virtual

Definition at line 63 of file G4QGSBinaryKaonBuilder.cc.

65{
66}

Member Function Documentation

◆ Build() [1/10]

virtual void G4QGSBinaryKaonBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 64 of file G4QGSBinaryKaonBuilder.hh.

64{};

◆ Build() [2/10]

virtual void G4VKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [3/10]

void G4QGSBinaryKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 76 of file G4QGSBinaryKaonBuilder.cc.

78{
79 theModel->SetMinEnergy(theMin);
80 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
81 aP->RegisterMe(theModel);
82}
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 G4QGSBinaryKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 68 of file G4QGSBinaryKaonBuilder.cc.

70{
71 theModel->SetMinEnergy(theMin);
72 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
73 aP->RegisterMe(theModel);
74}

◆ Build() [6/10]

virtual void G4VKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [7/10]

void G4QGSBinaryKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 84 of file G4QGSBinaryKaonBuilder.cc.

86{
87 theModel->SetMinEnergy(theMin);
88 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
89 aP->RegisterMe(theModel);
90}

◆ Build() [8/10]

virtual void G4VKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [9/10]

void G4QGSBinaryKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 92 of file G4QGSBinaryKaonBuilder.cc.

94{
95 theModel->SetMinEnergy(theMin);
96 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
97 aP->RegisterMe(theModel);
98}

◆ Build() [10/10]

virtual void G4VKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ SetMinEnergy()

virtual void G4QGSBinaryKaonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 70 of file G4QGSBinaryKaonBuilder.hh.

70{theMin = aM;}

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