Geant4 9.6.0
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 *aP)
 
virtual void Build (G4PionPlusInelasticProcess *aP)
 
virtual void Build (G4PionMinusInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()
 
virtual ~G4VPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *aP)=0
 

Detailed Description

Definition at line 59 of file G4FTFBinaryPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryPionBuilder()

G4FTFBinaryPionBuilder::G4FTFBinaryPionBuilder ( G4bool  quasiElastic = false)

Definition at line 50 of file G4FTFBinaryPionBuilder.cc.

52{
53 thePiData = new G4CrossSectionPairGG(new G4PiNuclearCrossSection(), 91*GeV);
54 theMin = 4*GeV;
55 theModel = new G4TheoFSGenerator("FTFB");
56
57 theStringModel = new G4FTFModel;
58 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
59 theStringModel->SetFragmentationModel(theStringDecay);
60
61 theCascade = new G4BinaryCascade;
62 thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
63 theCascade->SetDeExcitation(thePreEquilib);
64
65 theModel->SetHighEnergyGenerator(theStringModel);
66 if (quasiElastic)
67 {
68 theQuasiElastic=new G4QuasiElasticChannel;
69 theModel->SetQuasiElasticChannel(theQuasiElastic);
70 } else
71 { theQuasiElastic=0;}
72
73 theModel->SetTransport(theCascade);
74 theModel->SetMinEnergy(theMin);
75 theModel->SetMaxEnergy(100*TeV);
76}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFBinaryPionBuilder()

G4FTFBinaryPionBuilder::~G4FTFBinaryPionBuilder ( )
virtual

Definition at line 78 of file G4FTFBinaryPionBuilder.cc.

79{
80 delete theCascade;
81 delete theStringDecay;
82 delete theStringModel;
83 delete theModel;
84 if ( theQuasiElastic ) delete theQuasiElastic;
85}

Member Function Documentation

◆ Build() [1/3]

void G4FTFBinaryPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 87 of file G4FTFBinaryPionBuilder.cc.

88{}

◆ Build() [2/3]

void G4FTFBinaryPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 98 of file G4FTFBinaryPionBuilder.cc.

100{
101 theModel->SetMinEnergy(theMin);
102 aP->AddDataSet(thePiData);
103 aP->RegisterMe(theModel);
104}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/3]

void G4FTFBinaryPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 90 of file G4FTFBinaryPionBuilder.cc.

92{
93 theModel->SetMinEnergy(theMin);
94 aP->AddDataSet(thePiData);
95 aP->RegisterMe(theModel);
96}

◆ SetMinEnergy()

void G4FTFBinaryPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4FTFBinaryPionBuilder.hh.

70{theMin = aM;}

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