Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4FTFBinaryKaonBuilder Class Reference

#include <G4FTFBinaryKaonBuilder.hh>

Inheritance diagram for G4FTFBinaryKaonBuilder:
Collaboration 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)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()
 
virtual ~G4VKaonBuilder ()
 

Detailed Description

Definition at line 56 of file G4FTFBinaryKaonBuilder.hh.

Constructor & Destructor Documentation

G4FTFBinaryKaonBuilder::G4FTFBinaryKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 53 of file G4FTFBinaryKaonBuilder.cc.

54 {
55  theMin = 4*GeV;
56  theMax = 100*TeV;
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 
65  theModel->SetHighEnergyGenerator(theStringModel);
66  if (quasiElastic)
67  {
68  theQuasiElastic=new G4QuasiElasticChannel;
69  theModel->SetQuasiElasticChannel(theQuasiElastic);
70  } else
71  { theQuasiElastic=0;}
72 
73  theModel->SetTransport(theCascade);
74  theModel->SetMinEnergy(theMin);
75  theModel->SetMaxEnergy(theMax);
76 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4FTFBinaryKaonBuilder::~G4FTFBinaryKaonBuilder ( )
virtual

Definition at line 78 of file G4FTFBinaryKaonBuilder.cc.

79 {
80  delete theStringDecay;
81  delete theStringModel;
82  //delete theModel;
83  if ( theQuasiElastic ) delete theQuasiElastic;
84 }

Member Function Documentation

void G4FTFBinaryKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 87 of file G4FTFBinaryKaonBuilder.cc.

87 {}
void G4FTFBinaryKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 90 of file G4FTFBinaryKaonBuilder.cc.

91 {
92  theModel->SetMinEnergy(theMin);
93  theModel->SetMaxEnergy(theMax);
95  aP->RegisterMe(theModel);
96 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 99 of file G4FTFBinaryKaonBuilder.cc.

100 {
101  theModel->SetMinEnergy(theMin);
102  theModel->SetMaxEnergy(theMax);
104  aP->RegisterMe(theModel);
105 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 108 of file G4FTFBinaryKaonBuilder.cc.

109 {
110  theModel->SetMinEnergy(theMin);
111  theModel->SetMaxEnergy(theMax);
113  aP->RegisterMe(theModel);
114 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 117 of file G4FTFBinaryKaonBuilder.cc.

118 {
119  theModel->SetMinEnergy(theMin);
120  theModel->SetMaxEnergy(theMax);
122  aP->RegisterMe(theModel);
123 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryKaonBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 70 of file G4FTFBinaryKaonBuilder.hh.

70 {theMax = aM;}
void G4FTFBinaryKaonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 69 of file G4FTFBinaryKaonBuilder.hh.

69 {theMin = aM;}

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