Geant4 10.7.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 *) final override
 
virtual void Build (G4AntiProtonInelasticProcess *aP) final override
 
virtual void Build (G4AntiNeutronInelasticProcess *aP) final override
 
virtual void Build (G4AntiDeuteronInelasticProcess *aP) final override
 
virtual void Build (G4AntiTritonInelasticProcess *aP) final override
 
virtual void Build (G4AntiHe3InelasticProcess *aP) final override
 
virtual void Build (G4AntiAlphaInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double val) final override
 
virtual void SetMaxEnergy (G4double val) final override
 
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
 
- Public Member Functions inherited from G4VAntiBarionBuilder
 G4VAntiBarionBuilder ()=default
 
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
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()
 
virtual void Build ()
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMinEnergy (G4double)
 
virtual void SetMaxEnergy (G4double)
 

Detailed Description

Definition at line 58 of file G4FTFPAntiBarionBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPAntiBarionBuilder()

G4FTFPAntiBarionBuilder::G4FTFPAntiBarionBuilder ( G4bool  quasiElastic = false)

Definition at line 47 of file G4FTFPAntiBarionBuilder.cc.

49{
51 G4VComponentCrossSection* theAntiNucleonXS =
52 xsreg->GetComponentCrossSection("AntiAGlauber");
53 if(!theAntiNucleonXS) { theAntiNucleonXS = new G4ComponentAntiNuclNuclearXS(); }
54 theAntiNucleonData = new G4CrossSectionInelastic(theAntiNucleonXS);
55
56 theMin = 0.0*GeV;
58 theModel = new G4TheoFSGenerator("FTFP");
59
60 G4FTFModel* theStringModel = new G4FTFModel();
61 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
62
65
66 theModel->SetHighEnergyGenerator(theStringModel);
67 if (quasiElastic) {
69 }
70
71 theModel->SetTransport(theCascade);
72 theModel->SetMinEnergy(theMin);
73 theModel->SetMaxEnergy(theMax);
74}
G4VComponentCrossSection * GetComponentCrossSection(const G4String &name)
static G4CrossSectionDataSetRegistry * Instance()
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
G4double GetMaxEnergy() const
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 76 of file G4FTFPAntiBarionBuilder.cc.

77{
78}

Member Function Documentation

◆ Build() [1/14]

void G4FTFPAntiBarionBuilder::Build ( G4AntiAlphaInelasticProcess aP)
finaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 125 of file G4FTFPAntiBarionBuilder.cc.

127{
128 theModel->SetMinEnergy(theMin);
129 theModel->SetMaxEnergy(theMax);
130 aP->AddDataSet(theAntiNucleonData);
131 aP->RegisterMe(theModel);
132}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [2/14]

virtual void G4VAntiBarionBuilder::Build ( G4AntiAlphaInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [3/14]

void G4FTFPAntiBarionBuilder::Build ( G4AntiDeuteronInelasticProcess aP)
finaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 98 of file G4FTFPAntiBarionBuilder.cc.

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

◆ Build() [4/14]

virtual void G4VAntiBarionBuilder::Build ( G4AntiDeuteronInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [5/14]

void G4FTFPAntiBarionBuilder::Build ( G4AntiHe3InelasticProcess aP)
finaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 116 of file G4FTFPAntiBarionBuilder.cc.

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

◆ Build() [6/14]

virtual void G4VAntiBarionBuilder::Build ( G4AntiHe3InelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [7/14]

void G4FTFPAntiBarionBuilder::Build ( G4AntiNeutronInelasticProcess aP)
finaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 89 of file G4FTFPAntiBarionBuilder.cc.

91{
92 theModel->SetMinEnergy(theMin);
93 theModel->SetMaxEnergy(theMax);
94 aP->AddDataSet(theAntiNucleonData);
95 aP->RegisterMe(theModel);
96}

◆ Build() [8/14]

virtual void G4VAntiBarionBuilder::Build ( G4AntiNeutronInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [9/14]

void G4FTFPAntiBarionBuilder::Build ( G4AntiProtonInelasticProcess aP)
finaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 80 of file G4FTFPAntiBarionBuilder.cc.

82{
83 theModel->SetMinEnergy(theMin);
84 theModel->SetMaxEnergy(theMax);
85 aP->AddDataSet(theAntiNucleonData);
86 aP->RegisterMe(theModel);
87}

◆ Build() [10/14]

virtual void G4VAntiBarionBuilder::Build ( G4AntiProtonInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [11/14]

void G4FTFPAntiBarionBuilder::Build ( G4AntiTritonInelasticProcess aP)
finaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 107 of file G4FTFPAntiBarionBuilder.cc.

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

◆ Build() [12/14]

virtual void G4VAntiBarionBuilder::Build ( G4AntiTritonInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [13/14]

virtual void G4FTFPAntiBarionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 64 of file G4FTFPAntiBarionBuilder.hh.

64{}

◆ Build() [14/14]

virtual void G4VAntiBarionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ SetMaxEnergy()

virtual void G4FTFPAntiBarionBuilder::SetMaxEnergy ( G4double  val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 73 of file G4FTFPAntiBarionBuilder.hh.

73{theMax = val;}

◆ SetMinEnergy()

virtual void G4FTFPAntiBarionBuilder::SetMinEnergy ( G4double  val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 72 of file G4FTFPAntiBarionBuilder.hh.

72{theMin = val;}

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