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

#include <G4FTFPPiKBuilder.hh>

+ Inheritance diagram for G4FTFPPiKBuilder:

Public Member Functions

 G4FTFPPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void SetMaxEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VPiKBuilder
 G4VPiKBuilder ()=default
 
virtual ~G4VPiKBuilder ()
 
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 G4FTFPPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPPiKBuilder()

G4FTFPPiKBuilder::G4FTFPPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 50 of file G4FTFPPiKBuilder.cc.

52{
55 theModel = new G4TheoFSGenerator("FTFP");
56
57 G4FTFModel* theStringModel = new G4FTFModel();
58 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
59
62
63 theModel->SetHighEnergyGenerator(theStringModel);
64 if (quasiElastic) {
66 }
67
68 theModel->SetTransport(theCascade);
69 theModel->SetMinEnergy(theMin);
70 theModel->SetMaxEnergy(theMax);
71}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionFTF_Cascade() const
G4double GetMaxEnergy() const
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFPPiKBuilder()

G4FTFPPiKBuilder::~G4FTFPPiKBuilder ( )
virtual

Definition at line 73 of file G4FTFPPiKBuilder.cc.

74{
75}

Member Function Documentation

◆ Build() [1/4]

virtual void G4FTFPPiKBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 63 of file G4FTFPPiKBuilder.hh.

63{}

◆ Build() [2/4]

virtual void G4VPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ Build() [3/4]

void G4FTFPPiKBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 77 of file G4FTFPPiKBuilder.cc.

79{
80 theModel->SetMinEnergy(theMin);
81 theModel->SetMaxEnergy(theMax);
84 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
86 }
87 aP->RegisterMe(theModel);
88}
const G4ParticleDefinition * GetParticleDefinition() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
Definition: G4PionMinus.cc:51
static G4PionPlus * Definition()
Definition: G4PionPlus.cc:51

◆ Build() [4/4]

virtual void G4VPiKBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

◆ SetMaxEnergy()

virtual void G4FTFPPiKBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4FTFPPiKBuilder.hh.

67{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFPPiKBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4FTFPPiKBuilder.hh.

66{theMin = aM;}

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