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

#include <G4QGSBinaryPiKBuilder.hh>

Inheritance diagram for G4QGSBinaryPiKBuilder:
Collaboration diagram for G4QGSBinaryPiKBuilder:

Public Member Functions

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

Constructor & Destructor Documentation

G4QGSBinaryPiKBuilder::G4QGSBinaryPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 52 of file G4QGSBinaryPiKBuilder.cc.

53 {
55 
56  theMin = 12*GeV;
57  theModel = new G4TheoFSGenerator("QGSB");
58 
59  theStringModel = new G4QGSModel< G4QGSParticipants >;
60  theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
61  theStringModel->SetFragmentationModel(theStringDecay);
62 
63 
64  theCascade = new G4BinaryCascade;
65 
66  theModel->SetHighEnergyGenerator(theStringModel);
67  if (quasiElastic)
68  {
69  theQuasiElastic=new G4QuasiElasticChannel;
70  theModel->SetQuasiElasticChannel(theQuasiElastic);
71  } else
72  { theQuasiElastic=0;}
73  theModel->SetTransport(theCascade);
74 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
static const char * Default_Name()
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static G4CrossSectionDataSetRegistry * Instance()
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4QGSBinaryPiKBuilder::~G4QGSBinaryPiKBuilder ( )
virtual

Definition at line 77 of file G4QGSBinaryPiKBuilder.cc.

78 {
79  if ( theQuasiElastic ) delete theQuasiElastic;
80  delete theStringDecay;
81  delete theStringModel;
82 }

Member Function Documentation

void G4QGSBinaryPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 85 of file G4QGSBinaryPiKBuilder.cc.

85 {}
void G4QGSBinaryPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 88 of file G4QGSBinaryPiKBuilder.cc.

89 {
90  theModel->SetMinEnergy(theMin);
91  theModel->SetMaxEnergy(100*TeV);
92  aP->AddDataSet(thePiData);
93  aP->RegisterMe(theModel);
94 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSBinaryPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 97 of file G4QGSBinaryPiKBuilder.cc.

98 {
99  theModel->SetMinEnergy(theMin);
100  theModel->SetMaxEnergy(100*TeV);
101  aP->AddDataSet(thePiData);
102  aP->RegisterMe(theModel);
103 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSBinaryPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 106 of file G4QGSBinaryPiKBuilder.cc.

107 {
108  theModel->SetMinEnergy(theMin);
109  theModel->SetMaxEnergy(100*TeV);
110  aP->RegisterMe(theModel);
112 }
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 G4QGSBinaryPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 115 of file G4QGSBinaryPiKBuilder.cc.

116 {
117  theModel->SetMinEnergy(theMin);
118  theModel->SetMaxEnergy(100*TeV);
119  aP->RegisterMe(theModel);
121 }
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 G4QGSBinaryPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 124 of file G4QGSBinaryPiKBuilder.cc.

125 {
126  theModel->SetMinEnergy(theMin);
127  theModel->SetMaxEnergy(100*TeV);
128  aP->RegisterMe(theModel);
130 }
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 G4QGSBinaryPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 133 of file G4QGSBinaryPiKBuilder.cc.

134 {
135  theModel->SetMinEnergy(theMin);
136  theModel->SetMaxEnergy(100*TeV);
137  aP->RegisterMe(theModel);
138 }
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 G4QGSBinaryPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 75 of file G4QGSBinaryPiKBuilder.hh.

75 {theMin = aM;}

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