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

#include <G4FTFCPiKBuilder.hh>

+ Inheritance diagram for G4FTFCPiKBuilder:

Public Member Functions

 G4FTFCPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFCPiKBuilder ()
 
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 59 of file G4FTFCPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFCPiKBuilder()

G4FTFCPiKBuilder::G4FTFCPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 45 of file G4FTFCPiKBuilder.cc.

47{
48 thePiData = new G4PiNuclearCrossSection;
49 theMin = 4*GeV;
50 theModel = new G4TheoFSGenerator;
51
52 theStringModel = new G4FTFModel;
53 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
54 theStringModel->SetFragmentationModel(theStringDecay);
55
57
58 theModel->SetTransport(theCascade);
59 theModel->SetHighEnergyGenerator(theStringModel);
60 if (quasiElastic)
61 {
62 theQuasiElastic=new G4QuasiElasticChannel;
63 theModel->SetQuasiElasticChannel(theQuasiElastic);
64 } else
65 { theQuasiElastic=0;}
66
67 theModel->SetMinEnergy(theMin);
68 theModel->SetMaxEnergy(100*TeV);
69}
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 SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFCPiKBuilder()

G4FTFCPiKBuilder::~G4FTFCPiKBuilder ( )
virtual

Definition at line 71 of file G4FTFCPiKBuilder.cc.

73{
74 delete theCascade;
75 delete theStringDecay;
76 delete theStringModel;
77 delete theModel;
78}

Member Function Documentation

◆ Build() [1/7]

void G4FTFCPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 80 of file G4FTFCPiKBuilder.cc.

81{}

◆ Build() [2/7]

void G4FTFCPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 106 of file G4FTFCPiKBuilder.cc.

108{
109 theModel->SetMinEnergy(theMin);
110 aP->RegisterMe(theModel);
111}
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/7]

void G4FTFCPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 99 of file G4FTFCPiKBuilder.cc.

101{
102 theModel->SetMinEnergy(theMin);
103 aP->RegisterMe(theModel);
104}

◆ Build() [4/7]

void G4FTFCPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 113 of file G4FTFCPiKBuilder.cc.

115{
116 theModel->SetMinEnergy(theMin);
117 aP->RegisterMe(theModel);
118}

◆ Build() [5/7]

void G4FTFCPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 120 of file G4FTFCPiKBuilder.cc.

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

◆ Build() [6/7]

void G4FTFCPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 91 of file G4FTFCPiKBuilder.cc.

93{
94 aP->AddDataSet(thePiData);
95 theModel->SetMinEnergy(theMin);
96 aP->RegisterMe(theModel);
97}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

◆ Build() [7/7]

void G4FTFCPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 83 of file G4FTFCPiKBuilder.cc.

85{
86 aP->AddDataSet(thePiData);
87 theModel->SetMinEnergy(theMin);
88 aP->RegisterMe(theModel);
89}

◆ SetMinEnergy()

void G4FTFCPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 74 of file G4FTFCPiKBuilder.hh.

74{theMin = aM;}

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