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

#include <G4QGSPPiKBuilder.hh>

Inheritance diagram for G4QGSPPiKBuilder:
G4VPiKBuilder

Public Member Functions

 G4QGSPPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPPiKBuilder ()
 
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 G4QGSPPiKBuilder.hh.

Constructor & Destructor Documentation

G4QGSPPiKBuilder::G4QGSPPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 56 of file G4QGSPPiKBuilder.cc.

References python.hepunit::GeV, G4VIntraNuclearTransportModel::SetDeExcitation(), G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4TheoFSGenerator::SetQuasiElasticChannel(), and G4TheoFSGenerator::SetTransport().

57 {
58  thePiData = new G4CrossSectionPairGG(new G4PiNuclearCrossSection(), 91*GeV);
59 
60  theMin = 12*GeV;
61  theModel = new G4TheoFSGenerator("QGSP");
62 
63  theStringModel = new G4QGSModel< G4QGSParticipants >;
64  theStringDecay = new G4ExcitedStringDecay(theQGSM = new G4QGSMFragmentation);
65  theStringModel->SetFragmentationModel(theStringDecay);
66 
67 
68  theCascade = new G4GeneratorPrecompoundInterface;
69  thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
70  theCascade->SetDeExcitation(thePreEquilib);
71 
72  theModel->SetHighEnergyGenerator(theStringModel);
73  if (quasiElastic)
74  {
75  theQuasiElastic=new G4QuasiElasticChannel;
76  theModel->SetQuasiElasticChannel(theQuasiElastic);
77  } else
78  { theQuasiElastic=0;}
79 
80  theModel->SetTransport(theCascade);
81 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4QGSPPiKBuilder::~G4QGSPPiKBuilder ( )
virtual

Definition at line 84 of file G4QGSPPiKBuilder.cc.

85 {
86  delete theCascade;
87  delete thePreEquilib;
88  if ( theQuasiElastic ) delete theQuasiElastic;
89  delete theStringDecay;
90  delete theStringModel;
91  delete theModel;
92  delete theQGSM;
93 }

Member Function Documentation

void G4QGSPPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 96 of file G4QGSPPiKBuilder.cc.

96 {}
void G4QGSPPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 99 of file G4QGSPPiKBuilder.cc.

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

100 {
101  theModel->SetMinEnergy(theMin);
102  theModel->SetMaxEnergy(100*TeV);
103  aP->AddDataSet(thePiData);
104  aP->RegisterMe(theModel);
105 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
void G4QGSPPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 108 of file G4QGSPPiKBuilder.cc.

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

109 {
110  theModel->SetMinEnergy(theMin);
111  theModel->SetMaxEnergy(100*TeV);
112  aP->AddDataSet(thePiData);
113  aP->RegisterMe(theModel);
114 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
void G4QGSPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 117 of file G4QGSPPiKBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4ChipsKaonPlusInelasticXS::Default_Name(), G4CrossSectionDataSetRegistry::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), and python.hepunit::TeV.

118 {
119  theModel->SetMinEnergy(theMin);
120  theModel->SetMaxEnergy(100*TeV);
121  aP->RegisterMe(theModel);
123 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4QGSPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 126 of file G4QGSPPiKBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4ChipsKaonMinusInelasticXS::Default_Name(), G4CrossSectionDataSetRegistry::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), and python.hepunit::TeV.

127 {
128  theModel->SetMinEnergy(theMin);
129  theModel->SetMaxEnergy(100*TeV);
130  aP->RegisterMe(theModel);
132 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4QGSPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 135 of file G4QGSPPiKBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4ChipsKaonZeroInelasticXS::Default_Name(), G4CrossSectionDataSetRegistry::Instance(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), and python.hepunit::TeV.

136 {
137  theModel->SetMinEnergy(theMin);
138  theModel->SetMaxEnergy(100*TeV);
139  aP->RegisterMe(theModel);
141 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4QGSPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 144 of file G4QGSPPiKBuilder.cc.

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

145 {
146  theModel->SetMinEnergy(theMin);
147  theModel->SetMaxEnergy(100*TeV);
148  aP->RegisterMe(theModel);
149 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4QGSPPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 75 of file G4QGSPPiKBuilder.hh.

75 {theMin = aM;}

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