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

#include <G4FTFPPiKBuilder.hh>

+ Inheritance diagram for G4FTFPPiKBuilder:

Public Member Functions

 G4FTFPPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPPiKBuilder ()
 
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)
 
void SetMaxEnergy (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 61 of file G4FTFPPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPPiKBuilder()

G4FTFPPiKBuilder::G4FTFPPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFPPiKBuilder.cc.

51{
52 thePiData = new G4CrossSectionPairGG(new G4PiNuclearCrossSection(), 91*GeV);
53 theMin = 4*GeV;
54 theMax = 100*TeV;
55 theModel = new G4TheoFSGenerator("FTFP");
56
57 theStringModel = new G4FTFModel;
58 theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
59 theStringModel->SetFragmentationModel(theStringDecay);
60
61 thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
62 theCascade = new G4GeneratorPrecompoundInterface(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 SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFPPiKBuilder()

G4FTFPPiKBuilder::~G4FTFPPiKBuilder ( )
virtual

Definition at line 77 of file G4FTFPPiKBuilder.cc.

78{
79 delete theCascade;
80 delete theStringDecay;
81 delete theStringModel;
82 delete theModel;
83 if ( theQuasiElastic ) delete theQuasiElastic;
84 //delete theHandler;
85 delete theLund;
86}

Member Function Documentation

◆ Build() [1/7]

void G4FTFPPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 88 of file G4FTFPPiKBuilder.cc.

89{}

◆ Build() [2/7]

void G4FTFPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 117 of file G4FTFPPiKBuilder.cc.

119{
120 theModel->SetMinEnergy(theMin);
121 theModel->SetMaxEnergy(theMax);
122 aP->RegisterMe(theModel);
123}
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/7]

void G4FTFPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 109 of file G4FTFPPiKBuilder.cc.

111{
112 theModel->SetMinEnergy(theMin);
113 theModel->SetMaxEnergy(theMax);
114 aP->RegisterMe(theModel);
115}

◆ Build() [4/7]

void G4FTFPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 125 of file G4FTFPPiKBuilder.cc.

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

◆ Build() [5/7]

void G4FTFPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 133 of file G4FTFPPiKBuilder.cc.

135{
136 theModel->SetMinEnergy(theMin);
137 theModel->SetMaxEnergy(theMax);
138 aP->RegisterMe(theModel);
139}

◆ Build() [6/7]

void G4FTFPPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 100 of file G4FTFPPiKBuilder.cc.

102{
103 theModel->SetMinEnergy(theMin);
104 theModel->SetMaxEnergy(theMax);
105 aP->AddDataSet(thePiData);
106 aP->RegisterMe(theModel);
107}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

◆ Build() [7/7]

void G4FTFPPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 91 of file G4FTFPPiKBuilder.cc.

93{
94 theModel->SetMinEnergy(theMin);
95 theModel->SetMaxEnergy(theMax);
96 aP->AddDataSet(thePiData);
97 aP->RegisterMe(theModel);
98}

◆ SetMaxEnergy()

void G4FTFPPiKBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 77 of file G4FTFPPiKBuilder.hh.

77{theMax = aM;}

◆ SetMinEnergy()

void G4FTFPPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 76 of file G4FTFPPiKBuilder.hh.

76{theMin = aM;}

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