Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
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)
 
- Public Member Functions inherited from G4VAntiBarionBuilder
 G4VAntiBarionBuilder ()
 
virtual ~G4VAntiBarionBuilder ()
 

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 python.hepunit::GeV, G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4TheoFSGenerator::SetQuasiElasticChannel(), G4TheoFSGenerator::SetTransport(), and python.hepunit::TeV.

51 {
52  theAntiNucleonData =
53  new G4CrossSectionInelastic(theAntiNucleonXS=new G4ComponentAntiNuclNuclearXS());
54 
55  theMin = 0.0*GeV;
56  theMax = 100.0*TeV;
57  theModel = new G4TheoFSGenerator("FTFP");
58 
59  theStringModel = new G4FTFModel;
60  theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
61  theStringModel->SetFragmentationModel(theStringDecay);
62 
63  thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
64  theCascade = new G4GeneratorPrecompoundInterface(thePreEquilib);
65 
66  theModel->SetHighEnergyGenerator(theStringModel);
67  if (quasiElastic)
68  {
69  theQuasiElastic=new G4QuasiElasticChannel;
70  theModel->SetQuasiElasticChannel(theQuasiElastic);
71  } else
72  { theQuasiElastic=0;}
73 
74  theModel->SetTransport(theCascade);
75  theModel->SetMinEnergy(theMin);
76  theModel->SetMaxEnergy(100*TeV);
77 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4FTFPAntiBarionBuilder::~G4FTFPAntiBarionBuilder ( )
virtual

Definition at line 79 of file G4FTFPAntiBarionBuilder.cc.

80 {
81  delete theCascade;
82  delete theStringDecay;
83  delete theStringModel;
84  delete theModel;
85  if ( theQuasiElastic ) delete theQuasiElastic;
86  delete thePreEquilib;
87  //delete theHandler;
88  delete theLund;
89  delete theAntiNucleonXS;
90  delete theAntiNucleonData;
91 }

Member Function Documentation

void G4FTFPAntiBarionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 94 of file G4FTFPAntiBarionBuilder.cc.

94 {}
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().

98 {
99  theModel->SetMinEnergy(theMin);
100  theModel->SetMaxEnergy(theMax);
101  aP->AddDataSet(theAntiNucleonData);
102  aP->RegisterMe(theModel);
103 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
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().

107 {
108  theModel->SetMinEnergy(theMin);
109  theModel->SetMaxEnergy(theMax);
110  aP->AddDataSet(theAntiNucleonData);
111  aP->RegisterMe(theModel);
112 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
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().

116 {
117  theModel->SetMinEnergy(theMin);
118  theModel->SetMaxEnergy(theMax);
119  aP->AddDataSet(theAntiNucleonData);
120  aP->RegisterMe(theModel);
121 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
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().

125 {
126  theModel->SetMinEnergy(theMin);
127  theModel->SetMaxEnergy(theMax);
128  aP->AddDataSet(theAntiNucleonData);
129  aP->RegisterMe(theModel);
130 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
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().

134 {
135  theModel->SetMinEnergy(theMin);
136  theModel->SetMaxEnergy(theMax);
137  aP->AddDataSet(theAntiNucleonData);
138  aP->RegisterMe(theModel);
139 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
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().

143 {
144  theModel->SetMinEnergy(theMin);
145  theModel->SetMaxEnergy(theMax);
146  aP->AddDataSet(theAntiNucleonData);
147  aP->RegisterMe(theModel);
148 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
void G4FTFPAntiBarionBuilder::SetMaxEnergy ( G4double  val)
inline

Definition at line 77 of file G4FTFPAntiBarionBuilder.hh.

77 {theMax = val;}
void G4FTFPAntiBarionBuilder::SetMinEnergy ( G4double  val)
inline

Definition at line 76 of file G4FTFPAntiBarionBuilder.hh.

76 {theMin = val;}

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