Geant4 11.2.2
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
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()=default
 
virtual ~G4VKaonBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 

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
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/2]

virtual void G4FTFPKaonBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 63 of file G4FTFPKaonBuilder.hh.

63{};

◆ Build() [2/2]

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)

◆ 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: