Geant4 11.2.2
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 (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 G4QGSBinaryKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBinaryKaonBuilder()

G4QGSBinaryKaonBuilder::G4QGSBinaryKaonBuilder ( G4bool quasiElastic = false)

Definition at line 42 of file G4QGSBinaryKaonBuilder.cc.

44{
46 theModel = new G4TheoFSGenerator("QGSB");
47
48 G4QGSModel< G4QGSParticipants >* theStringModel =
50 G4ExcitedStringDecay* theStringDecay =
52 theStringModel->SetFragmentationModel(theStringDecay);
53
54 theModel->SetTransport(new G4BinaryCascade());
55 theModel->SetHighEnergyGenerator(theStringModel);
56 if (quasiElastic)
57 {
59 }
60}
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 62 of file G4QGSBinaryKaonBuilder.cc.

64{
65}

Member Function Documentation

◆ Build() [1/2]

virtual void G4QGSBinaryKaonBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 64 of file G4QGSBinaryKaonBuilder.hh.

64{};

◆ Build() [2/2]

void G4QGSBinaryKaonBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 67 of file G4QGSBinaryKaonBuilder.cc.

69{
70 theModel->SetMinEnergy(theMin);
71 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
72 aP->RegisterMe(theModel);
73}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMinEnergy()

virtual void G4QGSBinaryKaonBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4QGSBinaryKaonBuilder.hh.

67{theMin = aM;}

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