Geant4-11
Public Member Functions | Private Attributes
G4FTFPAntiBarionBuilder Class Reference

#include <G4FTFPAntiBarionBuilder.hh>

Inheritance diagram for G4FTFPAntiBarionBuilder:
G4VAntiBarionBuilder G4PhysicsBuilderInterface

Public Member Functions

virtual void Build ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
 G4FTFPAntiBarionBuilder (G4bool quasiElastic=false)
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double val) final override
 
virtual void SetMinEnergy (G4double val) final override
 
virtual ~G4FTFPAntiBarionBuilder ()
 

Private Attributes

G4VCrossSectionDataSettheAntiNucleonData
 
G4double theMax
 
G4double theMin
 
G4TheoFSGeneratortheModel
 

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);
74}
static constexpr double GeV
Definition: G4SIunits.hh:203
G4VComponentCrossSection * GetComponentCrossSection(const G4String &name)
static G4CrossSectionDataSetRegistry * Instance()
G4VCrossSectionDataSet * theAntiNucleonData
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)

References G4CrossSectionDataSetRegistry::GetComponentCrossSection(), G4HadronicParameters::GetMaxEnergy(), GeV, G4CrossSectionDataSetRegistry::Instance(), G4HadronicParameters::Instance(), G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4TheoFSGenerator::SetQuasiElasticChannel(), G4TheoFSGenerator::SetTransport(), theAntiNucleonData, theMax, theMin, and theModel.

◆ ~G4FTFPAntiBarionBuilder()

G4FTFPAntiBarionBuilder::~G4FTFPAntiBarionBuilder ( )
virtual

Definition at line 76 of file G4FTFPAntiBarionBuilder.cc.

77{
78}

Member Function Documentation

◆ Build() [1/5]

virtual void G4PhysicsBuilderInterface::Build ( )
inlinevirtualinherited

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 46 of file G4PhysicsBuilderInterface.hh.

47 {
48 G4Exception("G4PhysicsBuilderInterface::Build", "PHYSBLD001",
50 "Called based class method. Should be implemented in"
51 " inherited class");
52 }
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35

◆ Build() [2/5]

virtual void G4FTFPAntiBarionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VAntiBarionBuilder.

Definition at line 62 of file G4FTFPAntiBarionBuilder.hh.

62{}

◆ Build() [3/5]

virtual void G4VAntiBarionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ Build() [4/5]

void G4FTFPAntiBarionBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

◆ Build() [5/5]

virtual void G4VAntiBarionBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VAntiBarionBuilder.

◆ RegisterMe()

virtual void G4PhysicsBuilderInterface::RegisterMe ( G4PhysicsBuilderInterface )
inlinevirtualinherited

◆ SetMaxEnergy()

virtual void G4FTFPAntiBarionBuilder::SetMaxEnergy ( G4double  val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4FTFPAntiBarionBuilder.hh.

66{theMax = val;}

References theMax.

◆ SetMinEnergy()

virtual void G4FTFPAntiBarionBuilder::SetMinEnergy ( G4double  val)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 65 of file G4FTFPAntiBarionBuilder.hh.

65{theMin = val;}

References theMin.

Field Documentation

◆ theAntiNucleonData

G4VCrossSectionDataSet* G4FTFPAntiBarionBuilder::theAntiNucleonData
private

Definition at line 72 of file G4FTFPAntiBarionBuilder.hh.

Referenced by Build(), and G4FTFPAntiBarionBuilder().

◆ theMax

G4double G4FTFPAntiBarionBuilder::theMax
private

Definition at line 74 of file G4FTFPAntiBarionBuilder.hh.

Referenced by Build(), G4FTFPAntiBarionBuilder(), and SetMaxEnergy().

◆ theMin

G4double G4FTFPAntiBarionBuilder::theMin
private

Definition at line 73 of file G4FTFPAntiBarionBuilder.hh.

Referenced by Build(), G4FTFPAntiBarionBuilder(), and SetMinEnergy().

◆ theModel

G4TheoFSGenerator* G4FTFPAntiBarionBuilder::theModel
private

Definition at line 71 of file G4FTFPAntiBarionBuilder.hh.

Referenced by Build(), and G4FTFPAntiBarionBuilder().


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