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

#include <HadronPhysicsQGSP_BERT_HP.hh>

+ Inheritance diagram for HadronPhysicsQGSP_BERT_HP:

Public Member Functions

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

Constructor & Destructor Documentation

◆ HadronPhysicsQGSP_BERT_HP() [1/2]

HadronPhysicsQGSP_BERT_HP::HadronPhysicsQGSP_BERT_HP ( G4int  verbose = 1)

Definition at line 62 of file HadronPhysicsQGSP_BERT_HP.cc.

63 : G4VPhysicsConstructor("hInelastic QGSP_BERT_HP")
64 , theNeutrons(0)
65 , theLEPNeutron(0)
66 , theQGSPNeutron(0)
67 , theBertiniNeutron(0)
68 , theHPNeutron(0)
69 , thePiK(0)
70 , theLEPPiK(0) //A.R. 26-Jul-2012 Coverity fix
71 , theQGSPPiK(0)
72 , theBertiniPiK(0)
73 , thePro(0)
74 , theLEPPro(0) //A.R. 26-Jul-2012 Coverity fix
75 , theQGSPPro(0)
76 , theBertiniPro(0)
77 , theMisc(0)
78 , QuasiElastic(true)
79{}

◆ HadronPhysicsQGSP_BERT_HP() [2/2]

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

Definition at line 81 of file HadronPhysicsQGSP_BERT_HP.cc.

83 , theNeutrons(0)
84 , theLEPNeutron(0)
85 , theQGSPNeutron(0)
86 , theBertiniNeutron(0)
87 , theHPNeutron(0)
88 , thePiK(0)
89 , theLEPPiK(0) //A.R. 26-Jul-2012 Coverity fix
90 , theQGSPPiK(0)
91 , theBertiniPiK(0)
92 , thePro(0)
93 , theLEPPro(0) //A.R. 26-Jul-2012 Coverity fix
94 , theQGSPPro(0)
95 , theBertiniPro(0)
96 , theMisc(0)
97 , QuasiElastic(quasiElastic)
98{}

◆ ~HadronPhysicsQGSP_BERT_HP()

HadronPhysicsQGSP_BERT_HP::~HadronPhysicsQGSP_BERT_HP ( )
virtual

Definition at line 136 of file HadronPhysicsQGSP_BERT_HP.cc.

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

Member Function Documentation

◆ ConstructParticle()

void HadronPhysicsQGSP_BERT_HP::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 153 of file HadronPhysicsQGSP_BERT_HP.cc.

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

◆ ConstructProcess()

void HadronPhysicsQGSP_BERT_HP::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 166 of file HadronPhysicsQGSP_BERT_HP.cc.

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

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