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

#include <HadronPhysicsQGSP_BERT.hh>

+ Inheritance diagram for HadronPhysicsQGSP_BERT:

Public Member Functions

 HadronPhysicsQGSP_BERT (G4int verbose=1)
 
 HadronPhysicsQGSP_BERT (const G4String &name, G4bool quasiElastic=true)
 
virtual ~HadronPhysicsQGSP_BERT ()
 
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 67 of file HadronPhysicsQGSP_BERT.hh.

Constructor & Destructor Documentation

◆ HadronPhysicsQGSP_BERT() [1/2]

HadronPhysicsQGSP_BERT::HadronPhysicsQGSP_BERT ( G4int  verbose = 1)

Definition at line 64 of file HadronPhysicsQGSP_BERT.cc.

65 : G4VPhysicsConstructor("hInelastic QGSP_BERT")
66 , theNeutrons(0)
67 , theLEPNeutron(0)
68 , theQGSPNeutron(0)
69 , theBertiniNeutron(0)
70 , thePiK(0)
71 , theLEPPiK(0)
72 , theQGSPPiK(0)
73 , theBertiniPiK(0)
74 , thePro(0)
75 , theLEPPro(0)
76 , theQGSPPro(0)
77 , theBertiniPro(0)
78 , theMisc(0)
79 , QuasiElastic(true)
80 , ProjectileDiffraction(false)
81{
82}

◆ HadronPhysicsQGSP_BERT() [2/2]

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

Definition at line 84 of file HadronPhysicsQGSP_BERT.cc.

86 , theNeutrons(0)
87 , theLEPNeutron(0)
88 , theQGSPNeutron(0)
89 , theBertiniNeutron(0)
90 , thePiK(0)
91 , theLEPPiK(0)
92 , theQGSPPiK(0)
93 , theBertiniPiK(0)
94 , thePro(0)
95 , theLEPPro(0)
96 , theQGSPPro(0)
97 , theBertiniPro(0)
98 , theMisc(0)
99 , QuasiElastic(quasiElastic)
100 , ProjectileDiffraction(false)
101{
102}

◆ ~HadronPhysicsQGSP_BERT()

HadronPhysicsQGSP_BERT::~HadronPhysicsQGSP_BERT ( )
virtual

Definition at line 137 of file HadronPhysicsQGSP_BERT.cc.

138{
139 delete theMisc;
140 delete theQGSPNeutron;
141 delete theLEPNeutron;
142 delete theNeutrons;
143 delete theBertiniNeutron;
144 delete theQGSPPro;
145 delete theLEPPro;
146 delete thePro;
147 delete theBertiniPro;
148 delete theQGSPPiK;
149 delete theLEPPiK;
150 delete theBertiniPiK;
151 delete thePiK;
152}

Member Function Documentation

◆ ConstructParticle()

void HadronPhysicsQGSP_BERT::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 154 of file HadronPhysicsQGSP_BERT.cc.

155{
156 G4MesonConstructor pMesonConstructor;
157 pMesonConstructor.ConstructParticle();
158
159 G4BaryonConstructor pBaryonConstructor;
160 pBaryonConstructor.ConstructParticle();
161
162 G4ShortLivedConstructor pShortLivedConstructor;
163 pShortLivedConstructor.ConstructParticle();
164}
static void ConstructParticle()
static void ConstructParticle()

◆ ConstructProcess()

void HadronPhysicsQGSP_BERT::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 167 of file HadronPhysicsQGSP_BERT.cc.

168{
169 CreateModels();
170 theNeutrons->Build();
171 thePro->Build();
172 thePiK->Build();
173 theMisc->Build();
174}

◆ SetProjectileDiffraction()

void HadronPhysicsQGSP_BERT::SetProjectileDiffraction ( G4bool  value)
inline

Definition at line 79 of file HadronPhysicsQGSP_BERT.hh.

79{ProjectileDiffraction = value;};

◆ SetQuasiElastic()

void HadronPhysicsQGSP_BERT::SetQuasiElastic ( G4bool  value)
inline

Definition at line 78 of file HadronPhysicsQGSP_BERT.hh.

78{QuasiElastic = value;};

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