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

#include <G4FTFBinaryProtonBuilder.hh>

+ Inheritance diagram for G4FTFBinaryProtonBuilder:

Public Member Functions

 G4FTFBinaryProtonBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFBinaryProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4ProtonInelasticProcess *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 (G4ProtonInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()=default
 
virtual ~G4VProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4ProtonInelasticProcess *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 G4FTFBinaryProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryProtonBuilder()

G4FTFBinaryProtonBuilder::G4FTFBinaryProtonBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFBinaryProtonBuilder.cc.

51{
54 theModel = new G4TheoFSGenerator("FTFB");
55
56 G4FTFModel* theStringModel = new G4FTFModel;
57 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
58
59 G4BinaryCascade* theCascade = new G4BinaryCascade;
60 theModel->SetTransport(theCascade);
61
62 theModel->SetHighEnergyGenerator(theStringModel);
63 theModel->SetMinEnergy(theMin);
64 theModel->SetMaxEnergy(theMax);
65
66 if (quasiElastic) {
68 }
69}
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)

◆ ~G4FTFBinaryProtonBuilder()

G4FTFBinaryProtonBuilder::~G4FTFBinaryProtonBuilder ( )
virtual

Definition at line 80 of file G4FTFBinaryProtonBuilder.cc.

82{
83}

Member Function Documentation

◆ Build() [1/4]

virtual void G4FTFBinaryProtonBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 63 of file G4FTFBinaryProtonBuilder.hh.

63{};

◆ Build() [2/4]

virtual void G4VProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ Build() [3/4]

void G4FTFBinaryProtonBuilder::Build ( G4ProtonInelasticProcess aP)
finaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 71 of file G4FTFBinaryProtonBuilder.cc.

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

◆ Build() [4/4]

virtual void G4VProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ SetMaxEnergy()

virtual void G4FTFBinaryProtonBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4FTFBinaryProtonBuilder.hh.

67{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFBinaryProtonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4FTFBinaryProtonBuilder.hh.

66{theMin = aM;}

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