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

#include <G4FTFPKaonBuilder.hh>

Inheritance diagram for G4FTFPKaonBuilder:
G4VKaonBuilder

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 59 of file G4FTFPKaonBuilder.hh.

Constructor & Destructor Documentation

G4FTFPKaonBuilder::G4FTFPKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 41 of file G4FTFPKaonBuilder.cc.

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

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  thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
52  theCascade = new G4GeneratorPrecompoundInterface(thePreEquilib);
53 
54  theModel->SetHighEnergyGenerator(theStringModel);
55  if (quasiElastic)
56  {
57  theQuasiElastic=new G4QuasiElasticChannel;
58  theModel->SetQuasiElasticChannel(theQuasiElastic);
59  } else
60  { theQuasiElastic=0;}
61 
62  theModel->SetTransport(theCascade);
63  theModel->SetMinEnergy(theMin);
64  theModel->SetMaxEnergy(100*TeV);
65 }
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)
G4FTFPKaonBuilder::~G4FTFPKaonBuilder ( )
virtual

Definition at line 67 of file G4FTFPKaonBuilder.cc.

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

Member Function Documentation

void G4FTFPKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 79 of file G4FTFPKaonBuilder.cc.

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

Implements G4VKaonBuilder.

Definition at line 82 of file G4FTFPKaonBuilder.cc.

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

83 {
84  theModel->SetMinEnergy(theMin);
85  theModel->SetMaxEnergy(theMax);
86  aP->RegisterMe(theModel);
87 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 90 of file G4FTFPKaonBuilder.cc.

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

91 {
92  theModel->SetMinEnergy(theMin);
93  theModel->SetMaxEnergy(theMax);
94  aP->RegisterMe(theModel);
95 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 98 of file G4FTFPKaonBuilder.cc.

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

99 {
100  theModel->SetMinEnergy(theMin);
101  theModel->SetMaxEnergy(theMax);
102  aP->RegisterMe(theModel);
103 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 106 of file G4FTFPKaonBuilder.cc.

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

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

Definition at line 73 of file G4FTFPKaonBuilder.hh.

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

Definition at line 72 of file G4FTFPKaonBuilder.hh.

72 {theMin = aM;}

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