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

#include <G4FTFBinaryPiKBuilder.hh>

+ Inheritance diagram for G4FTFBinaryPiKBuilder:

Public Member Functions

 G4FTFBinaryPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFBinaryPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
- Public Member Functions inherited from G4VPiKBuilder
 G4VPiKBuilder ()=default
 
virtual ~G4VPiKBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double)
 

Detailed Description

Definition at line 56 of file G4FTFBinaryPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryPiKBuilder()

G4FTFBinaryPiKBuilder::G4FTFBinaryPiKBuilder ( G4bool quasiElastic = false)

Definition at line 50 of file G4FTFBinaryPiKBuilder.cc.

52{
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
65 if (quasiElastic) {
67 }
68 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
69}
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)

◆ ~G4FTFBinaryPiKBuilder()

G4FTFBinaryPiKBuilder::~G4FTFBinaryPiKBuilder ( )
virtual

Definition at line 71 of file G4FTFBinaryPiKBuilder.cc.

72{
73}

Member Function Documentation

◆ Build() [1/2]

virtual void G4FTFBinaryPiKBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 62 of file G4FTFBinaryPiKBuilder.hh.

62{}

◆ Build() [2/2]

void G4FTFBinaryPiKBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VPiKBuilder.

Definition at line 75 of file G4FTFBinaryPiKBuilder.cc.

77{
78 theModel->SetMinEnergy(theMin);
81 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
83 }
84 aP->RegisterMe(theModel);
85}
const G4ParticleDefinition * GetParticleDefinition() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
static G4PionPlus * Definition()
Definition G4PionPlus.cc:46

◆ SetMinEnergy()

virtual void G4FTFBinaryPiKBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 65 of file G4FTFBinaryPiKBuilder.hh.

65{theMin = aM;}

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