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

#include <G4QGSCEflowPiKBuilder.hh>

+ Inheritance diagram for G4QGSCEflowPiKBuilder:

Public Member Functions

 G4QGSCEflowPiKBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSCEflowPiKBuilder ()
 
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 G4QGSCEflowPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSCEflowPiKBuilder()

G4QGSCEflowPiKBuilder::G4QGSCEflowPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 45 of file G4QGSCEflowPiKBuilder.cc.

47{
48 thePiCross = new G4PiNuclearCrossSection;
49 theMin = 8*GeV;
50 theModel = new G4TheoFSGenerator("QGSCEflow");
51
52 theStringModel = new G4QGSModel< G4QGSParticipants >;
53 theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
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}
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4QGSCEflowPiKBuilder()

G4QGSCEflowPiKBuilder::~G4QGSCEflowPiKBuilder ( )
virtual

Definition at line 68 of file G4QGSCEflowPiKBuilder.cc.

70{
71 delete theCascade;
72 delete theStringDecay;
73 delete theStringModel;
74 if ( theQuasiElastic ) delete theQuasiElastic;
75 delete theModel;
76}

Member Function Documentation

◆ Build() [1/7]

void G4QGSCEflowPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 78 of file G4QGSCEflowPiKBuilder.cc.

79{}

◆ Build() [2/7]

void G4QGSCEflowPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 107 of file G4QGSCEflowPiKBuilder.cc.

109{
110 theModel->SetMinEnergy(theMin);
111 theModel->SetMaxEnergy(100*TeV);
112 aP->RegisterMe(theModel);
113}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/7]

void G4QGSCEflowPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 99 of file G4QGSCEflowPiKBuilder.cc.

101{
102 theModel->SetMinEnergy(theMin);
103 theModel->SetMaxEnergy(100*TeV);
104 aP->RegisterMe(theModel);
105}

◆ Build() [4/7]

void G4QGSCEflowPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 115 of file G4QGSCEflowPiKBuilder.cc.

117{
118 theModel->SetMinEnergy(theMin);
119 theModel->SetMaxEnergy(100*TeV);
120 aP->RegisterMe(theModel);
121}

◆ Build() [5/7]

void G4QGSCEflowPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 123 of file G4QGSCEflowPiKBuilder.cc.

125{
126 theModel->SetMinEnergy(theMin);
127 theModel->SetMaxEnergy(100*TeV);
128 aP->RegisterMe(theModel);
129}

◆ Build() [6/7]

void G4QGSCEflowPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 90 of file G4QGSCEflowPiKBuilder.cc.

92{
93 theModel->SetMinEnergy(theMin);
94 theModel->SetMaxEnergy(100*TeV);
95 aP->AddDataSet(thePiCross);
96 aP->RegisterMe(theModel);
97}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

◆ Build() [7/7]

void G4QGSCEflowPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 81 of file G4QGSCEflowPiKBuilder.cc.

83{
84 theModel->SetMinEnergy(theMin);
85 theModel->SetMaxEnergy(100*TeV);
86 aP->AddDataSet(thePiCross);
87 aP->RegisterMe(theModel);
88}

◆ SetMinEnergy()

void G4QGSCEflowPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 75 of file G4QGSCEflowPiKBuilder.hh.

75{theMin = aM;}

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