Geant4 9.6.0
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)
 
virtual void Build (G4KaonPlusInelasticProcess *aP)
 
virtual void Build (G4KaonMinusInelasticProcess *aP)
 
virtual void Build (G4KaonZeroLInelasticProcess *aP)
 
virtual void Build (G4KaonZeroSInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()
 
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
 

Detailed Description

Definition at line 59 of file G4FTFBinaryKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryKaonBuilder()

G4FTFBinaryKaonBuilder::G4FTFBinaryKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 53 of file G4FTFBinaryKaonBuilder.cc.

55{
56 theMin = 4*GeV;
57 theModel = new G4TheoFSGenerator("FTFB");
58
59 theStringModel = new G4FTFModel;
60 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
61 theStringModel->SetFragmentationModel(theStringDecay);
62
63 theCascade = new G4BinaryCascade;
64 thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
65 theCascade->SetDeExcitation(thePreEquilib);
66
67 theModel->SetHighEnergyGenerator(theStringModel);
68 if (quasiElastic)
69 {
70 theQuasiElastic=new G4QuasiElasticChannel;
71 theModel->SetQuasiElasticChannel(theQuasiElastic);
72 } else
73 { theQuasiElastic=0;}
74
75 theModel->SetTransport(theCascade);
76 theModel->SetMinEnergy(theMin);
77 theModel->SetMaxEnergy(100*TeV);
78}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFBinaryKaonBuilder()

G4FTFBinaryKaonBuilder::~G4FTFBinaryKaonBuilder ( )
virtual

Definition at line 80 of file G4FTFBinaryKaonBuilder.cc.

81{
82 delete theCascade;
83 delete theStringDecay;
84 delete theStringModel;
85 delete theModel;
86 if ( theQuasiElastic ) delete theQuasiElastic;
87}

Member Function Documentation

◆ Build() [1/5]

void G4FTFBinaryKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 89 of file G4FTFBinaryKaonBuilder.cc.

90{}

◆ Build() [2/5]

void G4FTFBinaryKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 100 of file G4FTFBinaryKaonBuilder.cc.

102{
103 theModel->SetMinEnergy(theMin);
105 aP->RegisterMe(theModel);
106}
static G4CrossSectionDataSetRegistry * Instance()
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/5]

void G4FTFBinaryKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 92 of file G4FTFBinaryKaonBuilder.cc.

94{
95 theModel->SetMinEnergy(theMin);
97 aP->RegisterMe(theModel);
98}

◆ Build() [4/5]

void G4FTFBinaryKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 108 of file G4FTFBinaryKaonBuilder.cc.

110{
111 theModel->SetMinEnergy(theMin);
113 aP->RegisterMe(theModel);
114}

◆ Build() [5/5]

void G4FTFBinaryKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 116 of file G4FTFBinaryKaonBuilder.cc.

118{
119 theModel->SetMinEnergy(theMin);
120
122 aP->RegisterMe(theModel);
123}

◆ SetMinEnergy()

void G4FTFBinaryKaonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 72 of file G4FTFBinaryKaonBuilder.hh.

72{theMin = aM;}

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