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

#include <G4FTFPKaonBuilder.hh>

+ Inheritance diagram for G4FTFPKaonBuilder:

Public Member Functions

 G4FTFPKaonBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPKaonBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4KaonPlusInelasticProcess *aP) final override
 
virtual void Build (G4KaonMinusInelasticProcess *aP) final override
 
virtual void Build (G4KaonZeroLInelasticProcess *aP) final override
 
virtual void Build (G4KaonZeroSInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void SetMaxEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4KaonPlusInelasticProcess *aP)=0
 
virtual void Build (G4KaonMinusInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroLInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroSInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()=default
 
virtual ~G4VKaonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4KaonPlusInelasticProcess *aP)=0
 
virtual void Build (G4KaonMinusInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroLInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroSInelasticProcess *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 57 of file G4FTFPKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPKaonBuilder()

G4FTFPKaonBuilder::G4FTFPKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 42 of file G4FTFPKaonBuilder.cc.

44{
47 theModel = new G4TheoFSGenerator("FTFP");
48
49 G4FTFModel* theStringModel = new G4FTFModel();
50 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
51
54
55 theModel->SetHighEnergyGenerator(theStringModel);
56 if (quasiElastic) {
58 }
59
60 theModel->SetTransport(theCascade);
61 theModel->SetMinEnergy(theMin);
62 theModel->SetMaxEnergy(theMax);
63}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionFTF_Cascade() const
G4double GetMaxEnergy() const
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFPKaonBuilder()

G4FTFPKaonBuilder::~G4FTFPKaonBuilder ( )
virtual

Definition at line 65 of file G4FTFPKaonBuilder.cc.

66{
67}

Member Function Documentation

◆ Build() [1/10]

virtual void G4FTFPKaonBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 63 of file G4FTFPKaonBuilder.hh.

63{};

◆ Build() [2/10]

virtual void G4VKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [3/10]

void G4FTFPKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 77 of file G4FTFPKaonBuilder.cc.

79{
80 theModel->SetMinEnergy(theMin);
81 theModel->SetMaxEnergy(theMax);
82 aP->RegisterMe(theModel);
83}
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [4/10]

virtual void G4VKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [5/10]

void G4FTFPKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 69 of file G4FTFPKaonBuilder.cc.

71{
72 theModel->SetMinEnergy(theMin);
73 theModel->SetMaxEnergy(theMax);
74 aP->RegisterMe(theModel);
75}

◆ Build() [6/10]

virtual void G4VKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [7/10]

void G4FTFPKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 85 of file G4FTFPKaonBuilder.cc.

87{
88 theModel->SetMinEnergy(theMin);
89 theModel->SetMaxEnergy(theMax);
90 aP->RegisterMe(theModel);
91}

◆ Build() [8/10]

virtual void G4VKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [9/10]

void G4FTFPKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 93 of file G4FTFPKaonBuilder.cc.

95{
96 theModel->SetMinEnergy(theMin);
97 theModel->SetMaxEnergy(theMax);
98 aP->RegisterMe(theModel);
99}

◆ Build() [10/10]

virtual void G4VKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ SetMaxEnergy()

virtual void G4FTFPKaonBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 70 of file G4FTFPKaonBuilder.hh.

70{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFPKaonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 69 of file G4FTFPKaonBuilder.hh.

69{theMin = aM;}

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