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

#include <G4QGSC_CHIPSPiKBuilder.hh>

+ Inheritance diagram for G4QGSC_CHIPSPiKBuilder:

Public Member Functions

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

Constructor & Destructor Documentation

◆ G4QGSC_CHIPSPiKBuilder()

G4QGSC_CHIPSPiKBuilder::G4QGSC_CHIPSPiKBuilder ( G4bool  quasiElastic = false)

Definition at line 32 of file G4QGSC_CHIPSPiKBuilder.cc.

34{
35 theMin = 0*GeV;
36 theModel = new G4TheoFSGenerator("QGSC_CHIPS");
37
38 theStringModel = new G4QGSModel< G4QGSParticipants >;
39 theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
40 theStringModel->SetFragmentationModel(theStringDecay);
41
43
44 theModel->SetTransport(theCascade);
45 theModel->SetHighEnergyGenerator(theStringModel);
46 if (quasiElastic)
47 {
48 theQuasiElastic=new G4QuasiElasticChannel;
49 theModel->SetQuasiElasticChannel(theQuasiElastic);
50 } else
51 { theQuasiElastic=0;}
52}
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4QGSC_CHIPSPiKBuilder()

G4QGSC_CHIPSPiKBuilder::~G4QGSC_CHIPSPiKBuilder ( )
virtual

Definition at line 54 of file G4QGSC_CHIPSPiKBuilder.cc.

56{
57 delete theCascade;
58 delete theStringDecay;
59 delete theStringModel;
60 if ( theQuasiElastic ) delete theQuasiElastic;
61 delete theModel;
62}

Member Function Documentation

◆ Build() [1/7]

void G4QGSC_CHIPSPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 64 of file G4QGSC_CHIPSPiKBuilder.cc.

65{}

◆ Build() [2/7]

void G4QGSC_CHIPSPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 93 of file G4QGSC_CHIPSPiKBuilder.cc.

95{
96 theModel->SetMinEnergy(theMin);
97 theModel->SetMaxEnergy(100*TeV);
98 aP->RegisterMe(theModel);
99}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/7]

void G4QGSC_CHIPSPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 85 of file G4QGSC_CHIPSPiKBuilder.cc.

87{
88 theModel->SetMinEnergy(theMin);
89 theModel->SetMaxEnergy(100*TeV);
90 aP->RegisterMe(theModel);
91}

◆ Build() [4/7]

void G4QGSC_CHIPSPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 101 of file G4QGSC_CHIPSPiKBuilder.cc.

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

◆ Build() [5/7]

void G4QGSC_CHIPSPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 109 of file G4QGSC_CHIPSPiKBuilder.cc.

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

◆ Build() [6/7]

void G4QGSC_CHIPSPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 76 of file G4QGSC_CHIPSPiKBuilder.cc.

78{
79 theModel->SetMinEnergy(theMin);
80 theModel->SetMaxEnergy(100*TeV);
81 aP->AddDataSet(&thePiCross);
82 aP->RegisterMe(theModel);
83}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

◆ Build() [7/7]

void G4QGSC_CHIPSPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 67 of file G4QGSC_CHIPSPiKBuilder.cc.

69{
70 theModel->SetMinEnergy(theMin);
71 theModel->SetMaxEnergy(100*TeV);
72 aP->AddDataSet(&thePiCross);
73 aP->RegisterMe(theModel);
74}

◆ SetMinEnergy()

void G4QGSC_CHIPSPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 62 of file G4QGSC_CHIPSPiKBuilder.hh.

62{theMin = aM;}

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