G4QGSC_QGSCPiKBuilder Class Reference

#include <G4QGSC_QGSCPiKBuilder.hh>

Inheritance diagram for G4QGSC_QGSCPiKBuilder:

G4VPiKBuilder

Public Member Functions

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

Detailed Description

Definition at line 47 of file G4QGSC_QGSCPiKBuilder.hh.


Constructor & Destructor Documentation

G4QGSC_QGSCPiKBuilder::G4QGSC_QGSCPiKBuilder ( G4bool  quasiElastic = false  ) 

Definition at line 33 of file G4QGSC_QGSCPiKBuilder.cc.

References G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4TheoFSGenerator::SetQuasiElasticChannel(), and G4TheoFSGenerator::SetTransport().

00034 {
00035   theMin = 0*GeV;
00036   theModel = new G4TheoFSGenerator("QGSC");
00037   
00038   theStringModel = new G4QGSModel< G4QGSParticipants >;
00039   theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
00040   theStringModel->SetFragmentationModel(theStringDecay);
00041 
00042   theCascade = new G4QStringChipsParticleLevelInterface;
00043 
00044   theModel->SetTransport(theCascade);
00045   theModel->SetHighEnergyGenerator(theStringModel);
00046   if (quasiElastic)
00047   {
00048      theQuasiElastic=new G4QuasiElasticChannel;
00049      theModel->SetQuasiElasticChannel(theQuasiElastic);
00050   } else 
00051   {  theQuasiElastic=0;}  
00052 }

G4QGSC_QGSCPiKBuilder::~G4QGSC_QGSCPiKBuilder (  )  [virtual]

Definition at line 55 of file G4QGSC_QGSCPiKBuilder.cc.

00056 {
00057   delete theCascade;
00058   delete theStringDecay;
00059   delete theStringModel;
00060   if ( theQuasiElastic ) delete theQuasiElastic;
00061   delete theModel;
00062 }


Member Function Documentation

void G4QGSC_QGSCPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 110 of file G4QGSC_QGSCPiKBuilder.cc.

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

00111 {
00112   theModel->SetMinEnergy(theMin);
00113   theModel->SetMaxEnergy(100*TeV);
00114   aP->RegisterMe(theModel);
00115 }

void G4QGSC_QGSCPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 102 of file G4QGSC_QGSCPiKBuilder.cc.

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

00103 {
00104   theModel->SetMinEnergy(theMin);
00105   theModel->SetMaxEnergy(100*TeV);
00106   aP->RegisterMe(theModel);
00107 }

void G4QGSC_QGSCPiKBuilder::Build ( G4KaonMinusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 94 of file G4QGSC_QGSCPiKBuilder.cc.

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

00095 {
00096   theModel->SetMinEnergy(theMin);
00097   theModel->SetMaxEnergy(100*TeV);
00098   aP->RegisterMe(theModel);
00099 }

void G4QGSC_QGSCPiKBuilder::Build ( G4KaonPlusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 86 of file G4QGSC_QGSCPiKBuilder.cc.

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

00087 {
00088   theModel->SetMinEnergy(theMin);
00089   theModel->SetMaxEnergy(100*TeV);
00090   aP->RegisterMe(theModel);
00091 }

void G4QGSC_QGSCPiKBuilder::Build ( G4PionMinusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 77 of file G4QGSC_QGSCPiKBuilder.cc.

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

00078 {
00079   theModel->SetMinEnergy(theMin);
00080   theModel->SetMaxEnergy(100*TeV);
00081   aP->AddDataSet(&thePiCross);
00082   aP->RegisterMe(theModel);
00083 }

void G4QGSC_QGSCPiKBuilder::Build ( G4PionPlusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 68 of file G4QGSC_QGSCPiKBuilder.cc.

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

00069 {
00070   theModel->SetMinEnergy(theMin);
00071   theModel->SetMaxEnergy(100*TeV);
00072   aP->AddDataSet(&thePiCross);
00073   aP->RegisterMe(theModel);
00074 }

void G4QGSC_QGSCPiKBuilder::Build ( G4HadronElasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 65 of file G4QGSC_QGSCPiKBuilder.cc.

00065 {}

void G4QGSC_QGSCPiKBuilder::SetMinEnergy ( G4double  aM  )  [inline]

Definition at line 62 of file G4QGSC_QGSCPiKBuilder.hh.

00062 {theMin = aM;}


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:07 2013 for Geant4 by  doxygen 1.4.7