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

#include <G4EmStandardPhysics_option3.hh>

+ Inheritance diagram for G4EmStandardPhysics_option3:

Public Member Functions

 G4EmStandardPhysics_option3 (G4int ver=1)
 
 G4EmStandardPhysics_option3 (G4int ver, const G4String &name)
 
virtual ~G4EmStandardPhysics_option3 ()
 
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 52 of file G4EmStandardPhysics_option3.hh.

Constructor & Destructor Documentation

◆ G4EmStandardPhysics_option3() [1/2]

G4EmStandardPhysics_option3::G4EmStandardPhysics_option3 ( G4int  ver = 1)

Definition at line 116 of file G4EmStandardPhysics_option3.cc.

117 : G4VPhysicsConstructor("G4EmStandard_opt3"), verbose(ver)
118{
121}
@ bElectromagnetic
static G4LossTableManager * Instance()

◆ G4EmStandardPhysics_option3() [2/2]

G4EmStandardPhysics_option3::G4EmStandardPhysics_option3 ( G4int  ver,
const G4String name 
)

Definition at line 125 of file G4EmStandardPhysics_option3.cc.

126 : G4VPhysicsConstructor("G4EmStandard_opt3"), verbose(ver)
127{
130}

◆ ~G4EmStandardPhysics_option3()

G4EmStandardPhysics_option3::~G4EmStandardPhysics_option3 ( )
virtual

Definition at line 134 of file G4EmStandardPhysics_option3.cc.

135{}

Member Function Documentation

◆ ConstructParticle()

void G4EmStandardPhysics_option3::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 139 of file G4EmStandardPhysics_option3.cc.

140{
141// gamma
143
144// leptons
149
150// mesons
155
156// barions
159
160// ions
163 G4He3::He3();
166}
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
static G4AntiProton * AntiProton()
Definition: G4AntiProton.cc:93
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
static G4Electron * Electron()
Definition: G4Electron.cc:94
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:87
static G4He3 * He3()
Definition: G4He3.cc:94
static G4KaonMinus * KaonMinusDefinition()
Definition: G4KaonMinus.cc:108
static G4KaonPlus * KaonPlusDefinition()
Definition: G4KaonPlus.cc:108
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
static G4PionMinus * PionMinusDefinition()
Definition: G4PionMinus.cc:93
static G4PionPlus * PionPlusDefinition()
Definition: G4PionPlus.cc:93
static G4Positron * Positron()
Definition: G4Positron.cc:94
static G4Proton * Proton()
Definition: G4Proton.cc:93
static G4Triton * Triton()
Definition: G4Triton.cc:95

◆ ConstructProcess()

void G4EmStandardPhysics_option3::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 170 of file G4EmStandardPhysics_option3.cc.

171{
173
174 // muon & hadron bremsstrahlung and pair production
183
184 // muon & hadron multiple scattering
186 mumsc->AddEmModel(0, new G4WentzelVIModel());
187 //G4hMultipleScattering* pimsc = new G4hMultipleScattering();
188 // pimsc->AddEmModel(0, new G4WentzelVIModel());
189 // G4hMultipleScattering* kmsc = new G4hMultipleScattering();
190 // kmsc->AddEmModel(0, new G4WentzelVIModel());
191 //G4hMultipleScattering* pmsc = new G4hMultipleScattering();
192 //pmsc->AddEmModel(0, new G4WentzelVIModel());
193 G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
194
195 // nuclear stopping
196 G4NuclearStopping* ionnuc = new G4NuclearStopping();
198
199 // Add standard EM Processes
201 while( (*theParticleIterator)() ){
203 G4String particleName = particle->GetParticleName();
204 if(verbose > 1)
205 G4cout << "### " << GetPhysicsName() << " instantiates for "
206 << particleName << G4endl;
207
208 if (particleName == "gamma") {
209
212
213 ph->RegisterProcess(new G4PhotoElectricEffect(), particle);
214 ph->RegisterProcess(cs, particle);
215 ph->RegisterProcess(new G4GammaConversion(), particle);
216 ph->RegisterProcess(new G4RayleighScattering(), particle);
217
218 } else if (particleName == "e-") {
219
221 //msc->AddEmModel(0, new G4UrbanMscModel95());
223 G4eIonisation* eIoni = new G4eIonisation();
224 eIoni->SetStepFunction(0.2, 100*um);
225
227 ph->RegisterProcess(msc, particle);
228 ph->RegisterProcess(eIoni, particle);
229 ph->RegisterProcess(brem, particle);
230
231 } else if (particleName == "e+") {
232
234 //msc->AddEmModel(0, new G4UrbanMscModel95());
236 G4eIonisation* eIoni = new G4eIonisation();
237 eIoni->SetStepFunction(0.2, 100*um);
238
239 ph->RegisterProcess(msc, particle);
240 ph->RegisterProcess(eIoni, particle);
241 ph->RegisterProcess(new G4eBremsstrahlung(), particle);
242 ph->RegisterProcess(new G4eplusAnnihilation(), particle);
243
244 } else if (particleName == "mu+" ||
245 particleName == "mu-" ) {
246
247 G4MuIonisation* muIoni = new G4MuIonisation();
248 muIoni->SetStepFunction(0.2, 50*um);
249
250 ph->RegisterProcess(mumsc, particle);
251 ph->RegisterProcess(muIoni, particle);
252 ph->RegisterProcess(mub, particle);
253 ph->RegisterProcess(mup, particle);
254 ph->RegisterProcess(new G4CoulombScattering(), particle);
255
256 } else if (particleName == "alpha" ||
257 particleName == "He3") {
258
260 G4ionIonisation* ionIoni = new G4ionIonisation();
261 ionIoni->SetStepFunction(0.1, 10*um);
262
263 ph->RegisterProcess(msc, particle);
264 ph->RegisterProcess(ionIoni, particle);
265 ph->RegisterProcess(ionnuc, particle);
266
267 } else if (particleName == "GenericIon") {
268
269 G4ionIonisation* ionIoni = new G4ionIonisation();
271 ionIoni->SetStepFunction(0.1, 1*um);
272
273 ph->RegisterProcess(hmsc, particle);
274 ph->RegisterProcess(ionIoni, particle);
275 ph->RegisterProcess(ionnuc, particle);
276
277 } else if (particleName == "pi+" ||
278 particleName == "pi-" ) {
279
281 G4hIonisation* hIoni = new G4hIonisation();
282 hIoni->SetStepFunction(0.2, 50*um);
283
284 ph->RegisterProcess(pimsc, particle);
285 ph->RegisterProcess(hIoni, particle);
286 ph->RegisterProcess(pib, particle);
287 ph->RegisterProcess(pip, particle);
288
289 } else if (particleName == "kaon+" ||
290 particleName == "kaon-" ) {
291
293 G4hIonisation* hIoni = new G4hIonisation();
294 hIoni->SetStepFunction(0.2, 50*um);
295
296 ph->RegisterProcess(kmsc, particle);
297 ph->RegisterProcess(hIoni, particle);
298 ph->RegisterProcess(kb, particle);
299 ph->RegisterProcess(kp, particle);
300
301 } else if (particleName == "proton" ||
302 particleName == "anti_proton") {
303
305 G4hIonisation* hIoni = new G4hIonisation();
306 hIoni->SetStepFunction(0.2, 50*um);
307
308 ph->RegisterProcess(pmsc, particle);
309 ph->RegisterProcess(hIoni, particle);
310 ph->RegisterProcess(pb, particle);
311 ph->RegisterProcess(pp, particle);
312 ph->RegisterProcess(pnuc, particle);
313
314 } else if (particleName == "B+" ||
315 particleName == "B-" ||
316 particleName == "D+" ||
317 particleName == "D-" ||
318 particleName == "Ds+" ||
319 particleName == "Ds-" ||
320 particleName == "anti_He3" ||
321 particleName == "anti_alpha" ||
322 particleName == "anti_deuteron" ||
323 particleName == "anti_lambda_c+" ||
324 particleName == "anti_omega-" ||
325 particleName == "anti_sigma_c+" ||
326 particleName == "anti_sigma_c++" ||
327 particleName == "anti_sigma+" ||
328 particleName == "anti_sigma-" ||
329 particleName == "anti_triton" ||
330 particleName == "anti_xi_c+" ||
331 particleName == "anti_xi-" ||
332 particleName == "deuteron" ||
333 particleName == "lambda_c+" ||
334 particleName == "omega-" ||
335 particleName == "sigma_c+" ||
336 particleName == "sigma_c++" ||
337 particleName == "sigma+" ||
338 particleName == "sigma-" ||
339 particleName == "tau+" ||
340 particleName == "tau-" ||
341 particleName == "triton" ||
342 particleName == "xi_c+" ||
343 particleName == "xi-" ) {
344
345 ph->RegisterProcess(hmsc, particle);
346 ph->RegisterProcess(new G4hIonisation(), particle);
347 }
348 }
349
350 // Em options
351 //
353 opt.SetVerbose(verbose);
354
355 // Multiple Coulomb scattering
356 //
357 opt.SetPolarAngleLimit(CLHEP::pi);
358
359 // Physics tables
360 //
361 opt.SetMinEnergy(10*eV);
362 opt.SetMaxEnergy(10*TeV);
363 opt.SetDEDXBinning(240);
364 opt.SetLambdaBinning(240);
365
366 // Nuclear stopping
367 pnuc->SetMaxKinEnergy(MeV);
368
369 // Ionization
370 //
371 //opt.SetSubCutoff(true);
372
373 // Deexcitation
376 de->SetFluo(true);
377}
@ fUseDistanceToBoundary
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
void SetMaxEnergy(G4double val)
void SetDEDXBinning(G4int val)
void SetLambdaBinning(G4int val)
void SetPolarAngleLimit(G4double val)
void SetVerbose(G4int val, const G4String &name="all")
void SetMinEnergy(G4double val)
void SetAtomDeexcitation(G4VAtomDeexcitation *)
const G4String & GetParticleName() const
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
void SetEmModel(G4VEmModel *, G4int index=1)
void SetMaxKinEnergy(G4double e)
void SetEmModel(G4VEmModel *, G4int index=1)
void SetStepFunction(G4double v1, G4double v2)
void AddEmModel(G4int order, G4VEmModel *, const G4Region *region=0)
void SetStepLimitType(G4MscStepLimitType val)
const G4String & GetPhysicsName() const
G4ParticleTable::G4PTblDicIterator * theParticleIterator

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