Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FTFPPiKBuilder Class Reference

#include <G4FTFPPiKBuilder.hh>

Inheritance diagram for G4FTFPPiKBuilder:
Collaboration diagram for G4FTFPPiKBuilder:

Public Member Functions

 G4FTFPPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPPiKBuilder ()
 
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)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VPiKBuilder
 G4VPiKBuilder ()
 
virtual ~G4VPiKBuilder ()
 

Detailed Description

Definition at line 59 of file G4FTFPPiKBuilder.hh.

Constructor & Destructor Documentation

G4FTFPPiKBuilder::G4FTFPPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 51 of file G4FTFPPiKBuilder.cc.

52 {
54  theMin = 4*GeV;
55  theMax = 100*TeV;
56  theModel = new G4TheoFSGenerator("FTFP");
57 
58  theStringModel = new G4FTFModel;
59  theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
60  theStringModel->SetFragmentationModel(theStringDecay);
61 
62  theCascade = new G4GeneratorPrecompoundInterface();
63 
64  theModel->SetHighEnergyGenerator(theStringModel);
65  if (quasiElastic)
66  {
67  theQuasiElastic=new G4QuasiElasticChannel;
68  theModel->SetQuasiElasticChannel(theQuasiElastic);
69  } else
70  { theQuasiElastic=0;}
71 
72  theModel->SetTransport(theCascade);
73  theModel->SetMinEnergy(theMin);
74  theModel->SetMaxEnergy(100*TeV);
75 }
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:

G4FTFPPiKBuilder::~G4FTFPPiKBuilder ( )
virtual

Definition at line 77 of file G4FTFPPiKBuilder.cc.

78 {
79  delete theStringDecay;
80  delete theStringModel;
81  if ( theQuasiElastic ) delete theQuasiElastic;
82  delete theLund;
83 }

Member Function Documentation

void G4FTFPPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 86 of file G4FTFPPiKBuilder.cc.

86 {}
void G4FTFPPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 89 of file G4FTFPPiKBuilder.cc.

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

Here is the call graph for this function:

void G4FTFPPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 98 of file G4FTFPPiKBuilder.cc.

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

Here is the call graph for this function:

void G4FTFPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 107 of file G4FTFPPiKBuilder.cc.

108 {
109  theModel->SetMinEnergy(theMin);
110  theModel->SetMaxEnergy(theMax);
111  aP->RegisterMe(theModel);
112 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 115 of file G4FTFPPiKBuilder.cc.

116 {
117  theModel->SetMinEnergy(theMin);
118  theModel->SetMaxEnergy(theMax);
119  aP->RegisterMe(theModel);
120 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 123 of file G4FTFPPiKBuilder.cc.

124 {
125  theModel->SetMinEnergy(theMin);
126  theModel->SetMaxEnergy(theMax);
127  aP->RegisterMe(theModel);
128 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 131 of file G4FTFPPiKBuilder.cc.

132 {
133  theModel->SetMinEnergy(theMin);
134  theModel->SetMaxEnergy(theMax);
135  aP->RegisterMe(theModel);
136 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPPiKBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 75 of file G4FTFPPiKBuilder.hh.

75 {theMax = aM;}
void G4FTFPPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 74 of file G4FTFPPiKBuilder.hh.

74 {theMin = aM;}

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