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

#include <G4EmDNAPhysics_stationary.hh>

Inheritance diagram for G4EmDNAPhysics_stationary:
G4EmDNAPhysics G4VPhysicsConstructor

Public Member Functions

void ConstructParticle () override
 
void ConstructProcess () override
 
 G4EmDNAPhysics_stationary (G4int ver=1, const G4String &nam="G4EmDNAPhysics_stationary")
 
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 ()
 

Static Public Member Functions

static const G4VPCManagerGetSubInstanceManager ()
 

Protected Types

using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 

Protected Member Functions

void AddBuilder (G4PhysicsBuilderInterface *bld)
 
virtual void ConstructGammaPositronProcesses ()
 
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
 

Detailed Description

Definition at line 34 of file G4EmDNAPhysics_stationary.hh.

Member Typedef Documentation

◆ PhysicsBuilder_V

Definition at line 149 of file G4VPhysicsConstructor.hh.

Constructor & Destructor Documentation

◆ G4EmDNAPhysics_stationary()

G4EmDNAPhysics_stationary::G4EmDNAPhysics_stationary ( G4int  ver = 1,
const G4String nam = "G4EmDNAPhysics_stationary" 
)

Definition at line 66 of file G4EmDNAPhysics_stationary.cc.

67 : G4EmDNAPhysics(ver, nam)
68{
70 param->SetDNAStationary(true);
71}
G4EmDNAPhysics(G4int ver=1, const G4String &name="G4EmDNAPhysics")
static G4EmParameters * Instance()
void SetDNAStationary(G4bool val)

References G4EmParameters::Instance(), and G4EmParameters::SetDNAStationary().

◆ ~G4EmDNAPhysics_stationary()

G4EmDNAPhysics_stationary::~G4EmDNAPhysics_stationary ( )
virtual

Definition at line 75 of file G4EmDNAPhysics_stationary.cc.

76{}

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().

◆ ConstructGammaPositronProcesses()

void G4EmDNAPhysics::ConstructGammaPositronProcesses ( )
protectedvirtualinherited

Definition at line 228 of file G4EmDNAPhysics.cc.

229{
230 // this construction is based on G4EmStandardPhysics_option3
232
235
236 // photoelectric effect - Livermore model
237 G4PhotoElectricEffect* thePEEffect = new G4PhotoElectricEffect();
238 thePEEffect->SetEmModel(new G4LivermorePhotoElectricModel());
239 helper->RegisterProcess(thePEEffect, part);
240
241 // Compton scattering - Klein-Nishina
242 G4ComptonScattering* theComptonScattering = new G4ComptonScattering();
243 theComptonScattering->SetEmModel(new G4KleinNishinaModel());
244 helper->RegisterProcess(theComptonScattering, part);
245
246 // gamma conversion - 5D model
247 G4GammaConversion* theGammaConversion = new G4GammaConversion();
248 theGammaConversion->SetEmModel(new G4BetheHeitler5DModel());
249 helper->RegisterProcess(theGammaConversion, part);
250
251 // Rayleigh scattering - Livermore model
252 G4RayleighScattering* theRayleigh = new G4RayleighScattering();
253 helper->RegisterProcess(theRayleigh, part);
254
255 part = G4Positron::Positron();
256
257 helper->RegisterProcess(new G4eMultipleScattering(), part);
258 helper->RegisterProcess(new G4eIonisation(), part);
259 helper->RegisterProcess(new G4eBremsstrahlung(), part);
260 helper->RegisterProcess(new G4eplusAnnihilation(), part);
261}
static void PrepareEMPhysics()
Definition: G4EmBuilder.cc:375
static G4Gamma * Gamma()
Definition: G4Gamma.cc:85
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
static G4Positron * Positron()
Definition: G4Positron.cc:93
void SetEmModel(G4VEmModel *, G4int index=0)

References G4Gamma::Gamma(), G4PhysicsListHelper::GetPhysicsListHelper(), G4Positron::Positron(), G4EmBuilder::PrepareEMPhysics(), G4PhysicsListHelper::RegisterProcess(), and G4VEmProcess::SetEmModel().

Referenced by G4EmDNAPhysics::ConstructProcess(), and ConstructProcess().

◆ ConstructParticle()

void G4EmDNAPhysics::ConstructParticle ( )
overridevirtualinherited

Implements G4VPhysicsConstructor.

Definition at line 111 of file G4EmDNAPhysics.cc.

112{
113 // bosons
115
116 // leptons
119
120 // baryons
122
125
126 G4DNAGenericIonsManager* genericIonsManager
128 //genericIonsManager->GetIon("alpha++");
129 genericIonsManager->GetIon("alpha+");
130 genericIonsManager->GetIon("helium");
131 genericIonsManager->GetIon("hydrogen");
132 //genericIonsManager->GetIon("carbon");
133 //genericIonsManager->GetIon("nitrogen");
134 //genericIonsManager->GetIon("oxygen");
135 //genericIonsManager->GetIon("iron");
136}
static G4Alpha * Alpha()
Definition: G4Alpha.cc:88
static G4DNAGenericIonsManager * Instance(void)
G4ParticleDefinition * GetIon(const G4String &name)
static G4Electron * Electron()
Definition: G4Electron.cc:93
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:87
static G4Proton * Proton()
Definition: G4Proton.cc:92

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

◆ ConstructProcess()

void G4EmDNAPhysics_stationary::ConstructProcess ( )
overridevirtual

Reimplemented from G4EmDNAPhysics.

Definition at line 80 of file G4EmDNAPhysics_stationary.cc.

81{
82 if(verboseLevel > 1) {
83 G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
84 }
86
88 G4DNAGenericIonsManager* genericIonsManager
90
91 // e-
93
94 // *** Elastic scattering ***
95 G4DNAElastic* theDNAElastic = new G4DNAElastic("e-_G4DNAElastic");
96 theDNAElastic->SetEmModel(new G4DNAChampionElasticModel());
97 ph->RegisterProcess(theDNAElastic, part);
98
99 // *** Excitation ***
100 G4DNAExcitation* theDNAExc = new G4DNAExcitation("e-_G4DNAExcitation");
102 theDNAExc->SetEmModel(modB);
103 modB->SelectStationary(true);
104 ph->RegisterProcess(theDNAExc, part);
105
106 // *** Ionisation ***
107 G4DNAIonisation* theDNAIoni = new G4DNAIonisation("e-_G4DNAIonisation");
109 theDNAIoni->SetEmModel(modI);
110 modI->SelectStationary(true);
111 ph->RegisterProcess(theDNAIoni, part);
112
113 // *** Vibrational excitation ***
114 G4DNAVibExcitation* theDNAVibExc =
115 new G4DNAVibExcitation("e-_G4DNAVibExcitation");
117 theDNAVibExc->SetEmModel(modS);
118 modS->SelectStationary(true);
119 ph->RegisterProcess(theDNAVibExc, part);
120
121 // *** Attachment ***
122 G4DNAAttachment* theDNAAttach = new G4DNAAttachment("e-_G4DNAAttachment");
124 theDNAAttach->SetEmModel(modM);
125 modM->SelectStationary(true);
126 ph->RegisterProcess(theDNAAttach, part);
127
128 // proton
129 part = G4Proton::Proton();
130
131 // *** Elastic ***
132 theDNAElastic = new G4DNAElastic("proton_G4DNAElastic");
134 theDNAElastic->SetEmModel(modE);
135 modE->SelectStationary(true);
136 ph->RegisterProcess(theDNAElastic, part);
137
138 // *** Excitation ***
139 theDNAExc = new G4DNAExcitation("proton_G4DNAExcitation");
142 modMGE->SetLowEnergyLimit(10*eV);
143 modMGE->SetHighEnergyLimit(500*keV);
144 modMGE->SelectStationary(true);
145 theDNAExc->SetEmModel(modMGE);
147 modBE->SetLowEnergyLimit(500*keV);
148 modBE->SetHighEnergyLimit(100*MeV);
149 modBE->SelectStationary(true);
150 theDNAExc->SetEmModel(modBE);
151 ph->RegisterProcess(theDNAExc, part);
152
153 // *** Ionisation ***
154 theDNAIoni = new G4DNAIonisation("proton_G4DNAIonisation");
156 modRI->SetLowEnergyLimit(0*eV);
157 modRI->SetHighEnergyLimit(500*keV);
158 modRI->SelectStationary(true);
159 theDNAIoni->SetEmModel(modRI);
161 modBI->SetLowEnergyLimit(500*keV);
162 modBI->SetHighEnergyLimit(100*MeV);
163 modBI->SelectStationary(true);
164 theDNAIoni->SetEmModel(modBI);
165 ph->RegisterProcess(theDNAIoni, part);
166
167 // *** Charge decrease ***
168 G4DNAChargeDecrease* theDNAChargeDecreaseProcess =
169 new G4DNAChargeDecrease("proton_G4DNAChargeDecrease");
172 modDCD->SelectStationary(true);
173 theDNAChargeDecreaseProcess->SetEmModel(modDCD);
174 ph->RegisterProcess(theDNAChargeDecreaseProcess, part);
175
176 // hydrogen
177 part = genericIonsManager->GetIon("hydrogen");
178
179 // *** Elastic ***
180 theDNAElastic = new G4DNAElastic("hydrogen_G4DNAElastic");
182 modEI->SelectStationary(true);
183 theDNAElastic->SetEmModel(modEI);
184 ph->RegisterProcess(theDNAElastic, part);
185
186 // *** Excitation ***
187 theDNAExc = new G4DNAExcitation("hydrogen_G4DNAExcitation");
188 modMGE = new G4DNAMillerGreenExcitationModel();
189 modMGE->SelectStationary(true);
190 theDNAExc->SetEmModel(modMGE);
191 ph->RegisterProcess(theDNAExc, part);
192
193 // *** Ionisation ***
194 theDNAIoni = new G4DNAIonisation("hydrogen_G4DNAIonisation");
195 modRI = new G4DNARuddIonisationModel();
196 theDNAIoni->SetEmModel(new G4DNARuddIonisationModel());
197 modRI->SelectStationary(true);
198 ph->RegisterProcess(theDNAIoni, part);
199
200 // *** Charge increase ***
201 G4DNAChargeIncrease* theDNAChargeIncreaseProcess =
202 new G4DNAChargeIncrease("hydrogen_G4DNAChargeIncrease");
205 modDCI->SelectStationary(true);
206 theDNAChargeIncreaseProcess->SetEmModel(modDCI);
207 ph->RegisterProcess(theDNAChargeIncreaseProcess, part);
208
209 // alpha++
210 part = G4Alpha::Alpha();
211
212 // *** Elastic ***
213 theDNAElastic = new G4DNAElastic("alpha_G4DNAElastic");
214 modEI = new G4DNAIonElasticModel();
215 modEI->SelectStationary(true);
216 theDNAElastic->SetEmModel(modEI);
217 ph->RegisterProcess(theDNAElastic, part);
218
219 // *** Excitation ***
220 theDNAExc = new G4DNAExcitation("alpha_G4DNAExcitation");
221 modMGE = new G4DNAMillerGreenExcitationModel();
222 modMGE->SelectStationary(true);
223 theDNAExc->SetEmModel(modMGE);
224 ph->RegisterProcess(theDNAExc, part);
225
226 // *** Ionisation ***
227 theDNAIoni = new G4DNAIonisation("alpha_G4DNAIonisation");
228 modRI = new G4DNARuddIonisationModel();
229 theDNAIoni->SetEmModel(new G4DNARuddIonisationModel());
230 modRI->SelectStationary(true);
231 ph->RegisterProcess(theDNAIoni, part);
232
233 // *** Charge decrease ***
234 theDNAChargeDecreaseProcess =
235 new G4DNAChargeDecrease("alpha_G4DNAChargeDecrease");
237 modDCD->SelectStationary(true);
238 theDNAChargeDecreaseProcess->SetEmModel(modDCD);
239 ph->RegisterProcess(theDNAChargeDecreaseProcess, part);
240
241 // alpha+
242 part = genericIonsManager->GetIon("alpha+");
243
244 // *** Elastic ***
245 theDNAElastic = new G4DNAElastic("alpha+_G4DNAElastic");
246 modEI = new G4DNAIonElasticModel();
247 modEI->SelectStationary(true);
248 theDNAElastic->SetEmModel(modEI);
249 ph->RegisterProcess(theDNAElastic, part);
250
251 // *** Excitation ***
252 theDNAExc = new G4DNAExcitation("alpha+_G4DNAExcitation");
253 modMGE = new G4DNAMillerGreenExcitationModel();
254 modMGE->SelectStationary(true);
255 theDNAExc->SetEmModel(modMGE);
256 ph->RegisterProcess(theDNAExc, part);
257
258 // *** Ionisation ***
259 theDNAIoni = new G4DNAIonisation("alpha+_G4DNAIonisation");
260 modRI = new G4DNARuddIonisationModel();
261 theDNAIoni->SetEmModel(new G4DNARuddIonisationModel());
262 modRI->SelectStationary(true);
263 ph->RegisterProcess(theDNAIoni, part);
264
265 // *** Charge decrease ***
266 theDNAChargeDecreaseProcess =
267 new G4DNAChargeDecrease("alpha+_G4DNAChargeDecrease");
269 modDCD->SelectStationary(true);
270 theDNAChargeDecreaseProcess->SetEmModel(modDCD);
271 ph->RegisterProcess(theDNAChargeDecreaseProcess, part);
272
273 // *** Charge increase ***
274 theDNAChargeIncreaseProcess =
275 new G4DNAChargeIncrease("alpha+_G4DNAChargeIncrease");
277 modDCI->SelectStationary(true);
278 theDNAChargeIncreaseProcess->SetEmModel(modDCI);
279 ph->RegisterProcess(theDNAChargeIncreaseProcess, part);
280
281 // helium
282 part = genericIonsManager->GetIon("helium");
283
284 // *** Elastic ***
285 theDNAElastic = new G4DNAElastic("helium_G4DNAElastic");
286 modEI = new G4DNAIonElasticModel();
287 modEI->SelectStationary(true);
288 theDNAElastic->SetEmModel(modEI);
289 ph->RegisterProcess(theDNAElastic, part);
290
291 // *** Excitation ***
292 theDNAExc = new G4DNAExcitation("helium_G4DNAExcitation");
293 modMGE = new G4DNAMillerGreenExcitationModel();
294 modMGE->SelectStationary(true);
295 theDNAExc->SetEmModel(modMGE);
296 ph->RegisterProcess(theDNAExc, part);
297
298 // *** Ionisation ***
299 theDNAIoni = new G4DNAIonisation("helium_G4DNAIonisation");
300 modRI = new G4DNARuddIonisationModel();
301 theDNAIoni->SetEmModel(new G4DNARuddIonisationModel());
302 modRI->SelectStationary(true);
303 ph->RegisterProcess(theDNAIoni, part);
304
305 // *** Charge increase ***
306 theDNAChargeIncreaseProcess =
307 new G4DNAChargeIncrease("helium_G4DNAChargeIncrease");
309 modDCI->SelectStationary(true);
310 theDNAChargeIncreaseProcess->SetEmModel(modDCI);
311 ph->RegisterProcess(theDNAChargeIncreaseProcess, part);
312
313 // other ions
315
316 // *** Ionisation ***
317 theDNAIoni = new G4DNAIonisation("GenericIon_G4DNAIonisation");
320 mod->SelectStationary(true);
321 theDNAIoni->SetEmModel(mod);
322 ph->RegisterProcess(theDNAIoni, part);
323}
G4DNABornExcitationModel1 G4DNABornExcitationModel
#define G4DNABornIonisationModel
static constexpr double keV
Definition: G4SIunits.hh:202
static constexpr double eV
Definition: G4SIunits.hh:201
static constexpr double MeV
Definition: G4SIunits.hh:200
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
void SelectStationary(G4bool input)
virtual void ConstructGammaPositronProcesses()
static G4GenericIon * GenericIon()
Definition: G4GenericIon.cc:92
void SetHighEnergyLimit(G4double)
Definition: G4VEmModel.hh:767
void SetLowEnergyLimit(G4double)
Definition: G4VEmModel.hh:774
const G4String & GetPhysicsName() const

References G4Alpha::Alpha(), G4EmDNAPhysics::ConstructGammaPositronProcesses(), G4Electron::Electron(), eV, G4cout, G4DNABornIonisationModel, G4endl, G4GenericIon::GenericIon(), G4DNAGenericIonsManager::GetIon(), G4PhysicsListHelper::GetPhysicsListHelper(), G4VPhysicsConstructor::GetPhysicsName(), G4DNAGenericIonsManager::Instance(), keV, MeV, G4Proton::Proton(), G4PhysicsListHelper::RegisterProcess(), G4DNABornExcitationModel1::SelectStationary(), G4DNADingfelderChargeDecreaseModel::SelectStationary(), G4DNADingfelderChargeIncreaseModel::SelectStationary(), G4DNAIonElasticModel::SelectStationary(), G4DNAMeltonAttachmentModel::SelectStationary(), G4DNAMillerGreenExcitationModel::SelectStationary(), G4DNARuddIonisationExtendedModel::SelectStationary(), G4DNARuddIonisationModel::SelectStationary(), G4DNASancheExcitationModel::SelectStationary(), G4VEmProcess::SetEmModel(), G4VEmModel::SetHighEnergyLimit(), G4VEmModel::SetLowEnergyLimit(), and G4VPhysicsConstructor::verboseLevel.

◆ 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(), G4EmDNAPhysics_stationary_option6::ConstructProcess(), G4EmDNAPhysics::ConstructProcess(), 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::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

◆ verboseLevel

G4int G4VPhysicsConstructor::verboseLevel = 0
protectedinherited

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