Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4QGSBinaryKaonBuilder Class Reference

#include <G4QGSBinaryKaonBuilder.hh>

Inheritance diagram for G4QGSBinaryKaonBuilder:
Collaboration diagram for G4QGSBinaryKaonBuilder:

Public Member Functions

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

Constructor & Destructor Documentation

G4QGSBinaryKaonBuilder::G4QGSBinaryKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 46 of file G4QGSBinaryKaonBuilder.cc.

47 {
48  theMin = 12*GeV;
49  theModel = new G4TheoFSGenerator("QGSB");
50 
51  theStringModel = new G4QGSModel< G4QGSParticipants >;
52  theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
53  theStringModel->SetFragmentationModel(theStringDecay);
54 
55  theCascade = new G4BinaryCascade;
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 GeV
Definition: G4SIunits.hh:217
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4QGSBinaryKaonBuilder::~G4QGSBinaryKaonBuilder ( )
virtual

Definition at line 68 of file G4QGSBinaryKaonBuilder.cc.

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

Member Function Documentation

void G4QGSBinaryKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 76 of file G4QGSBinaryKaonBuilder.cc.

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

Implements G4VKaonBuilder.

Definition at line 79 of file G4QGSBinaryKaonBuilder.cc.

80 {
81  theModel->SetMinEnergy(theMin);
82  theModel->SetMaxEnergy(100*TeV);
83  aP->RegisterMe(theModel);
85 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
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 G4QGSBinaryKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 88 of file G4QGSBinaryKaonBuilder.cc.

89 {
90  theModel->SetMinEnergy(theMin);
91  theModel->SetMaxEnergy(100*TeV);
92  aP->RegisterMe(theModel);
94 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
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 G4QGSBinaryKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 97 of file G4QGSBinaryKaonBuilder.cc.

98 {
99  theModel->SetMinEnergy(theMin);
100  theModel->SetMaxEnergy(100*TeV);
101  aP->RegisterMe(theModel);
103 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
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 G4QGSBinaryKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 106 of file G4QGSBinaryKaonBuilder.cc.

107 {
108  theModel->SetMinEnergy(theMin);
109  theModel->SetMaxEnergy(100*TeV);
110  aP->RegisterMe(theModel);
111 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSBinaryKaonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4QGSBinaryKaonBuilder.hh.

70 {theMin = aM;}

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