Geant4 11.1.1
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 (G4HadronInelasticProcess *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 (G4HadronInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VAntiBarionBuilder
 G4VAntiBarionBuilder ()=default
 
virtual ~G4VAntiBarionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *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 56 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/4]

virtual void G4FTFPAntiBarionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 62 of file G4FTFPAntiBarionBuilder.hh.

62{}

◆ Build() [2/4]

virtual void G4VAntiBarionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [3/4]

void G4FTFPAntiBarionBuilder::Build ( G4HadronInelasticProcess 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}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [4/4]

virtual void G4VAntiBarionBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ SetMaxEnergy()

virtual void G4FTFPAntiBarionBuilder::SetMaxEnergy ( G4double  val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4FTFPAntiBarionBuilder.hh.

66{theMax = val;}

◆ SetMinEnergy()

virtual void G4FTFPAntiBarionBuilder::SetMinEnergy ( G4double  val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 65 of file G4FTFPAntiBarionBuilder.hh.

65{theMin = val;}

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