G4FTFPAntiBarionBuilder Class Reference

#include <G4FTFPAntiBarionBuilder.hh>

Inheritance diagram for G4FTFPAntiBarionBuilder:

G4VAntiBarionBuilder

Public Member Functions

 G4FTFPAntiBarionBuilder (G4bool quasiElastic=false)
virtual ~G4FTFPAntiBarionBuilder ()
virtual void Build (G4HadronElasticProcess *aP)
virtual void Build (G4AntiProtonInelasticProcess *aP)
virtual void Build (G4AntiNeutronInelasticProcess *aP)
virtual void Build (G4AntiDeuteronInelasticProcess *aP)
virtual void Build (G4AntiTritonInelasticProcess *aP)
virtual void Build (G4AntiHe3InelasticProcess *aP)
virtual void Build (G4AntiAlphaInelasticProcess *aP)
void SetMinEnergy (G4double val)
void SetMaxEnergy (G4double val)

Detailed Description

Definition at line 61 of file G4FTFPAntiBarionBuilder.hh.


Constructor & Destructor Documentation

G4FTFPAntiBarionBuilder::G4FTFPAntiBarionBuilder ( G4bool  quasiElastic = false  ) 

Definition at line 50 of file G4FTFPAntiBarionBuilder.cc.

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

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

G4FTFPAntiBarionBuilder::~G4FTFPAntiBarionBuilder (  )  [virtual]

Definition at line 79 of file G4FTFPAntiBarionBuilder.cc.

00080 {
00081   delete theCascade;
00082   delete theStringDecay;
00083   delete theStringModel;
00084   delete theModel;
00085   if ( theQuasiElastic ) delete theQuasiElastic;
00086   delete thePreEquilib;
00087   //delete theHandler;
00088   delete theLund;
00089   delete theAntiNucleonXS;
00090   delete theAntiNucleonData;
00091 }


Member Function Documentation

void G4FTFPAntiBarionBuilder::Build ( G4AntiAlphaInelasticProcess aP  )  [virtual]

Implements G4VAntiBarionBuilder.

Definition at line 142 of file G4FTFPAntiBarionBuilder.cc.

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

00143 {
00144   theModel->SetMinEnergy(theMin);
00145   theModel->SetMaxEnergy(theMax);
00146   aP->AddDataSet(theAntiNucleonData);
00147   aP->RegisterMe(theModel);
00148 }

void G4FTFPAntiBarionBuilder::Build ( G4AntiHe3InelasticProcess aP  )  [virtual]

Implements G4VAntiBarionBuilder.

Definition at line 133 of file G4FTFPAntiBarionBuilder.cc.

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

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

void G4FTFPAntiBarionBuilder::Build ( G4AntiTritonInelasticProcess aP  )  [virtual]

Implements G4VAntiBarionBuilder.

Definition at line 124 of file G4FTFPAntiBarionBuilder.cc.

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

00125 {
00126   theModel->SetMinEnergy(theMin);
00127   theModel->SetMaxEnergy(theMax);
00128   aP->AddDataSet(theAntiNucleonData);
00129   aP->RegisterMe(theModel);
00130 }

void G4FTFPAntiBarionBuilder::Build ( G4AntiDeuteronInelasticProcess aP  )  [virtual]

Implements G4VAntiBarionBuilder.

Definition at line 115 of file G4FTFPAntiBarionBuilder.cc.

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

00116 {
00117   theModel->SetMinEnergy(theMin);
00118   theModel->SetMaxEnergy(theMax);
00119   aP->AddDataSet(theAntiNucleonData);
00120   aP->RegisterMe(theModel);
00121 }

void G4FTFPAntiBarionBuilder::Build ( G4AntiNeutronInelasticProcess aP  )  [virtual]

Implements G4VAntiBarionBuilder.

Definition at line 106 of file G4FTFPAntiBarionBuilder.cc.

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

00107 {
00108   theModel->SetMinEnergy(theMin);
00109   theModel->SetMaxEnergy(theMax);
00110   aP->AddDataSet(theAntiNucleonData);
00111   aP->RegisterMe(theModel);
00112 }

void G4FTFPAntiBarionBuilder::Build ( G4AntiProtonInelasticProcess aP  )  [virtual]

Implements G4VAntiBarionBuilder.

Definition at line 97 of file G4FTFPAntiBarionBuilder.cc.

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

00098 {
00099   theModel->SetMinEnergy(theMin);
00100   theModel->SetMaxEnergy(theMax);
00101   aP->AddDataSet(theAntiNucleonData);
00102   aP->RegisterMe(theModel);
00103 }

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

Implements G4VAntiBarionBuilder.

Definition at line 94 of file G4FTFPAntiBarionBuilder.cc.

00094 {}

void G4FTFPAntiBarionBuilder::SetMaxEnergy ( G4double  val  )  [inline]

Definition at line 77 of file G4FTFPAntiBarionBuilder.hh.

00077 {theMax = val;}

void G4FTFPAntiBarionBuilder::SetMinEnergy ( G4double  val  )  [inline]

Definition at line 76 of file G4FTFPAntiBarionBuilder.hh.

00076 {theMin = val;}


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