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

#include <G4QGSBinaryPionBuilder.hh>

+ Inheritance diagram for G4QGSBinaryPionBuilder:

Public Member Functions

 G4QGSBinaryPionBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSBinaryPionBuilder ()
 
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 G4VPionBuilder
 G4VPionBuilder ()=default
 
virtual ~G4VPionBuilder ()
 
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 G4QGSBinaryPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBinaryPionBuilder()

G4QGSBinaryPionBuilder::G4QGSBinaryPionBuilder ( G4bool quasiElastic = false)

Definition at line 43 of file G4QGSBinaryPionBuilder.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)

◆ ~G4QGSBinaryPionBuilder()

G4QGSBinaryPionBuilder::~G4QGSBinaryPionBuilder ( )
virtual

Definition at line 63 of file G4QGSBinaryPionBuilder.cc.

65{
66}

Member Function Documentation

◆ Build() [1/2]

virtual void G4QGSBinaryPionBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 64 of file G4QGSBinaryPionBuilder.hh.

64{}

◆ Build() [2/2]

void G4QGSBinaryPionBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 68 of file G4QGSBinaryPionBuilder.cc.

70{
71 theModel->SetMinEnergy(theMin);
72 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
75 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
77 }
78 aP->RegisterMe(theModel);
79}
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 G4QGSBinaryPionBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4QGSBinaryPionBuilder.hh.

67{theMin = aM;}

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