102{
103
105 myParticleIterator->reset();
106
107 while( (*myParticleIterator)() ){
112 if(particleName=="e-") {
116
120
124
126
130
132
136
137 } else if(particleName=="e+") {
141
145
149
151
155
157
161
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204 } else if (particleName == "gamma") {
205
206 G4double LivermoreHighEnergyLimit = CLHEP::GeV;
207
212 thePhotoElectricEffect->
AddEmModel(0, theLivermorePhotoElectricModel);
214
219 theComptonScattering->
AddEmModel(0, theLivermoreComptonModel);
221
226 theGammaConversion->
AddEmModel(0, theLivermoreGammaConversionModel);
228
234 }
235
236 }
237
238}
G4GLOB_DLL std::ostream G4cout
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void SetHighEnergyLimit(G4double)
void AddEmModel(G4int, G4VEmModel *, const G4Region *region=nullptr)
void SetEmModel(G4VEmModel *, G4int index=0)
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
G4double elastic(Particle const *const p1, Particle const *const p2)