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

#include <G4QGSPPionBuilder.hh>

Inheritance diagram for G4QGSPPionBuilder:
G4VPionBuilder 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
 
 G4QGSPPionBuilder (G4bool quasiElastic=false)
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double)
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual ~G4QGSPPionBuilder ()
 

Private Attributes

G4double theMin
 
G4TheoFSGeneratortheModel
 

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
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.

◆ ~G4QGSPPionBuilder()

G4QGSPPionBuilder::~G4QGSPPionBuilder ( )
virtual

Definition at line 74 of file G4QGSPPionBuilder.cc.

76{
77}

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 G4QGSPPionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 63 of file G4QGSPPionBuilder.hh.

63{}

◆ Build() [3/5]

virtual void G4VPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [4/5]

void G4QGSPPionBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 79 of file G4QGSPPionBuilder.cc.

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

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 G4VPionBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ RegisterMe()

virtual void G4PhysicsBuilderInterface::RegisterMe ( G4PhysicsBuilderInterface )
inlinevirtualinherited

◆ SetMaxEnergy()

virtual void G4PhysicsBuilderInterface::SetMaxEnergy ( G4double  )
inlinevirtualinherited

◆ SetMinEnergy()

virtual void G4QGSPPionBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4QGSPPionBuilder.hh.

66{theMin = aM;}

References theMin.

Field Documentation

◆ theMin

G4double G4QGSPPionBuilder::theMin
private

Definition at line 72 of file G4QGSPPionBuilder.hh.

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

◆ theModel

G4TheoFSGenerator* G4QGSPPionBuilder::theModel
private

Definition at line 71 of file G4QGSPPionBuilder.hh.

Referenced by Build(), and G4QGSPPionBuilder().


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