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

#include <G4FTFPKaonBuilder.hh>

Inheritance diagram for G4FTFPKaonBuilder:
Collaboration diagram for G4FTFPKaonBuilder:

Public Member Functions

 G4FTFPKaonBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPKaonBuilder ()
 
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 57 of file G4FTFPKaonBuilder.hh.

Constructor & Destructor Documentation

G4FTFPKaonBuilder::G4FTFPKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 41 of file G4FTFPKaonBuilder.cc.

42 {
43  theMin = 4*GeV;
44  theMax = 100*TeV;
45  theModel = new G4TheoFSGenerator("FTFP");
46 
47  theStringModel = new G4FTFModel;
48  theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
49  theStringModel->SetFragmentationModel(theStringDecay);
50 
51  theCascade = new G4GeneratorPrecompoundInterface();
52 
53  theModel->SetHighEnergyGenerator(theStringModel);
54  if (quasiElastic)
55  {
56  theQuasiElastic=new G4QuasiElasticChannel;
57  theModel->SetQuasiElasticChannel(theQuasiElastic);
58  } else
59  { theQuasiElastic=0;}
60 
61  theModel->SetTransport(theCascade);
62  theModel->SetMinEnergy(theMin);
63  theModel->SetMaxEnergy(100*TeV);
64 }
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:

G4FTFPKaonBuilder::~G4FTFPKaonBuilder ( )
virtual

Definition at line 66 of file G4FTFPKaonBuilder.cc.

67 {
68  delete theStringDecay;
69  delete theStringModel;
70  //delete theModel;
71  if ( theQuasiElastic ) delete theQuasiElastic;
72  //delete theHandler;
73  delete theLund;
74 }

Member Function Documentation

void G4FTFPKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 77 of file G4FTFPKaonBuilder.cc.

77 {}
void G4FTFPKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 80 of file G4FTFPKaonBuilder.cc.

81 {
82  theModel->SetMinEnergy(theMin);
83  theModel->SetMaxEnergy(theMax);
84  aP->RegisterMe(theModel);
85 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 88 of file G4FTFPKaonBuilder.cc.

89 {
90  theModel->SetMinEnergy(theMin);
91  theModel->SetMaxEnergy(theMax);
92  aP->RegisterMe(theModel);
93 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 96 of file G4FTFPKaonBuilder.cc.

97 {
98  theModel->SetMinEnergy(theMin);
99  theModel->SetMaxEnergy(theMax);
100  aP->RegisterMe(theModel);
101 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 104 of file G4FTFPKaonBuilder.cc.

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

Here is the call graph for this function:

void G4FTFPKaonBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 71 of file G4FTFPKaonBuilder.hh.

71 {theMax = aM;}
void G4FTFPKaonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4FTFPKaonBuilder.hh.

70 {theMin = aM;}

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