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

#include <G4FTFPProtonBuilder.hh>

+ Inheritance diagram for G4FTFPProtonBuilder:

Public Member Functions

 G4FTFPProtonBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPProtonBuilder ()
 
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
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()=default
 
virtual ~G4VProtonBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 

Detailed Description

Definition at line 54 of file G4FTFPProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPProtonBuilder()

G4FTFPProtonBuilder::G4FTFPProtonBuilder ( G4bool quasiElastic = false)

Definition at line 49 of file G4FTFPProtonBuilder.cc.

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

◆ ~G4FTFPProtonBuilder()

G4FTFPProtonBuilder::~G4FTFPProtonBuilder ( )
virtual

Definition at line 82 of file G4FTFPProtonBuilder.cc.

84{
85}

Member Function Documentation

◆ Build() [1/2]

virtual void G4FTFPProtonBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 61 of file G4FTFPProtonBuilder.hh.

61{};

◆ Build() [2/2]

void G4FTFPProtonBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 72 of file G4FTFPProtonBuilder.cc.

74{
75 theModel->SetMinEnergy(theMin);
76 theModel->SetMaxEnergy(theMax);
77 aP->RegisterMe(theModel);
78
80}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Proton * Proton()
Definition G4Proton.cc:90

◆ SetMaxEnergy()

virtual void G4FTFPProtonBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 65 of file G4FTFPProtonBuilder.hh.

65{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFPProtonBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 64 of file G4FTFPProtonBuilder.hh.

64{theMin = aM;}

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