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

#include <G4QGSPKaonBuilder.hh>

Inheritance diagram for G4QGSPKaonBuilder:
Collaboration diagram for G4QGSPKaonBuilder:

Public Member Functions

 G4QGSPKaonBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPKaonBuilder ()
 
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)
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()
 
virtual ~G4VKaonBuilder ()
 

Detailed Description

Definition at line 57 of file G4QGSPKaonBuilder.hh.

Constructor & Destructor Documentation

G4QGSPKaonBuilder::G4QGSPKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 45 of file G4QGSPKaonBuilder.cc.

46 {
47  theMin = 12.0*GeV;
48  theMax = 100.0*TeV;
49  theModel = new G4TheoFSGenerator("QGSP");
50 
51  theStringModel = new G4QGSModel< G4QGSParticipants >;
52  theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
53  theStringModel->SetFragmentationModel(theStringDecay);
54 
55  theCascade = new G4GeneratorPrecompoundInterface;
56 
57  theModel->SetHighEnergyGenerator(theStringModel);
58  if (quasiElastic)
59  {
60  theQuasiElastic=new G4QuasiElasticChannel;
61  theModel->SetQuasiElasticChannel(theQuasiElastic);
62  } else
63  { theQuasiElastic=0;}
64  theModel->SetTransport(theCascade);
65 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static constexpr double TeV
Definition: G4SIunits.hh:218
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4QGSPKaonBuilder::~G4QGSPKaonBuilder ( )
virtual

Definition at line 68 of file G4QGSPKaonBuilder.cc.

69 {
70  if ( theQuasiElastic ) delete theQuasiElastic;
71  delete theStringDecay;
72  delete theStringModel;
73 }

Member Function Documentation

void G4QGSPKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 76 of file G4QGSPKaonBuilder.cc.

76 {}
void G4QGSPKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 79 of file G4QGSPKaonBuilder.cc.

80 {
81  theModel->SetMinEnergy(theMin);
82  theModel->SetMaxEnergy(theMax);
83  aP->RegisterMe(theModel);
85 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSPKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 88 of file G4QGSPKaonBuilder.cc.

89 {
90  theModel->SetMinEnergy(theMin);
91  theModel->SetMaxEnergy(theMax);
92  aP->RegisterMe(theModel);
94 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSPKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 97 of file G4QGSPKaonBuilder.cc.

98 {
99  theModel->SetMinEnergy(theMin);
100  theModel->SetMaxEnergy(theMax);
101  aP->RegisterMe(theModel);
103 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSPKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 106 of file G4QGSPKaonBuilder.cc.

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)

Here is the call graph for this function:

void G4QGSPKaonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4QGSPKaonBuilder.hh.

70 {theMin = aM;}

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