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

#include <G4QGSBinaryKaonBuilder.hh>

Inheritance diagram for G4QGSBinaryKaonBuilder:
G4VKaonBuilder

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 59 of file G4QGSBinaryKaonBuilder.hh.

Constructor & Destructor Documentation

G4QGSBinaryKaonBuilder::G4QGSBinaryKaonBuilder ( G4bool  quasiElastic = false)

Definition at line 47 of file G4QGSBinaryKaonBuilder.cc.

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

48 {
49  theMin = 12*GeV;
50  theModel = new G4TheoFSGenerator("QGSB");
51 
52  theStringModel = new G4QGSModel< G4QGSParticipants >;
53  theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
54  theStringModel->SetFragmentationModel(theStringDecay);
55 
56  theCascade = new G4BinaryCascade;
57  thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
58  theCascade->SetDeExcitation(thePreEquilib);
59 
60  theModel->SetHighEnergyGenerator(theStringModel);
61  if (quasiElastic)
62  {
63  theQuasiElastic=new G4QuasiElasticChannel;
64  theModel->SetQuasiElasticChannel(theQuasiElastic);
65  } else
66  { theQuasiElastic=0;}
67  theModel->SetTransport(theCascade);
68 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4QGSBinaryKaonBuilder::~G4QGSBinaryKaonBuilder ( )
virtual

Definition at line 71 of file G4QGSBinaryKaonBuilder.cc.

72 {
73  delete theCascade;
74  delete thePreEquilib;
75  if ( theQuasiElastic ) delete theQuasiElastic;
76  delete theStringDecay;
77  delete theStringModel;
78  delete theModel;
79 }

Member Function Documentation

void G4QGSBinaryKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 82 of file G4QGSBinaryKaonBuilder.cc.

82 {}
void G4QGSBinaryKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual
void G4QGSBinaryKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual
void G4QGSBinaryKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 103 of file G4QGSBinaryKaonBuilder.cc.

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

104 {
105  theModel->SetMinEnergy(theMin);
106  theModel->SetMaxEnergy(100*TeV);
107  aP->RegisterMe(theModel);
109 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)
void G4QGSBinaryKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 112 of file G4QGSBinaryKaonBuilder.cc.

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

113 {
114  theModel->SetMinEnergy(theMin);
115  theModel->SetMaxEnergy(100*TeV);
116  aP->RegisterMe(theModel);
117 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4QGSBinaryKaonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 72 of file G4QGSBinaryKaonBuilder.hh.

72 {theMin = aM;}

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