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

#include <G4FTFBinaryPiKBuilder.hh>

Inheritance diagram for G4FTFBinaryPiKBuilder:
Collaboration diagram for G4FTFBinaryPiKBuilder:

Public Member Functions

 G4FTFBinaryPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFBinaryPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4PionPlusInelasticProcess *aP)
 
virtual void Build (G4PionMinusInelasticProcess *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 G4VPiKBuilder
 G4VPiKBuilder ()
 
virtual ~G4VPiKBuilder ()
 

Detailed Description

Definition at line 58 of file G4FTFBinaryPiKBuilder.hh.

Constructor & Destructor Documentation

G4FTFBinaryPiKBuilder::G4FTFBinaryPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 51 of file G4FTFBinaryPiKBuilder.cc.

52 {
54  theMin = 4*GeV;
55  theModel = new G4TheoFSGenerator("FTFB");
56 
57  theStringModel = new G4FTFModel;
58  theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
59  theStringModel->SetFragmentationModel(theStringDecay);
60 
61  theCascade = new G4BinaryCascade;
62 
63  theModel->SetHighEnergyGenerator(theStringModel);
64  if (quasiElastic)
65  {
66  theQuasiElastic=new G4QuasiElasticChannel;
67  theModel->SetQuasiElasticChannel(theQuasiElastic);
68  } else
69  { theQuasiElastic=0;}
70 
71  theModel->SetTransport(theCascade);
72  theModel->SetMinEnergy(theMin);
73  theModel->SetMaxEnergy(100*TeV);
74 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
static const char * Default_Name()
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
static G4CrossSectionDataSetRegistry * Instance()
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:

G4FTFBinaryPiKBuilder::~G4FTFBinaryPiKBuilder ( )
virtual

Definition at line 76 of file G4FTFBinaryPiKBuilder.cc.

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

Member Function Documentation

void G4FTFBinaryPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 85 of file G4FTFBinaryPiKBuilder.cc.

85 {}
void G4FTFBinaryPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 88 of file G4FTFBinaryPiKBuilder.cc.

89 {
90  theModel->SetMinEnergy(theMin);
91  aP->AddDataSet(thePiData);
92  aP->RegisterMe(theModel);
93 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

Here is the call graph for this function:

void G4FTFBinaryPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 96 of file G4FTFBinaryPiKBuilder.cc.

97 {
98  theModel->SetMinEnergy(theMin);
99  aP->AddDataSet(thePiData);
100  aP->RegisterMe(theModel);
101 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

Here is the call graph for this function:

void G4FTFBinaryPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 104 of file G4FTFBinaryPiKBuilder.cc.

105 {
106  theModel->SetMinEnergy(theMin);
107  aP->RegisterMe(theModel);
108 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 111 of file G4FTFBinaryPiKBuilder.cc.

112 {
113  theModel->SetMinEnergy(theMin);
114  aP->RegisterMe(theModel);
115 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 118 of file G4FTFBinaryPiKBuilder.cc.

119 {
120  theModel->SetMinEnergy(theMin);
121  aP->RegisterMe(theModel);
122 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 125 of file G4FTFBinaryPiKBuilder.cc.

126 {
127  theModel->SetMinEnergy(theMin);
128  aP->RegisterMe(theModel);
129 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)

Here is the call graph for this function:

void G4FTFBinaryPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 73 of file G4FTFBinaryPiKBuilder.hh.

73 {theMin = aM;}

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