Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FTFPAntiBarionBuilder Class Reference

#include <G4FTFPAntiBarionBuilder.hh>

+ Inheritance diagram for G4FTFPAntiBarionBuilder:

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 ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4AntiProtonInelasticProcess *aP)=0
 
virtual void Build (G4AntiNeutronInelasticProcess *aP)=0
 
virtual void Build (G4AntiDeuteronInelasticProcess *aP)=0
 
virtual void Build (G4AntiTritonInelasticProcess *aP)=0
 
virtual void Build (G4AntiHe3InelasticProcess *aP)=0
 
virtual void Build (G4AntiAlphaInelasticProcess *aP)=0
 

Detailed Description

Definition at line 61 of file G4FTFPAntiBarionBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPAntiBarionBuilder()

G4FTFPAntiBarionBuilder::G4FTFPAntiBarionBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFPAntiBarionBuilder.cc.

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 SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFPAntiBarionBuilder()

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

◆ Build() [1/7]

void G4FTFPAntiBarionBuilder::Build ( G4AntiAlphaInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 141 of file G4FTFPAntiBarionBuilder.cc.

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

◆ Build() [2/7]

void G4FTFPAntiBarionBuilder::Build ( G4AntiDeuteronInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 114 of file G4FTFPAntiBarionBuilder.cc.

116{
117 theModel->SetMinEnergy(theMin);
118 theModel->SetMaxEnergy(theMax);
119 aP->AddDataSet(theAntiNucleonData);
120 aP->RegisterMe(theModel);
121}

◆ Build() [3/7]

void G4FTFPAntiBarionBuilder::Build ( G4AntiHe3InelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 132 of file G4FTFPAntiBarionBuilder.cc.

134{
135 theModel->SetMinEnergy(theMin);
136 theModel->SetMaxEnergy(theMax);
137 aP->AddDataSet(theAntiNucleonData);
138 aP->RegisterMe(theModel);
139}

◆ Build() [4/7]

void G4FTFPAntiBarionBuilder::Build ( G4AntiNeutronInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 105 of file G4FTFPAntiBarionBuilder.cc.

107{
108 theModel->SetMinEnergy(theMin);
109 theModel->SetMaxEnergy(theMax);
110 aP->AddDataSet(theAntiNucleonData);
111 aP->RegisterMe(theModel);
112}

◆ Build() [5/7]

void G4FTFPAntiBarionBuilder::Build ( G4AntiProtonInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 96 of file G4FTFPAntiBarionBuilder.cc.

98{
99 theModel->SetMinEnergy(theMin);
100 theModel->SetMaxEnergy(theMax);
101 aP->AddDataSet(theAntiNucleonData);
102 aP->RegisterMe(theModel);
103}

◆ Build() [6/7]

void G4FTFPAntiBarionBuilder::Build ( G4AntiTritonInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 123 of file G4FTFPAntiBarionBuilder.cc.

125{
126 theModel->SetMinEnergy(theMin);
127 theModel->SetMaxEnergy(theMax);
128 aP->AddDataSet(theAntiNucleonData);
129 aP->RegisterMe(theModel);
130}

◆ Build() [7/7]

void G4FTFPAntiBarionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

Definition at line 93 of file G4FTFPAntiBarionBuilder.cc.

94{}

◆ SetMaxEnergy()

void G4FTFPAntiBarionBuilder::SetMaxEnergy ( G4double  val)
inline

Definition at line 77 of file G4FTFPAntiBarionBuilder.hh.

77{theMax = val;}

◆ SetMinEnergy()

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: