Geant4-11
Public Member Functions | Private Attributes
G4QGSPPiKBuilder Class Reference

#include <G4QGSPPiKBuilder.hh>

Inheritance diagram for G4QGSPPiKBuilder:
G4VPiKBuilder G4PhysicsBuilderInterface

Public Member Functions

virtual void Build ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
 G4QGSPPiKBuilder (G4bool quasiElastic=false)
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double)
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual ~G4QGSPPiKBuilder ()
 

Private Attributes

G4double theMin
 
G4TheoFSGeneratortheModel
 

Detailed Description

Definition at line 57 of file G4QGSPPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPPiKBuilder()

G4QGSPPiKBuilder::G4QGSPPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4QGSPPiKBuilder.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
G4TheoFSGenerator * theModel
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

References G4HadronicParameters::GetMinEnergyTransitionQGS_FTF(), G4HadronicParameters::Instance(), G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4TheoFSGenerator::SetQuasiElasticChannel(), G4TheoFSGenerator::SetTransport(), theMin, and theModel.

◆ ~G4QGSPPiKBuilder()

G4QGSPPiKBuilder::~G4QGSPPiKBuilder ( )
virtual

Definition at line 72 of file G4QGSPPiKBuilder.cc.

74{
75}

Member Function Documentation

◆ Build() [1/5]

virtual void G4PhysicsBuilderInterface::Build ( )
inlinevirtualinherited

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 46 of file G4PhysicsBuilderInterface.hh.

47 {
48 G4Exception("G4PhysicsBuilderInterface::Build", "PHYSBLD001",
50 "Called based class method. Should be implemented in"
51 " inherited class");
52 }
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35

◆ Build() [2/5]

virtual void G4QGSPPiKBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 63 of file G4QGSPPiKBuilder.hh.

63{}

◆ Build() [3/5]

virtual void G4VPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [4/5]

void G4QGSPPiKBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 77 of file G4QGSPPiKBuilder.cc.

79{
84 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
86 }
88}
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

References G4HadronicProcess::AddDataSet(), G4PionMinus::Definition(), G4PionPlus::Definition(), G4HadronInelasticProcess::GetParticleDefinition(), G4HadronicParameters::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), theMin, and theModel.

◆ Build() [5/5]

virtual void G4VPiKBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ RegisterMe()

virtual void G4PhysicsBuilderInterface::RegisterMe ( G4PhysicsBuilderInterface )
inlinevirtualinherited

◆ SetMaxEnergy()

virtual void G4PhysicsBuilderInterface::SetMaxEnergy ( G4double  )
inlinevirtualinherited

◆ SetMinEnergy()

virtual void G4QGSPPiKBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4QGSPPiKBuilder.hh.

66{theMin = aM;}

References theMin.

Field Documentation

◆ theMin

G4double G4QGSPPiKBuilder::theMin
private

Definition at line 72 of file G4QGSPPiKBuilder.hh.

Referenced by Build(), G4QGSPPiKBuilder(), and SetMinEnergy().

◆ theModel

G4TheoFSGenerator* G4QGSPPiKBuilder::theModel
private

Definition at line 71 of file G4QGSPPiKBuilder.hh.

Referenced by Build(), and G4QGSPPiKBuilder().


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