G4FTFPPiKBuilder Class Reference

#include <G4FTFPPiKBuilder.hh>

Inheritance diagram for G4FTFPPiKBuilder:

G4VPiKBuilder

Public Member Functions

 G4FTFPPiKBuilder (G4bool quasiElastic=false)
virtual ~G4FTFPPiKBuilder ()
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)
void SetMaxEnergy (G4double aM)

Detailed Description

Definition at line 61 of file G4FTFPPiKBuilder.hh.


Constructor & Destructor Documentation

G4FTFPPiKBuilder::G4FTFPPiKBuilder ( G4bool  quasiElastic = false  ) 

Definition at line 50 of file G4FTFPPiKBuilder.cc.

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

00051 {
00052   thePiData = new G4CrossSectionPairGG(new G4PiNuclearCrossSection(), 91*GeV);
00053   theMin = 4*GeV;
00054   theMax = 100*TeV;
00055   theModel = new G4TheoFSGenerator("FTFP");
00056 
00057   theStringModel = new G4FTFModel;
00058   theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
00059   theStringModel->SetFragmentationModel(theStringDecay);
00060 
00061   thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
00062   theCascade = new G4GeneratorPrecompoundInterface(thePreEquilib);
00063 
00064   theModel->SetHighEnergyGenerator(theStringModel);
00065   if (quasiElastic)
00066   {
00067      theQuasiElastic=new G4QuasiElasticChannel;
00068      theModel->SetQuasiElasticChannel(theQuasiElastic);
00069   } else 
00070   {  theQuasiElastic=0;}  
00071 
00072   theModel->SetTransport(theCascade);
00073   theModel->SetMinEnergy(theMin);
00074   theModel->SetMaxEnergy(100*TeV);
00075 }

G4FTFPPiKBuilder::~G4FTFPPiKBuilder (  )  [virtual]

Definition at line 77 of file G4FTFPPiKBuilder.cc.

00078 {
00079   delete theCascade;
00080   delete theStringDecay;
00081   delete theStringModel;
00082   delete theModel;
00083   if ( theQuasiElastic ) delete theQuasiElastic;
00084   //delete theHandler;
00085   delete theLund;
00086 }


Member Function Documentation

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

Implements G4VPiKBuilder.

Definition at line 134 of file G4FTFPPiKBuilder.cc.

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

00135 {
00136   theModel->SetMinEnergy(theMin);
00137   theModel->SetMaxEnergy(theMax);
00138   aP->RegisterMe(theModel);
00139 }

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

Implements G4VPiKBuilder.

Definition at line 126 of file G4FTFPPiKBuilder.cc.

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

00127 {
00128   theModel->SetMinEnergy(theMin);
00129   theModel->SetMaxEnergy(theMax);
00130   aP->RegisterMe(theModel);
00131 }

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

Implements G4VPiKBuilder.

Definition at line 118 of file G4FTFPPiKBuilder.cc.

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

00119 {
00120   theModel->SetMinEnergy(theMin);
00121   theModel->SetMaxEnergy(theMax);
00122   aP->RegisterMe(theModel);
00123 }

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

Implements G4VPiKBuilder.

Definition at line 110 of file G4FTFPPiKBuilder.cc.

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

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

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

Implements G4VPiKBuilder.

Definition at line 101 of file G4FTFPPiKBuilder.cc.

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

00102 {
00103   theModel->SetMinEnergy(theMin);
00104   theModel->SetMaxEnergy(theMax);
00105   aP->AddDataSet(thePiData);
00106   aP->RegisterMe(theModel);
00107 }

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

Implements G4VPiKBuilder.

Definition at line 92 of file G4FTFPPiKBuilder.cc.

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

00093 {
00094   theModel->SetMinEnergy(theMin);
00095   theModel->SetMaxEnergy(theMax);
00096   aP->AddDataSet(thePiData);
00097   aP->RegisterMe(theModel);
00098 }

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

Implements G4VPiKBuilder.

Definition at line 89 of file G4FTFPPiKBuilder.cc.

00089 {}

void G4FTFPPiKBuilder::SetMaxEnergy ( G4double  aM  )  [inline]

Definition at line 77 of file G4FTFPPiKBuilder.hh.

00077 {theMax = aM;}

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

Definition at line 76 of file G4FTFPPiKBuilder.hh.

00076 {theMin = aM;}


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