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

#include <G4FTFBinaryKaonBuilder.hh>

+ Inheritance diagram for G4FTFBinaryKaonBuilder:

Public Member Functions

 G4FTFBinaryKaonBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFBinaryKaonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP) 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 54 of file G4FTFBinaryKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryKaonBuilder()

G4FTFBinaryKaonBuilder::G4FTFBinaryKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 48 of file G4FTFBinaryKaonBuilder.cc.

50{
53 theModel = new G4TheoFSGenerator("FTFB");
54
55 G4FTFModel* theStringModel = new G4FTFModel;
56 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
57
58 G4BinaryCascade* theCascade = new G4BinaryCascade;
59 theModel->SetTransport(theCascade);
60
61 theModel->SetHighEnergyGenerator(theStringModel);
62 theModel->SetMinEnergy(theMin);
63 theModel->SetMaxEnergy(theMax);
64
65 if (quasiElastic) {
67 }
68}
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)

◆ ~G4FTFBinaryKaonBuilder()

G4FTFBinaryKaonBuilder::~G4FTFBinaryKaonBuilder ( )
virtual

Definition at line 70 of file G4FTFBinaryKaonBuilder.cc.

71{
72}

Member Function Documentation

◆ Build() [1/4]

void G4FTFBinaryKaonBuilder::Build ( G4HadronElasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 74 of file G4FTFBinaryKaonBuilder.cc.

75{}

◆ Build() [2/4]

virtual void G4VKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ Build() [3/4]

void G4FTFBinaryKaonBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 77 of file G4FTFBinaryKaonBuilder.cc.

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

◆ Build() [4/4]

virtual void G4VKaonBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

◆ SetMaxEnergy()

virtual void G4FTFBinaryKaonBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 64 of file G4FTFBinaryKaonBuilder.hh.

64{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFBinaryKaonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 63 of file G4FTFBinaryKaonBuilder.hh.

63{theMin = aM;}

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