Geant4 11.1.1
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 (G4HadronInelasticProcess *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 (G4HadronInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()=default
 
virtual ~G4VKaonBuilder ()
 
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 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/4]

virtual void G4FTFPKaonBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 63 of file G4FTFPKaonBuilder.hh.

63{};

◆ Build() [2/4]

virtual void G4VKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [3/4]

void G4FTFPKaonBuilder::Build ( G4HadronInelasticProcess 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}
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [4/4]

virtual void G4VKaonBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ SetMaxEnergy()

virtual void G4FTFPKaonBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4FTFPKaonBuilder.hh.

67{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFPKaonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4FTFPKaonBuilder.hh.

66{theMin = aM;}

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