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

#include <HadronPhysicsQGSP.hh>

+ Inheritance diagram for HadronPhysicsQGSP:

Public Member Functions

 HadronPhysicsQGSP (G4int verbose=1)
 
 HadronPhysicsQGSP (const G4String &name, G4bool quasiElastic=true)
 
virtual ~HadronPhysicsQGSP ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
void SetQuasiElastic (G4bool value)
 
void SetProjectileDiffraction (G4bool value)
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
virtual void ConstructParticle ()=0
 
virtual void ConstructProcess ()=0
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4ParticleTable::G4PTblDicIteratortheParticleIterator
 
G4PhysicsListHelperthePLHelper
 

Detailed Description

Definition at line 64 of file HadronPhysicsQGSP.hh.

Constructor & Destructor Documentation

◆ HadronPhysicsQGSP() [1/2]

HadronPhysicsQGSP::HadronPhysicsQGSP ( G4int  verbose = 1)

Definition at line 61 of file HadronPhysicsQGSP.cc.

62 : G4VPhysicsConstructor("hInelastic QGSP")
63 , theNeutrons(0)
64 , theLEPNeutron(0)
65 , theQGSPNeutron(0)
66 , thePiK(0)
67 , theLEPPiK(0)
68 , theQGSPPiK(0)
69 , thePro(0)
70 , theLEPPro(0)
71 , theQGSPPro(0)
72 , theMisc(0)
73 , QuasiElastic(true)
74 , ProjectileDiffraction(false)
75{
76}

◆ HadronPhysicsQGSP() [2/2]

HadronPhysicsQGSP::HadronPhysicsQGSP ( const G4String name,
G4bool  quasiElastic = true 
)

Definition at line 78 of file HadronPhysicsQGSP.cc.

80 , theNeutrons(0)
81 , theLEPNeutron(0)
82 , theQGSPNeutron(0)
83 , thePiK(0)
84 , theLEPPiK(0)
85 , theQGSPPiK(0)
86 , thePro(0)
87 , theLEPPro(0)
88 , theQGSPPro(0)
89 , theMisc(0)
90 , QuasiElastic(quasiElastic)
91 , ProjectileDiffraction(false)
92{
93}

◆ ~HadronPhysicsQGSP()

HadronPhysicsQGSP::~HadronPhysicsQGSP ( )
virtual

Definition at line 118 of file HadronPhysicsQGSP.cc.

119{
120 delete theMisc;
121 delete theQGSPNeutron;
122 delete theLEPNeutron;
123 delete theQGSPPro;
124 delete theLEPPro;
125 delete thePro;
126 delete theQGSPPiK;
127 delete theLEPPiK;
128 delete thePiK;
129}

Member Function Documentation

◆ ConstructParticle()

void HadronPhysicsQGSP::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 132 of file HadronPhysicsQGSP.cc.

133{
134 G4MesonConstructor pMesonConstructor;
135 pMesonConstructor.ConstructParticle();
136
137 G4BaryonConstructor pBaryonConstructor;
138 pBaryonConstructor.ConstructParticle();
139
140 G4ShortLivedConstructor pShortLivedConstructor;
141 pShortLivedConstructor.ConstructParticle();
142}
static void ConstructParticle()
static void ConstructParticle()

◆ ConstructProcess()

void HadronPhysicsQGSP::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 145 of file HadronPhysicsQGSP.cc.

146{
147 CreateModels();
148 theNeutrons->Build();
149 thePro->Build();
150 thePiK->Build();
151 theMisc->Build();
152}

◆ SetProjectileDiffraction()

void HadronPhysicsQGSP::SetProjectileDiffraction ( G4bool  value)
inline

Definition at line 76 of file HadronPhysicsQGSP.hh.

76{ProjectileDiffraction = value;};

◆ SetQuasiElastic()

void HadronPhysicsQGSP::SetQuasiElastic ( G4bool  value)
inline

Definition at line 75 of file HadronPhysicsQGSP.hh.

75{QuasiElastic = value;};

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