Geant4-11
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes
G4EmDNAPhysics_stationary_option6 Class Reference

#include <G4EmDNAPhysics_stationary_option6.hh>

Inheritance diagram for G4EmDNAPhysics_stationary_option6:
G4VPhysicsConstructor

Public Member Functions

virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
 G4EmDNAPhysics_stationary_option6 (G4int ver, const G4String &name)
 
 G4EmDNAPhysics_stationary_option6 (G4int ver=1)
 
G4int GetInstanceID () const
 
const G4StringGetPhysicsName () const
 
G4int GetPhysicsType () const
 
G4int GetVerboseLevel () const
 
void SetPhysicsName (const G4String &="")
 
void SetPhysicsType (G4int)
 
void SetVerboseLevel (G4int value)
 
virtual void TerminateWorker ()
 
virtual ~G4EmDNAPhysics_stationary_option6 ()
 

Static Public Member Functions

static const G4VPCManagerGetSubInstanceManager ()
 

Protected Types

using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 

Protected Member Functions

void AddBuilder (G4PhysicsBuilderInterface *bld)
 
PhysicsBuilder_V GetBuilders () const
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 

Protected Attributes

G4int g4vpcInstanceID = 0
 
G4String namePhysics = ""
 
G4ParticleTabletheParticleTable = nullptr
 
G4int typePhysics = 0
 
G4int verboseLevel = 0
 

Static Protected Attributes

static G4RUN_DLL G4VPCManager subInstanceManager
 

Private Attributes

G4int verbose
 

Detailed Description

Definition at line 34 of file G4EmDNAPhysics_stationary_option6.hh.

Member Typedef Documentation

◆ PhysicsBuilder_V

Definition at line 149 of file G4VPhysicsConstructor.hh.

Constructor & Destructor Documentation

◆ G4EmDNAPhysics_stationary_option6() [1/2]

G4EmDNAPhysics_stationary_option6::G4EmDNAPhysics_stationary_option6 ( G4int  ver = 1)

Definition at line 89 of file G4EmDNAPhysics_stationary_option6.cc.

90 : G4VPhysicsConstructor("G4EmDNAPhysics_stationary_option6"), verbose(ver)
91{
93 param->SetDefaults();
94 param->SetFluo(true);
95 param->SetAuger(true);
96 param->SetDeexcitationIgnoreCut(true);
97 param->ActivateDNA();
98
100}
@ bElectromagnetic
static G4EmParameters * Instance()
void SetDeexcitationIgnoreCut(G4bool val)
void SetFluo(G4bool val)
void SetAuger(G4bool val)
G4VPhysicsConstructor(const G4String &="")

References G4EmParameters::ActivateDNA(), bElectromagnetic, G4EmParameters::Instance(), G4EmParameters::SetAuger(), G4EmParameters::SetDeexcitationIgnoreCut(), G4EmParameters::SetDefaults(), G4EmParameters::SetFluo(), and G4VPhysicsConstructor::SetPhysicsType().

◆ G4EmDNAPhysics_stationary_option6() [2/2]

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

◆ ~G4EmDNAPhysics_stationary_option6()

G4EmDNAPhysics_stationary_option6::~G4EmDNAPhysics_stationary_option6 ( )
virtual

Definition at line 111 of file G4EmDNAPhysics_stationary_option6.cc.

112{}

Member Function Documentation

◆ AddBuilder()

void G4VPhysicsConstructor::AddBuilder ( G4PhysicsBuilderInterface bld)
protectedinherited

Definition at line 99 of file G4VPhysicsConstructor.cc.

100{
101 (subInstanceManager.offset[g4vpcInstanceID])._builders->push_back(bld);
102}
static G4RUN_DLL G4VPCManager subInstanceManager
G4RUN_DLL G4ThreadLocalStatic T * offset

References G4VPhysicsConstructor::g4vpcInstanceID, G4VUPLSplitter< T >::offset, and G4VPhysicsConstructor::subInstanceManager.

Referenced by G4HadronPhysicsFTFP_BERT::Kaon(), G4HadronPhysicsFTF_BIC::Kaon(), G4HadronPhysicsINCLXX::Kaon(), G4HadronPhysicsFTFP_BERT::Neutron(), G4HadronPhysicsQGSP_BERT::Neutron(), G4HadronPhysicsQGSP_BIC::Neutron(), G4HadronPhysicsFTF_BIC::Neutron(), G4HadronPhysicsFTFP_BERT_HP::Neutron(), G4HadronPhysicsINCLXX::Neutron(), G4HadronPhysicsQGS_BIC::Neutron(), G4HadronPhysicsQGSP_BERT_HP::Neutron(), G4HadronPhysicsQGSP_BIC_HP::Neutron(), G4HadronPhysicsShielding::Neutron(), G4HadronPhysicsFTFP_BERT::Pion(), G4HadronPhysicsQGSP_BERT::Pion(), G4HadronPhysicsQGSP_BIC::Pion(), G4HadronPhysicsFTF_BIC::Pion(), G4HadronPhysicsINCLXX::Pion(), G4HadronPhysicsQGS_BIC::Pion(), G4HadronPhysicsFTFP_BERT::Proton(), G4HadronPhysicsQGSP_BERT::Proton(), G4HadronPhysicsQGSP_BIC::Proton(), G4HadronPhysicsFTF_BIC::Proton(), G4HadronPhysicsINCLXX::Proton(), G4HadronPhysicsNuBeam::Proton(), G4HadronPhysicsQGS_BIC::Proton(), and G4HadronPhysicsQGSP_BIC_AllHP::Proton().

◆ ConstructParticle()

void G4EmDNAPhysics_stationary_option6::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 116 of file G4EmDNAPhysics_stationary_option6.cc.

117{
118// bosons
120
121// leptons
124
125// baryons
127
129
130 G4DNAGenericIonsManager * genericIonsManager;
131 genericIonsManager=G4DNAGenericIonsManager::Instance();
132 genericIonsManager->GetIon("alpha++");
133 genericIonsManager->GetIon("alpha+");
134 genericIonsManager->GetIon("helium");
135 genericIonsManager->GetIon("hydrogen");
136
137}
static G4DNAGenericIonsManager * Instance(void)
G4ParticleDefinition * GetIon(const G4String &name)
static G4Electron * Electron()
Definition: G4Electron.cc:93
static G4Gamma * Gamma()
Definition: G4Gamma.cc:85
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:87
static G4Positron * Positron()
Definition: G4Positron.cc:93
static G4Proton * Proton()
Definition: G4Proton.cc:92

References G4Electron::Electron(), G4Gamma::Gamma(), G4GenericIon::GenericIonDefinition(), G4DNAGenericIonsManager::GetIon(), G4DNAGenericIonsManager::Instance(), G4Positron::Positron(), and G4Proton::Proton().

◆ ConstructProcess()

void G4EmDNAPhysics_stationary_option6::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 141 of file G4EmDNAPhysics_stationary_option6.cc.

142{
143 if(verbose > 1) {
144 G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
145 }
147
148 auto myParticleIterator=GetParticleIterator();
149 myParticleIterator->reset();
150 while( (*myParticleIterator)() )
151 {
152 G4ParticleDefinition* particle = myParticleIterator->value();
153 G4String particleName = particle->GetParticleName();
154
155 if (particleName == "e-") {
156
157 // *** Elastic scattering (two alternative models available) ***
158
159 G4DNAElastic* theDNAElasticProcess =
160 new G4DNAElastic("e-_G4DNAElastic");
161 theDNAElasticProcess->SetEmModel(new G4DNACPA100ElasticModel());
163 (theDNAElasticProcess->EmModel()))->SelectStationary(true);
164 ph->RegisterProcess(theDNAElasticProcess, particle);
165
166 // *** Excitation ***
167
168 G4DNAExcitation* theDNAExcitationProcess =
169 new G4DNAExcitation("e-_G4DNAExcitation");
170 theDNAExcitationProcess->SetEmModel(new G4DNACPA100ExcitationModel());
172 (theDNAExcitationProcess->EmModel()))->SelectStationary(true);
173 ph->RegisterProcess(theDNAExcitationProcess, particle);
174
175 // *** Ionisation ***
176
177 G4DNAIonisation* theDNAIonisationProcess =
178 new G4DNAIonisation("e-_G4DNAIonisation");
179 theDNAIonisationProcess->SetEmModel(new G4DNACPA100IonisationModel());
181 (theDNAIonisationProcess->EmModel()))->SelectStationary(true);
182 ph->RegisterProcess(theDNAIonisationProcess, particle);
183
184 // *** Vibrational excitation ***
185
186 G4DNAVibExcitation* theDNAVibExcitationProcess =
187 new G4DNAVibExcitation("e-_G4DNAVibExcitation");
188 theDNAVibExcitationProcess->SetEmModel(new G4DNASancheExcitationModel());
190 (theDNAVibExcitationProcess->EmModel()))->SelectStationary(true);
191 ph->RegisterProcess(theDNAVibExcitationProcess, particle);
192
193 // *** Attachment ***
194
195 G4DNAAttachment* theDNAAttachmentProcess =
196 new G4DNAAttachment("e-_G4DNAAttachment");
197 theDNAAttachmentProcess->SetEmModel(new G4DNAMeltonAttachmentModel());
199 (theDNAAttachmentProcess->EmModel()))->SelectStationary(true);
200 ph->RegisterProcess(theDNAAttachmentProcess, particle);
201
202 } else if ( particleName == "proton" ) {
203
204 // *** Elastic ***
205
206 G4DNAElastic* theDNAElasticProcess =
207 new G4DNAElastic("proton_G4DNAElastic");
208 theDNAElasticProcess->SetEmModel(new G4DNAIonElasticModel());
210 (theDNAElasticProcess->EmModel()))->SelectStationary(true);
211 ph->RegisterProcess(theDNAElasticProcess, particle);
212
213 // *** Excitation ***
214
215 G4DNAExcitation* theDNAExcitationProcess =
216 new G4DNAExcitation("proton_G4DNAExcitation");
217
218 theDNAExcitationProcess->SetEmModel(
220 theDNAExcitationProcess->SetEmModel(
222
224 (theDNAExcitationProcess->EmModel()))->SetLowEnergyLimit(10*eV);
226 (theDNAExcitationProcess->EmModel()))->SetHighEnergyLimit(500*keV);
228 (theDNAExcitationProcess->EmModel()))->SelectStationary(true);
229
231 (theDNAExcitationProcess->EmModel(1)))->SetLowEnergyLimit(500*keV);
233 (theDNAExcitationProcess->EmModel(1)))->SetHighEnergyLimit(100*MeV);
235 (theDNAExcitationProcess->EmModel(1)))->SelectStationary(true);
236
237 ph->RegisterProcess(theDNAExcitationProcess, particle);
238
239 // *** Ionisation ***
240
241 G4DNAIonisation* theDNAIonisationProcess =
242 new G4DNAIonisation("proton_G4DNAIonisation");
243
244 theDNAIonisationProcess->SetEmModel(
246 theDNAIonisationProcess->SetEmModel(
248
250 (theDNAIonisationProcess->EmModel()))->SetLowEnergyLimit(0*eV);
252 (theDNAIonisationProcess->EmModel()))->SetHighEnergyLimit(500*keV);
254 (theDNAIonisationProcess->EmModel()))->SelectStationary(true);
255
257 (theDNAIonisationProcess->EmModel(1)))->SetLowEnergyLimit(500*keV);
259 (theDNAIonisationProcess->EmModel(1)))->SetHighEnergyLimit(100*MeV);
261 (theDNAIonisationProcess->EmModel(1)))->SelectStationary(true);
262 //
264 (theDNAIonisationProcess->EmModel(1)))->SelectFasterComputation(true);
265 //
266
267 ph->RegisterProcess(theDNAIonisationProcess, particle);
268
269 // *** Charge decrease ***
270
271 G4DNAChargeDecrease* theDNAChargeDecreaseProcess =
272 new G4DNAChargeDecrease("proton_G4DNAChargeDecrease");
273 theDNAChargeDecreaseProcess->SetEmModel(
276 (theDNAChargeDecreaseProcess->EmModel()))->SelectStationary(true);
277 ph->RegisterProcess(theDNAChargeDecreaseProcess, particle);
278
279 } else if ( particleName == "hydrogen" ) {
280
281 // *** Elastic ***
282
283 G4DNAElastic* theDNAElasticProcess =
284 new G4DNAElastic("hydrogen_G4DNAElastic");
285 theDNAElasticProcess->SetEmModel(
288 (theDNAElasticProcess->EmModel()))->SelectStationary(true);
289 ph->RegisterProcess(theDNAElasticProcess, particle);
290
291 // *** Excitation ***
292
293 G4DNAExcitation* theDNAExcitationProcess =
294 new G4DNAExcitation("hydrogen_G4DNAExcitation");
295 theDNAExcitationProcess->SetEmModel(
298 (theDNAExcitationProcess->EmModel()))->SelectStationary(true);
299 ph->RegisterProcess(theDNAExcitationProcess, particle);
300
301 // *** Ionisation ***
302
303 G4DNAIonisation* theDNAIonisationProcess =
304 new G4DNAIonisation("hydrogen_G4DNAIonisation");
305 theDNAIonisationProcess->SetEmModel(
308 theDNAIonisationProcess->EmModel()))->SelectStationary(true);
309 ph->RegisterProcess(theDNAIonisationProcess, particle);
310
311 // *** Charge increase ***
312
313 G4DNAChargeIncrease* theDNAChargeIncreaseProcess =
314 new G4DNAChargeIncrease("hydrogen_G4DNAChargeIncrease");
315 theDNAChargeIncreaseProcess->SetEmModel(
318 theDNAChargeIncreaseProcess->EmModel()))->SelectStationary(true);
319 ph->RegisterProcess(theDNAChargeIncreaseProcess, particle);
320
321 } else if ( particleName == "alpha" ) {
322
323 // *** Elastic ***
324
325 G4DNAElastic* theDNAElasticProcess =
326 new G4DNAElastic("alpha_G4DNAElastic");
327 theDNAElasticProcess->SetEmModel(new G4DNAIonElasticModel());
329 (theDNAElasticProcess->EmModel()))->SelectStationary(true);
330 ph->RegisterProcess(theDNAElasticProcess, particle);
331
332 // *** Excitation ***
333
334 G4DNAExcitation* theDNAExcitationProcess =
335 new G4DNAExcitation("alpha_G4DNAExcitation");
336 theDNAExcitationProcess->SetEmModel(
339 (theDNAExcitationProcess->EmModel()))->SelectStationary(true);
340 ph->RegisterProcess(theDNAExcitationProcess, particle);
341
342 // *** Ionisation ***
343
344 G4DNAIonisation* theDNAIonisationProcess =
345 new G4DNAIonisation("alpha_G4DNAIonisation");
346 theDNAIonisationProcess->SetEmModel(
349 (theDNAIonisationProcess->EmModel()))->SelectStationary(true);
350 ph->RegisterProcess(theDNAIonisationProcess, particle);
351
352 // *** Charge decrease ***
353
354 G4DNAChargeDecrease* theDNAChargeDecreaseProcess =
355 new G4DNAChargeDecrease("alpha_G4DNAChargeDecrease");
356 theDNAChargeDecreaseProcess->SetEmModel(
359 (theDNAChargeDecreaseProcess->EmModel()))->SelectStationary(true);
360 ph->RegisterProcess(theDNAChargeDecreaseProcess, particle);
361
362 } else if ( particleName == "alpha+" ) {
363
364 // *** Elastic ***
365
366 G4DNAElastic* theDNAElasticProcess =
367 new G4DNAElastic("alpha+_G4DNAElastic");
368 theDNAElasticProcess->SetEmModel(
371 (theDNAElasticProcess->EmModel()))->SelectStationary(true);
372 ph->RegisterProcess(theDNAElasticProcess, particle);
373
374 // *** Excitation ***
375
376 G4DNAExcitation* theDNAExcitationProcess =
377 new G4DNAExcitation("alpha+_G4DNAExcitation");
378 theDNAExcitationProcess->SetEmModel(
381 (theDNAExcitationProcess->EmModel()))->SelectStationary(true);
382 ph->RegisterProcess(theDNAExcitationProcess, particle);
383
384 // *** Ionisation ***
385
386 G4DNAIonisation* theDNAIonisationProcess =
387 new G4DNAIonisation("alpha+_G4DNAIonisation");
388 theDNAIonisationProcess->SetEmModel(
391 (theDNAIonisationProcess->EmModel()))->SelectStationary(true);
392 ph->RegisterProcess(theDNAIonisationProcess, particle);
393
394 // *** Charge decrease ***
395
396 G4DNAChargeDecrease* theDNAChargeDecreaseProcess =
397 new G4DNAChargeDecrease("alpha+_G4DNAChargeDecrease");
398 theDNAChargeDecreaseProcess->SetEmModel(
401 (theDNAChargeDecreaseProcess->EmModel()))->SelectStationary(true);
402 ph->RegisterProcess(theDNAChargeDecreaseProcess, particle);
403
404 // *** Charge increase ***
405
406 G4DNAChargeIncrease* theDNAChargeIncreaseProcess =
407 new G4DNAChargeIncrease("alpha+_G4DNAChargeIncrease");
408 theDNAChargeIncreaseProcess->SetEmModel(
411 (theDNAChargeIncreaseProcess->EmModel()))->SelectStationary(true);
412 ph->RegisterProcess(theDNAChargeIncreaseProcess, particle);
413
414 } else if ( particleName == "helium" ) {
415
416 // *** Elastic ***
417
418 G4DNAElastic* theDNAElasticProcess =
419 new G4DNAElastic("helium_G4DNAElastic");
420 theDNAElasticProcess->SetEmModel(new G4DNAIonElasticModel());
422 (theDNAElasticProcess->EmModel()))->SelectStationary(true);
423 ph->RegisterProcess(theDNAElasticProcess, particle);
424
425 // *** Excitation ***
426
427 G4DNAExcitation* theDNAExcitationProcess =
428 new G4DNAExcitation("helium_G4DNAExcitation");
429 theDNAExcitationProcess->SetEmModel(
432 (theDNAExcitationProcess->EmModel()))->SelectStationary(true);
433 ph->RegisterProcess(theDNAExcitationProcess, particle);
434
435 // *** Ionisation ***
436
437 G4DNAIonisation* theDNAIonisationProcess =
438 new G4DNAIonisation("helium_G4DNAIonisation");
439 theDNAIonisationProcess->SetEmModel(
442 (theDNAIonisationProcess->EmModel()))->SelectStationary(true);
443 ph->RegisterProcess(theDNAIonisationProcess, particle);
444
445 // *** Charge increase ***
446
447 G4DNAChargeIncrease* theDNAChargeIncreaseProcess =
448 new G4DNAChargeIncrease("helium_G4DNAChargeIncrease");
449 theDNAChargeIncreaseProcess->SetEmModel(
452 (theDNAChargeIncreaseProcess->EmModel()))->SelectStationary(true);
453 ph->RegisterProcess(theDNAChargeIncreaseProcess, particle);
454
455 } else if ( particleName == "GenericIon" ) {
456
457 // *** Ionisation ***
458
459 G4DNAIonisation* theDNAIonisationProcess =
460 new G4DNAIonisation("GenericIon_G4DNAIonisation");
461 theDNAIonisationProcess->SetEmModel(
464 (theDNAIonisationProcess->EmModel()))->SelectStationary(true);
465 ph->RegisterProcess(theDNAIonisationProcess, particle);
466
467 }
468
469 // Warning : the following particles and processes are needed by EM Physics
470 // builders
471 // They are taken from the default Livermore Physics list
472 // These particles are currently not handled by Geant4-DNA
473
474 // e+
475
476 else if (particleName == "e+") {
477
478 // Identical to G4EmStandardPhysics_stationary
479
482 G4eIonisation* eIoni = new G4eIonisation();
483 eIoni->SetStepFunction(0.2, 100*um);
484
485 ph->RegisterProcess(msc, particle);
486 ph->RegisterProcess(eIoni, particle);
487 ph->RegisterProcess(new G4eBremsstrahlung(), particle);
488 ph->RegisterProcess(new G4eplusAnnihilation(), particle);
489
490 } else if (particleName == "gamma") {
491
492 // photoelectric effect - Livermore model only
493 G4PhotoElectricEffect* thePhotoElectricEffect = new G4PhotoElectricEffect();
494 thePhotoElectricEffect->SetEmModel(new G4LivermorePhotoElectricModel());
495 ph->RegisterProcess(thePhotoElectricEffect, particle);
496
497 // Compton scattering - Livermore model only
498 G4ComptonScattering* theComptonScattering = new G4ComptonScattering();
499 theComptonScattering->SetEmModel(new G4LivermoreComptonModel());
500 ph->RegisterProcess(theComptonScattering, particle);
501
502 // gamma conversion - Livermore model below 80 GeV
503 G4GammaConversion* theGammaConversion = new G4GammaConversion();
504 theGammaConversion->SetEmModel(new G4LivermoreGammaConversionModel());
505 ph->RegisterProcess(theGammaConversion, particle);
506
507 // default Rayleigh scattering is Livermore
508 G4RayleighScattering* theRayleigh = new G4RayleighScattering();
509 ph->RegisterProcess(theRayleigh, particle);
510 }
511
512 // Warning : end of particles and processes are needed by EM Physics build.
513
514 }
515
516 // Deexcitation
517 //
520}
G4DNABornExcitationModel1 G4DNABornExcitationModel
#define G4DNABornIonisationModel
@ fUseDistanceToBoundary
static constexpr double keV
Definition: G4SIunits.hh:202
static constexpr double eV
Definition: G4SIunits.hh:201
static constexpr double um
Definition: G4SIunits.hh:93
static constexpr double MeV
Definition: G4SIunits.hh:200
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
void SetAtomDeexcitation(G4VAtomDeexcitation *)
static G4LossTableManager * Instance()
const G4String & GetParticleName() const
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
G4VEmModel * EmModel(size_t index=0) const
void SetEmModel(G4VEmModel *, G4int index=0)
void SetStepFunction(G4double v1, G4double v2)
void SetStepLimitType(G4MscStepLimitType val)
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
const G4String & GetPhysicsName() const

References G4VEmProcess::EmModel(), eV, fUseDistanceToBoundary, G4cout, G4DNABornIonisationModel, G4endl, G4VPhysicsConstructor::GetParticleIterator(), G4ParticleDefinition::GetParticleName(), G4PhysicsListHelper::GetPhysicsListHelper(), G4VPhysicsConstructor::GetPhysicsName(), G4LossTableManager::Instance(), keV, MeV, G4PhysicsListHelper::RegisterProcess(), G4LossTableManager::SetAtomDeexcitation(), G4VEmProcess::SetEmModel(), G4VEnergyLossProcess::SetStepFunction(), G4VMultipleScattering::SetStepLimitType(), um, and verbose.

◆ GetBuilders()

G4VPhysicsConstructor::PhysicsBuilder_V G4VPhysicsConstructor::GetBuilders ( ) const
protectedinherited

Definition at line 86 of file G4VPhysicsConstructor.cc.

87{
88 const auto& tls = *((subInstanceManager.offset[g4vpcInstanceID])._builders);
89 PhysicsBuilder_V copy(tls.size());
90 G4int i = 0;
91 for(const auto& el : tls)
92 {
93 copy[i++] = el;
94 }
95 return copy;
96}
int G4int
Definition: G4Types.hh:85
G4VPCData::PhysicsBuilders_V PhysicsBuilder_V
void copy(G4double dst[], const G4double src[], size_t size=G4FieldTrack::ncompSVEC)
Definition: G4FieldUtils.cc:98

References field_utils::copy(), G4VPhysicsConstructor::g4vpcInstanceID, G4VUPLSplitter< T >::offset, and G4VPhysicsConstructor::subInstanceManager.

◆ GetInstanceID()

G4int G4VPhysicsConstructor::GetInstanceID ( ) const
inlineinherited

◆ GetParticleIterator()

G4ParticleTable::G4PTblDicIterator * G4VPhysicsConstructor::GetParticleIterator ( ) const
protectedinherited

◆ GetPhysicsName()

const G4String & G4VPhysicsConstructor::GetPhysicsName ( ) const
inlineinherited

Definition at line 191 of file G4VPhysicsConstructor.hh.

192{
193 return namePhysics;
194}

References G4VPhysicsConstructor::namePhysics.

Referenced by G4EmDNAPhysics_option1::ConstructProcess(), G4EmDNAPhysics_option2::ConstructProcess(), G4EmDNAPhysics_option3::ConstructProcess(), G4EmDNAPhysics_option4::ConstructProcess(), G4EmDNAPhysics_option5::ConstructProcess(), G4EmDNAPhysics_option6::ConstructProcess(), G4EmDNAPhysics_option7::ConstructProcess(), G4EmDNAPhysics_option8::ConstructProcess(), G4EmDNAPhysics_stationary_option2::ConstructProcess(), G4EmDNAPhysics_stationary_option4::ConstructProcess(), ConstructProcess(), G4EmDNAPhysics::ConstructProcess(), G4EmDNAPhysics_stationary::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4EmLowEPPhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmStandardPhysics::ConstructProcess(), G4EmStandardPhysics_option1::ConstructProcess(), G4EmStandardPhysics_option2::ConstructProcess(), G4EmStandardPhysics_option3::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), G4EmStandardPhysicsGS::ConstructProcess(), G4EmStandardPhysicsSS::ConstructProcess(), G4EmStandardPhysicsWVI::ConstructProcess(), G4ThermalNeutrons::ConstructProcess(), G4HadronPhysicsFTFP_BERT::DumpBanner(), G4HadronPhysicsQGSP_BERT::DumpBanner(), export_G4VPhysicsConstructor(), G4HadronDElasticPhysics::G4HadronDElasticPhysics(), G4HadronElasticPhysics::G4HadronElasticPhysics(), G4HadronElasticPhysicsHP::G4HadronElasticPhysicsHP(), G4HadronElasticPhysicsLEND::G4HadronElasticPhysicsLEND(), G4HadronElasticPhysicsPHP::G4HadronElasticPhysicsPHP(), G4HadronElasticPhysicsXS::G4HadronElasticPhysicsXS(), G4HadronHElasticPhysics::G4HadronHElasticPhysics(), G4IonElasticPhysics::G4IonElasticPhysics(), G4VModularPhysicsList::RegisterPhysics(), and G4VModularPhysicsList::ReplacePhysics().

◆ GetPhysicsType()

G4int G4VPhysicsConstructor::GetPhysicsType ( ) const
inlineinherited

◆ GetSubInstanceManager()

const G4VPCManager & G4VPhysicsConstructor::GetSubInstanceManager ( )
inlinestaticinherited

◆ GetVerboseLevel()

G4int G4VPhysicsConstructor::GetVerboseLevel ( ) const
inlineinherited

◆ RegisterProcess()

G4bool G4VPhysicsConstructor::RegisterProcess ( G4VProcess process,
G4ParticleDefinition particle 
)
inlineprotectedinherited

◆ SetPhysicsName()

void G4VPhysicsConstructor::SetPhysicsName ( const G4String name = "")
inlineinherited

Definition at line 186 of file G4VPhysicsConstructor.hh.

187{
189}
const char * name(G4int ptype)

References G4InuclParticleNames::name(), and G4VPhysicsConstructor::namePhysics.

Referenced by export_G4VPhysicsConstructor().

◆ SetPhysicsType()

void G4VPhysicsConstructor::SetPhysicsType ( G4int  val)
inlineinherited

Definition at line 196 of file G4VPhysicsConstructor.hh.

197{
198 if(val > 0) { typePhysics = val; }
199}

References G4VPhysicsConstructor::typePhysics.

Referenced by G4DecayPhysics::G4DecayPhysics(), G4EmDNAPhysics::G4EmDNAPhysics(), G4EmDNAPhysics_option1::G4EmDNAPhysics_option1(), G4EmDNAPhysics_option2::G4EmDNAPhysics_option2(), G4EmDNAPhysics_option3::G4EmDNAPhysics_option3(), G4EmDNAPhysics_option4::G4EmDNAPhysics_option4(), G4EmDNAPhysics_option5::G4EmDNAPhysics_option5(), G4EmDNAPhysics_option6::G4EmDNAPhysics_option6(), G4EmDNAPhysics_option7::G4EmDNAPhysics_option7(), G4EmDNAPhysics_option8::G4EmDNAPhysics_option8(), G4EmDNAPhysics_stationary_option2::G4EmDNAPhysics_stationary_option2(), G4EmDNAPhysics_stationary_option4::G4EmDNAPhysics_stationary_option4(), G4EmDNAPhysics_stationary_option6(), G4EmExtraPhysics::G4EmExtraPhysics(), G4EmLivermorePhysics::G4EmLivermorePhysics(), G4EmLowEPPhysics::G4EmLowEPPhysics(), G4EmPenelopePhysics::G4EmPenelopePhysics(), G4EmStandardPhysics::G4EmStandardPhysics(), G4EmStandardPhysics_option1::G4EmStandardPhysics_option1(), G4EmStandardPhysics_option2::G4EmStandardPhysics_option2(), G4EmStandardPhysics_option3::G4EmStandardPhysics_option3(), G4EmStandardPhysics_option4::G4EmStandardPhysics_option4(), G4EmStandardPhysicsGS::G4EmStandardPhysicsGS(), G4EmStandardPhysicsSS::G4EmStandardPhysicsSS(), G4EmStandardPhysicsWVI::G4EmStandardPhysicsWVI(), G4HadronElasticPhysics::G4HadronElasticPhysics(), G4HadronInelasticQBBC::G4HadronInelasticQBBC(), G4HadronPhysicsFTFP_BERT::G4HadronPhysicsFTFP_BERT(), G4HadronPhysicsQGSP_BERT::G4HadronPhysicsQGSP_BERT(), G4HadronPhysicsQGSP_BIC::G4HadronPhysicsQGSP_BIC(), G4IonINCLXXPhysics::G4IonINCLXXPhysics(), G4IonPhysics::G4IonPhysics(), G4IonPhysicsPHP::G4IonPhysicsPHP(), G4IonQMDPhysics::G4IonQMDPhysics(), G4NeutronTrackingCut::G4NeutronTrackingCut(), G4StepLimiterPhysics::G4StepLimiterPhysics(), G4StoppingPhysics::G4StoppingPhysics(), and G4StoppingPhysicsFritiofWithBinaryCascade::G4StoppingPhysicsFritiofWithBinaryCascade().

◆ SetVerboseLevel()

void G4VPhysicsConstructor::SetVerboseLevel ( G4int  value)
inlineinherited

◆ TerminateWorker()

void G4VPhysicsConstructor::TerminateWorker ( )
virtualinherited

Definition at line 105 of file G4VPhysicsConstructor.cc.

106{
107 if(subInstanceManager.offset[g4vpcInstanceID]._builders != nullptr)
108 {
109 std::for_each(subInstanceManager.offset[g4vpcInstanceID]._builders->begin(),
110 subInstanceManager.offset[g4vpcInstanceID]._builders->end(),
111 [](PhysicsBuilder_V::value_type bld) { delete bld; });
112 subInstanceManager.offset[g4vpcInstanceID]._builders->clear();
113 }
114}

References G4VPhysicsConstructor::g4vpcInstanceID, G4VUPLSplitter< T >::offset, and G4VPhysicsConstructor::subInstanceManager.

Referenced by G4VPhysicsConstructor::~G4VPhysicsConstructor().

Field Documentation

◆ g4vpcInstanceID

G4int G4VPhysicsConstructor::g4vpcInstanceID = 0
protectedinherited

◆ namePhysics

G4String G4VPhysicsConstructor::namePhysics = ""
protectedinherited

◆ subInstanceManager

G4VPCManager G4VPhysicsConstructor::subInstanceManager
staticprotectedinherited

◆ theParticleTable

G4ParticleTable* G4VPhysicsConstructor::theParticleTable = nullptr
protectedinherited

◆ typePhysics

G4int G4VPhysicsConstructor::typePhysics = 0
protectedinherited

◆ verbose

G4int G4EmDNAPhysics_stationary_option6::verbose
private

Definition at line 48 of file G4EmDNAPhysics_stationary_option6.hh.

Referenced by ConstructProcess().

◆ verboseLevel

G4int G4VPhysicsConstructor::verboseLevel = 0
protectedinherited

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