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

#include <G4FTFPPiKBuilder.hh>

Inheritance diagram for G4FTFPPiKBuilder:
G4VPiKBuilder

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 61 of file G4FTFPPiKBuilder.hh.

Constructor & Destructor Documentation

G4FTFPPiKBuilder::G4FTFPPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 50 of file G4FTFPPiKBuilder.cc.

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

51 {
52  thePiData = new G4CrossSectionPairGG(new G4PiNuclearCrossSection(), 91*GeV);
53  theMin = 4*GeV;
54  theMax = 100*TeV;
55  theModel = new G4TheoFSGenerator("FTFP");
56 
57  theStringModel = new G4FTFModel;
58  theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
59  theStringModel->SetFragmentationModel(theStringDecay);
60 
61  thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
62  theCascade = new G4GeneratorPrecompoundInterface(thePreEquilib);
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)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4FTFPPiKBuilder::~G4FTFPPiKBuilder ( )
virtual

Definition at line 77 of file G4FTFPPiKBuilder.cc.

78 {
79  delete theCascade;
80  delete theStringDecay;
81  delete theStringModel;
82  delete theModel;
83  if ( theQuasiElastic ) delete theQuasiElastic;
84  //delete theHandler;
85  delete theLund;
86 }

Member Function Documentation

void G4FTFPPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 89 of file G4FTFPPiKBuilder.cc.

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

Implements G4VPiKBuilder.

Definition at line 92 of file G4FTFPPiKBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

93 {
94  theModel->SetMinEnergy(theMin);
95  theModel->SetMaxEnergy(theMax);
96  aP->AddDataSet(thePiData);
97  aP->RegisterMe(theModel);
98 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 101 of file G4FTFPPiKBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

102 {
103  theModel->SetMinEnergy(theMin);
104  theModel->SetMaxEnergy(theMax);
105  aP->AddDataSet(thePiData);
106  aP->RegisterMe(theModel);
107 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 110 of file G4FTFPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

111 {
112  theModel->SetMinEnergy(theMin);
113  theModel->SetMaxEnergy(theMax);
114  aP->RegisterMe(theModel);
115 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 118 of file G4FTFPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

119 {
120  theModel->SetMinEnergy(theMin);
121  theModel->SetMaxEnergy(theMax);
122  aP->RegisterMe(theModel);
123 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 126 of file G4FTFPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

127 {
128  theModel->SetMinEnergy(theMin);
129  theModel->SetMaxEnergy(theMax);
130  aP->RegisterMe(theModel);
131 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 134 of file G4FTFPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

135 {
136  theModel->SetMinEnergy(theMin);
137  theModel->SetMaxEnergy(theMax);
138  aP->RegisterMe(theModel);
139 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPPiKBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 77 of file G4FTFPPiKBuilder.hh.

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

Definition at line 76 of file G4FTFPPiKBuilder.hh.

76 {theMin = aM;}

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