Geant4 11.2.2
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 (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
- Public Member Functions inherited from G4VPiKBuilder
 G4VPiKBuilder ()=default
 
virtual ~G4VPiKBuilder ()
 
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 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/2]

virtual void G4QGSPPiKBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 63 of file G4QGSPPiKBuilder.hh.

63{}

◆ Build() [2/2]

void G4QGSPPiKBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 77 of file G4QGSPPiKBuilder.cc.

79{
80 theModel->SetMinEnergy(theMin);
81 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
84 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
86 }
87 aP->RegisterMe(theModel);
88}
const G4ParticleDefinition * GetParticleDefinition() const
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
static G4PionPlus * Definition()
Definition G4PionPlus.cc:46

◆ SetMinEnergy()

virtual void G4QGSPPiKBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4QGSPPiKBuilder.hh.

66{theMin = aM;}

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