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

#include <G4QGSPProtonBuilder.hh>

+ Inheritance diagram for G4QGSPProtonBuilder:

Public Member Functions

 G4QGSPProtonBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *) override
 
virtual void Build (G4HadronInelasticProcess *aP) 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 G4VProtonBuilder
 G4VProtonBuilder ()=default
 
virtual ~G4VProtonBuilder ()
 
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 G4QGSPProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPProtonBuilder()

G4QGSPProtonBuilder::G4QGSPProtonBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4QGSPProtonBuilder.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)

◆ ~G4QGSPProtonBuilder()

G4QGSPProtonBuilder::~G4QGSPProtonBuilder ( )
virtual

Definition at line 81 of file G4QGSPProtonBuilder.cc.

82 {
83 }

Member Function Documentation

◆ Build() [1/4]

virtual void G4QGSPProtonBuilder::Build ( G4HadronElasticProcess )
inlineoverridevirtual

Implements G4VProtonBuilder.

Definition at line 63 of file G4QGSPProtonBuilder.hh.

63{}

◆ Build() [2/4]

virtual void G4VProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ Build() [3/4]

void G4QGSPProtonBuilder::Build ( G4HadronInelasticProcess aP)
overridevirtual

Implements G4VProtonBuilder.

Definition at line 72 of file G4QGSPProtonBuilder.cc.

74 {
76 theModel->SetMinEnergy(theMin);
77 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
78 aP->RegisterMe(theModel);
79 }
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Proton * Proton()
Definition: G4Proton.cc:92

◆ Build() [4/4]

virtual void G4VProtonBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ SetMinEnergy()

virtual void G4QGSPProtonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4QGSPProtonBuilder.hh.

66{theMin = aM;}

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