G4QGSCEflowPiKBuilder Class Reference

#include <G4QGSCEflowPiKBuilder.hh>

Inheritance diagram for G4QGSCEflowPiKBuilder:

G4VPiKBuilder

Public Member Functions

 G4QGSCEflowPiKBuilder (G4bool quasiElastic=false)
virtual ~G4QGSCEflowPiKBuilder ()
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 60 of file G4QGSCEflowPiKBuilder.hh.


Constructor & Destructor Documentation

G4QGSCEflowPiKBuilder::G4QGSCEflowPiKBuilder ( G4bool  quasiElastic = false  ) 

Definition at line 46 of file G4QGSCEflowPiKBuilder.cc.

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

00047 {
00048   thePiCross = new G4PiNuclearCrossSection; 
00049   theMin = 8*GeV;
00050   theModel = new G4TheoFSGenerator("QGSCEflow");
00051   
00052   theStringModel = new G4QGSModel< G4QGSParticipants >;
00053   theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
00054   theStringModel->SetFragmentationModel(theStringDecay);
00055 
00056   theCascade = new G4StringChipsParticleLevelInterface;
00057 
00058   theModel->SetTransport(theCascade);
00059   theModel->SetHighEnergyGenerator(theStringModel);
00060   if (quasiElastic)
00061   {
00062      theQuasiElastic=new G4QuasiElasticChannel;
00063      theModel->SetQuasiElasticChannel(theQuasiElastic);
00064   } else 
00065   {  theQuasiElastic=0;}  
00066 }

G4QGSCEflowPiKBuilder::~G4QGSCEflowPiKBuilder (  )  [virtual]

Definition at line 69 of file G4QGSCEflowPiKBuilder.cc.

00070 {
00071   delete theCascade;
00072   delete theStringDecay;
00073   delete theStringModel;
00074   if ( theQuasiElastic ) delete theQuasiElastic;
00075   delete theModel;
00076 }


Member Function Documentation

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

Implements G4VPiKBuilder.

Definition at line 124 of file G4QGSCEflowPiKBuilder.cc.

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

00125 {
00126   theModel->SetMinEnergy(theMin);
00127   theModel->SetMaxEnergy(100*TeV);
00128   aP->RegisterMe(theModel);
00129 }

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

Implements G4VPiKBuilder.

Definition at line 116 of file G4QGSCEflowPiKBuilder.cc.

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

00117 {
00118   theModel->SetMinEnergy(theMin);
00119   theModel->SetMaxEnergy(100*TeV);
00120   aP->RegisterMe(theModel);
00121 }

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

Implements G4VPiKBuilder.

Definition at line 108 of file G4QGSCEflowPiKBuilder.cc.

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

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

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

Implements G4VPiKBuilder.

Definition at line 100 of file G4QGSCEflowPiKBuilder.cc.

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

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

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

Implements G4VPiKBuilder.

Definition at line 91 of file G4QGSCEflowPiKBuilder.cc.

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

00092 {
00093   theModel->SetMinEnergy(theMin);
00094   theModel->SetMaxEnergy(100*TeV);
00095   aP->AddDataSet(thePiCross);
00096   aP->RegisterMe(theModel);
00097 }

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

Implements G4VPiKBuilder.

Definition at line 82 of file G4QGSCEflowPiKBuilder.cc.

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

00083 {
00084   theModel->SetMinEnergy(theMin);
00085   theModel->SetMaxEnergy(100*TeV);
00086   aP->AddDataSet(thePiCross);
00087   aP->RegisterMe(theModel);
00088 }

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

Implements G4VPiKBuilder.

Definition at line 79 of file G4QGSCEflowPiKBuilder.cc.

00079 {}

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

Definition at line 75 of file G4QGSCEflowPiKBuilder.hh.

00075 {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