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

#include <HadronPhysicsShielding.hh>

+ Inheritance diagram for HadronPhysicsShielding:

Public Member Functions

 HadronPhysicsShielding (G4int verbose=1)
 
 HadronPhysicsShielding (const G4String &name, G4bool quasiElastic=false)
 
virtual ~HadronPhysicsShielding ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
void UseLEND (G4String ss="")
 
void UnuseLEND ()
 
- 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 62 of file HadronPhysicsShielding.hh.

Constructor & Destructor Documentation

◆ HadronPhysicsShielding() [1/2]

HadronPhysicsShielding::HadronPhysicsShielding ( G4int  verbose = 1)

Definition at line 69 of file HadronPhysicsShielding.cc.

70 : G4VPhysicsConstructor("hInelastic Shielding")
71 , theNeutrons(0)
72 , theLENeutron(0)
73 , theBertiniNeutron(0)
74 , theFTFPNeutron(0)
75 , theLEPNeutron(0)
76 , thePiK(0)
77 , theBertiniPiK(0)
78 , theFTFPPiK(0)
79 , thePro(0)
80 , theBertiniPro(0)
81 , theFTFPPro(0)
82 , theMiscCHIPS(0)
83 , QuasiElastic(false)
84 , theCHIPSInelastic(0)
85 , BGGxsNeutron(0)
86 , NeutronHPJENDLHEInelastic(0)
87 , BGGxsProton(0)
88 , useLEND(false)
89 , evaluation()
90{}

◆ HadronPhysicsShielding() [2/2]

HadronPhysicsShielding::HadronPhysicsShielding ( const G4String name,
G4bool  quasiElastic = false 
)

Definition at line 92 of file HadronPhysicsShielding.cc.

94 , theNeutrons(0)
95 , theLENeutron(0)
96 , theBertiniNeutron(0)
97 , theFTFPNeutron(0)
98 , theLEPNeutron(0)
99 , thePiK(0)
100 , theBertiniPiK(0)
101 , theFTFPPiK(0)
102 , thePro(0)
103 , theBertiniPro(0)
104 , theFTFPPro(0)
105 , theMiscCHIPS(0)
106 , QuasiElastic(quasiElastic)
107 , theCHIPSInelastic(0)
108 , BGGxsNeutron(0)
109 , NeutronHPJENDLHEInelastic(0)
110 , BGGxsProton(0)
111 , useLEND(false)
112 , evaluation()
113{}

◆ ~HadronPhysicsShielding()

HadronPhysicsShielding::~HadronPhysicsShielding ( )
virtual

Definition at line 153 of file HadronPhysicsShielding.cc.

154{
155 delete theNeutrons;
156 delete theBertiniNeutron;
157 delete theFTFPNeutron;
158 //delete theHPNeutron;
159 delete theLENeutron;
160
161 delete thePiK;
162 delete theBertiniPiK;
163 delete theFTFPPiK;
164
165 delete thePro;
166 delete theBertiniPro;
167 delete theFTFPPro;
168
169 delete theMiscCHIPS;
170 delete theCHIPSInelastic;
171 delete BGGxsNeutron;
172 delete NeutronHPJENDLHEInelastic;
173 delete BGGxsProton;
174}

Member Function Documentation

◆ ConstructParticle()

void HadronPhysicsShielding::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 176 of file HadronPhysicsShielding.cc.

177{
178 G4MesonConstructor pMesonConstructor;
179 pMesonConstructor.ConstructParticle();
180
181 G4BaryonConstructor pBaryonConstructor;
182 pBaryonConstructor.ConstructParticle();
183
184 G4ShortLivedConstructor pShortLivedConstructor;
185 pShortLivedConstructor.ConstructParticle();
186}
static void ConstructParticle()
static void ConstructParticle()

◆ ConstructProcess()

void HadronPhysicsShielding::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 189 of file HadronPhysicsShielding.cc.

190{
191 CreateModels();
192
193 //BGGxsNeutron=new G4BGGNucleonInelasticXS(G4Neutron::Neutron());
194 thePro->Build();
195 theNeutrons->Build();
196
197// BGGxsNeutron=new G4NeutronHPBGGNucleonInelasticXS(G4Neutron::Neutron());
198// FindInelasticProcess(G4Neutron::Neutron())->AddDataSet(BGGxsNeutron);
199//
200
202 NeutronHPJENDLHEInelastic=new G4NeutronHPJENDLHEInelasticData;
205
206// BGGxsProton=new G4BGGNucleonInelasticXS(G4Proton::Proton());
207// G4PhysListUtil::FindInelasticProcess(G4Proton::Proton())->AddDataSet(BGGxsProton);
208
209 thePiK->Build();
210 // use CHIPS cross sections also for Kaons
211
213
218
219 theMiscCHIPS->Build();
220}
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
static G4CrossSectionDataSetRegistry * Instance()
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4KaonMinus * KaonMinus()
Definition: G4KaonMinus.cc:113
static G4KaonPlus * KaonPlus()
Definition: G4KaonPlus.cc:113
static G4KaonZeroLong * KaonZeroLong()
static G4KaonZeroShort * KaonZeroShort()
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)

◆ UnuseLEND()

void HadronPhysicsShielding::UnuseLEND ( )
inline

Definition at line 74 of file HadronPhysicsShielding.hh.

74{useLEND=false;};

◆ UseLEND()

void HadronPhysicsShielding::UseLEND ( G4String  ss = "")
inline

Definition at line 73 of file HadronPhysicsShielding.hh.

73{useLEND=true;evaluation=ss;};

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