Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4FTFBinaryKaonBuilder Class Reference

#include <G4FTFBinaryKaonBuilder.hh>

Inheritance diagram for G4FTFBinaryKaonBuilder:
G4VKaonBuilder

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 58 of file G4FTFBinaryKaonBuilder.hh.

Constructor & Destructor Documentation

G4FTFBinaryKaonBuilder::G4FTFBinaryKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 53 of file G4FTFBinaryKaonBuilder.cc.

References python.hepunit::GeV, G4VIntraNuclearTransportModel::SetDeExcitation(), G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4TheoFSGenerator::SetQuasiElasticChannel(), G4TheoFSGenerator::SetTransport(), and python.hepunit::TeV.

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  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(theMax);
78 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetTransport(G4VIntraNuclearTransportModel *const value)
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

void G4FTFBinaryKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 90 of file G4FTFBinaryKaonBuilder.cc.

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

Implements G4VKaonBuilder.

Definition at line 93 of file G4FTFBinaryKaonBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4ChipsKaonPlusInelasticXS::Default_Name(), G4CrossSectionDataSetRegistry::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

94 {
95  theModel->SetMinEnergy(theMin);
96  theModel->SetMaxEnergy(theMax);
98  aP->RegisterMe(theModel);
99 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4FTFBinaryKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 102 of file G4FTFBinaryKaonBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4ChipsKaonMinusInelasticXS::Default_Name(), G4CrossSectionDataSetRegistry::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

103 {
104  theModel->SetMinEnergy(theMin);
105  theModel->SetMaxEnergy(theMax);
107  aP->RegisterMe(theModel);
108 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4FTFBinaryKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 111 of file G4FTFBinaryKaonBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4ChipsKaonZeroInelasticXS::Default_Name(), G4CrossSectionDataSetRegistry::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

112 {
113  theModel->SetMinEnergy(theMin);
114  theModel->SetMaxEnergy(theMax);
116  aP->RegisterMe(theModel);
117 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4FTFBinaryKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 120 of file G4FTFBinaryKaonBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4ChipsKaonZeroInelasticXS::Default_Name(), G4CrossSectionDataSetRegistry::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

121 {
122  theModel->SetMinEnergy(theMin);
123  theModel->SetMaxEnergy(theMax);
125  aP->RegisterMe(theModel);
126 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4FTFBinaryKaonBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 72 of file G4FTFBinaryKaonBuilder.hh.

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

Definition at line 71 of file G4FTFBinaryKaonBuilder.hh.

71 {theMin = aM;}

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