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

#include <G4FTFBinaryPionBuilder.hh>

+ Inheritance diagram for G4FTFBinaryPionBuilder:

Public Member Functions

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

Detailed Description

Definition at line 55 of file G4FTFBinaryPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryPionBuilder()

G4FTFBinaryPionBuilder::G4FTFBinaryPionBuilder ( G4bool quasiElastic = false)

Definition at line 48 of file G4FTFBinaryPionBuilder.cc.

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

◆ ~G4FTFBinaryPionBuilder()

G4FTFBinaryPionBuilder::~G4FTFBinaryPionBuilder ( )
virtual

Definition at line 70 of file G4FTFBinaryPionBuilder.cc.

71{
72}

Member Function Documentation

◆ Build() [1/2]

virtual void G4FTFBinaryPionBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 61 of file G4FTFBinaryPionBuilder.hh.

61{}

◆ Build() [2/2]

void G4FTFBinaryPionBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 74 of file G4FTFBinaryPionBuilder.cc.

76{
77 theModel->SetMinEnergy(theMin);
78 theModel->SetMaxEnergy(theMax);
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

◆ SetMaxEnergy()

virtual void G4FTFBinaryPionBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 65 of file G4FTFBinaryPionBuilder.hh.

65{theMax = aM;}

◆ SetMinEnergy()

virtual void G4FTFBinaryPionBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 64 of file G4FTFBinaryPionBuilder.hh.

64{theMin = aM;}

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