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

Detailed Description

Definition at line 60 of file G4FTFBinaryPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryPiKBuilder()

G4FTFBinaryPiKBuilder::G4FTFBinaryPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFBinaryPiKBuilder.cc.

51{
52 thePiData = new G4CrossSectionPairGG(new G4PiNuclearCrossSection(), 91*GeV);
53 theMin = 4*GeV;
54 theModel = new G4TheoFSGenerator("FTFB");
55
56 theStringModel = new G4FTFModel;
57 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
58 theStringModel->SetFragmentationModel(theStringDecay);
59
60 theCascade = new G4BinaryCascade;
61 thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
62 theCascade->SetDeExcitation(thePreEquilib);
63
64 theModel->SetHighEnergyGenerator(theStringModel);
65 if (quasiElastic)
66 {
67 theQuasiElastic=new G4QuasiElasticChannel;
68 theModel->SetQuasiElasticChannel(theQuasiElastic);
69 } else
70 { theQuasiElastic=0;}
71
72 theModel->SetTransport(theCascade);
73 theModel->SetMinEnergy(theMin);
74 theModel->SetMaxEnergy(100*TeV);
75}
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)

◆ ~G4FTFBinaryPiKBuilder()

G4FTFBinaryPiKBuilder::~G4FTFBinaryPiKBuilder ( )
virtual

Definition at line 77 of file G4FTFBinaryPiKBuilder.cc.

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

Member Function Documentation

◆ Build() [1/7]

void G4FTFBinaryPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 86 of file G4FTFBinaryPiKBuilder.cc.

87{}

◆ Build() [2/7]

void G4FTFBinaryPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 112 of file G4FTFBinaryPiKBuilder.cc.

114{
115 theModel->SetMinEnergy(theMin);
116 aP->RegisterMe(theModel);
117}
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/7]

void G4FTFBinaryPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 105 of file G4FTFBinaryPiKBuilder.cc.

107{
108 theModel->SetMinEnergy(theMin);
109 aP->RegisterMe(theModel);
110}

◆ Build() [4/7]

void G4FTFBinaryPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 119 of file G4FTFBinaryPiKBuilder.cc.

121{
122 theModel->SetMinEnergy(theMin);
123 aP->RegisterMe(theModel);
124}

◆ Build() [5/7]

void G4FTFBinaryPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 126 of file G4FTFBinaryPiKBuilder.cc.

128{
129 theModel->SetMinEnergy(theMin);
130 aP->RegisterMe(theModel);
131}

◆ Build() [6/7]

void G4FTFBinaryPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 97 of file G4FTFBinaryPiKBuilder.cc.

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

◆ Build() [7/7]

void G4FTFBinaryPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 89 of file G4FTFBinaryPiKBuilder.cc.

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

◆ SetMinEnergy()

void G4FTFBinaryPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 75 of file G4FTFBinaryPiKBuilder.hh.

75{theMin = aM;}

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