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

#include <G4QGSPPionBuilder.hh>

+ Inheritance diagram for G4QGSPPionBuilder:

Public Member Functions

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

Constructor & Destructor Documentation

◆ G4QGSPPionBuilder()

G4QGSPPionBuilder::G4QGSPPionBuilder ( G4bool  quasiElastic = false)

Definition at line 51 of file G4QGSPPionBuilder.cc.

53{
55 theModel = new G4TheoFSGenerator("QGSP");
56
57 G4QGSModel< G4QGSParticipants >* theStringModel =
59 G4ExcitedStringDecay* theStringDecay =
61 theStringModel->SetFragmentationModel(theStringDecay);
62
65
66 theModel->SetTransport(theCascade);
67 theModel->SetHighEnergyGenerator(theStringModel);
68 if (quasiElastic)
69 {
71 }
72}
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)

◆ ~G4QGSPPionBuilder()

G4QGSPPionBuilder::~G4QGSPPionBuilder ( )
virtual

Definition at line 74 of file G4QGSPPionBuilder.cc.

76{
77}

Member Function Documentation

◆ Build() [1/4]

virtual void G4QGSPPionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 63 of file G4QGSPPionBuilder.hh.

63{}

◆ Build() [2/4]

virtual void G4VPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [3/4]

void G4QGSPPionBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 79 of file G4QGSPPionBuilder.cc.

81{
82 theModel->SetMinEnergy(theMin);
83 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
86 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
88 }
89 aP->RegisterMe(theModel);
90}
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 G4VPionBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ SetMinEnergy()

virtual void G4QGSPPionBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4QGSPPionBuilder.hh.

66{theMin = aM;}

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