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

#include <G4QGSPLundStrFragmProtonBuilder.hh>

+ Inheritance diagram for G4QGSPLundStrFragmProtonBuilder:

Public Member Functions

 G4QGSPLundStrFragmProtonBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPLundStrFragmProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4ProtonInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4ProtonInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()=default
 
virtual ~G4VProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4ProtonInelasticProcess *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 55 of file G4QGSPLundStrFragmProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPLundStrFragmProtonBuilder()

G4QGSPLundStrFragmProtonBuilder::G4QGSPLundStrFragmProtonBuilder ( G4bool  quasiElastic = false)

Definition at line 46 of file G4QGSPLundStrFragmProtonBuilder.cc.

48{
49 theMin = 100*GeV;
50 theModel = new G4TheoFSGenerator("QGSP");
51
52 G4QGSModel< G4QGSParticipants >* theStringModel =
54 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
55
58
59 theModel->SetTransport(theCascade);
60 theModel->SetHighEnergyGenerator(theStringModel);
61 if (quasiElastic)
62 {
64 }
65}
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4QGSPLundStrFragmProtonBuilder()

G4QGSPLundStrFragmProtonBuilder::~G4QGSPLundStrFragmProtonBuilder ( )
virtual

Definition at line 76 of file G4QGSPLundStrFragmProtonBuilder.cc.

77{}

Member Function Documentation

◆ Build() [1/4]

virtual void G4QGSPLundStrFragmProtonBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 64 of file G4QGSPLundStrFragmProtonBuilder.hh.

64{}

◆ Build() [2/4]

virtual void G4VProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ Build() [3/4]

void G4QGSPLundStrFragmProtonBuilder::Build ( G4ProtonInelasticProcess aP)
finaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 67 of file G4QGSPLundStrFragmProtonBuilder.cc.

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

◆ Build() [4/4]

virtual void G4VProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ SetMinEnergy()

virtual void G4QGSPLundStrFragmProtonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4QGSPLundStrFragmProtonBuilder.hh.

67{theMin = aM;}

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