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

#include <G4FTFBinaryPiKBuilder.hh>

Inheritance diagram for G4FTFBinaryPiKBuilder:
G4VPiKBuilder

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 60 of file G4FTFBinaryPiKBuilder.hh.

Constructor & Destructor Documentation

G4FTFBinaryPiKBuilder::G4FTFBinaryPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 50 of file G4FTFBinaryPiKBuilder.cc.

References python.hepunit::GeV, G4VIntraNuclearTransportModel::SetDeExcitation(), 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  theModel = new G4TheoFSGenerator("FTFB");
55 
56  theStringModel = new G4FTFModel;
57  theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
58  theStringModel->SetFragmentationModel(theStringDecay);
59 
60  theCascade = new G4BinaryCascade;
61  thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
62  theCascade->SetDeExcitation(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 SetDeExcitation(G4VPreCompoundModel *ptr)
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4FTFBinaryPiKBuilder::~G4FTFBinaryPiKBuilder ( )
virtual

Definition at line 77 of file G4FTFBinaryPiKBuilder.cc.

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

Member Function Documentation

void G4FTFBinaryPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 87 of file G4FTFBinaryPiKBuilder.cc.

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

Implements G4VPiKBuilder.

Definition at line 90 of file G4FTFBinaryPiKBuilder.cc.

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

91 {
92  theModel->SetMinEnergy(theMin);
93  aP->AddDataSet(thePiData);
94  aP->RegisterMe(theModel);
95 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void G4FTFBinaryPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 98 of file G4FTFBinaryPiKBuilder.cc.

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

99 {
100  theModel->SetMinEnergy(theMin);
101  aP->AddDataSet(thePiData);
102  aP->RegisterMe(theModel);
103 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void G4FTFBinaryPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 106 of file G4FTFBinaryPiKBuilder.cc.

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

107 {
108  theModel->SetMinEnergy(theMin);
109  aP->RegisterMe(theModel);
110 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void G4FTFBinaryPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 113 of file G4FTFBinaryPiKBuilder.cc.

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

114 {
115  theModel->SetMinEnergy(theMin);
116  aP->RegisterMe(theModel);
117 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void G4FTFBinaryPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 120 of file G4FTFBinaryPiKBuilder.cc.

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

121 {
122  theModel->SetMinEnergy(theMin);
123  aP->RegisterMe(theModel);
124 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void G4FTFBinaryPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 127 of file G4FTFBinaryPiKBuilder.cc.

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

128 {
129  theModel->SetMinEnergy(theMin);
130  aP->RegisterMe(theModel);
131 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void G4FTFBinaryPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 75 of file G4FTFBinaryPiKBuilder.hh.

75 {theMin = aM;}

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