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

#include <G4QGSBinaryPiKBuilder.hh>

+ Inheritance diagram for G4QGSBinaryPiKBuilder:

Public Member Functions

 G4QGSBinaryPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSBinaryPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VPiKBuilder
 G4VPiKBuilder ()=default
 
virtual ~G4VPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *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 G4QGSBinaryPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBinaryPiKBuilder()

G4QGSBinaryPiKBuilder::G4QGSBinaryPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 48 of file G4QGSBinaryPiKBuilder.cc.

50{
52 theModel = new G4TheoFSGenerator("QGSB");
53
54 G4QGSModel< G4QGSParticipants >* theStringModel =
56 G4ExcitedStringDecay* theStringDecay =
58 theStringModel->SetFragmentationModel(theStringDecay);
59
60 theModel->SetTransport(new G4BinaryCascade());
61 theModel->SetHighEnergyGenerator(theStringModel);
62 if (quasiElastic)
63 {
65 }
66}
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)

◆ ~G4QGSBinaryPiKBuilder()

G4QGSBinaryPiKBuilder::~G4QGSBinaryPiKBuilder ( )
virtual

Definition at line 68 of file G4QGSBinaryPiKBuilder.cc.

70{
71}

Member Function Documentation

◆ Build() [1/4]

virtual void G4QGSBinaryPiKBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 63 of file G4QGSBinaryPiKBuilder.hh.

63{}

◆ Build() [2/4]

virtual void G4VPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [3/4]

void G4QGSBinaryPiKBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 73 of file G4QGSBinaryPiKBuilder.cc.

75{
76 theModel->SetMinEnergy(theMin);
77 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
80 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
82 }
83 aP->RegisterMe(theModel);
84}
const G4ParticleDefinition * GetParticleDefinition() const
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
Definition: G4PionMinus.cc:51
static G4PionPlus * Definition()
Definition: G4PionPlus.cc:51

◆ Build() [4/4]

virtual void G4VPiKBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ SetMinEnergy()

virtual void G4QGSBinaryPiKBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4QGSBinaryPiKBuilder.hh.

66{theMin = aM;}

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