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

#include <G4FTFPPionBuilder.hh>

+ Inheritance diagram for G4FTFPPionBuilder:

Public Member Functions

 G4FTFPPionBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPPionBuilder ()
 
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 G4VPionBuilder
 G4VPionBuilder ()=default
 
virtual ~G4VPionBuilder ()
 
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 57 of file G4FTFPPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPPionBuilder()

G4FTFPPionBuilder::G4FTFPPionBuilder ( G4bool  quasiElastic = false)

Definition at line 43 of file G4FTFPPionBuilder.cc.

45{
48 theModel = new G4TheoFSGenerator("FTFP");
49
50 G4FTFModel* theStringModel = new G4FTFModel();
51 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
52
55
56 theModel->SetHighEnergyGenerator(theStringModel);
57 if (quasiElastic) {
59 }
60
61 theModel->SetTransport(theCascade);
62 theModel->SetMinEnergy(theMin);
63 theModel->SetMaxEnergy(theMax);
64}
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)

◆ ~G4FTFPPionBuilder()

G4FTFPPionBuilder::~G4FTFPPionBuilder ( )
virtual

Definition at line 66 of file G4FTFPPionBuilder.cc.

67{
68}

Member Function Documentation

◆ Build() [1/4]

virtual void G4FTFPPionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 63 of file G4FTFPPionBuilder.hh.

63{}

◆ Build() [2/4]

virtual void G4VPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [3/4]

void G4FTFPPionBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 70 of file G4FTFPPionBuilder.cc.

72{
73 theModel->SetMinEnergy(theMin);
74 theModel->SetMaxEnergy(theMax);
77 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
79 }
80 aP->RegisterMe(theModel);
81}
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 G4VPionBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ SetMaxEnergy()

virtual void G4FTFPPionBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4FTFPPionBuilder.hh.

67{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFPPionBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4FTFPPionBuilder.hh.

66{theMin = aM;}

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