219{
223 isFirst = true;
225 }
226 l.unlock();
227 }
228
232 if (!isFirst || nelm == n0) { return; }
233
234
236
239 }
240
241 if (
fManager->GetVerboseLevel() > 0 && isFirst) {
243 G4cout <<
"@@@ G4ParticleHPInelastic instantiated for particle "
244 << theProjectile->GetParticleName() << "/n data directory is "
246 }
247
249 for (
G4int i = n0; i < nelm; ++i) {
250 auto clist = new G4ParticleHPChannelList(36, theProjectile);
252 clist->Init((*table)[i],
dirName, theProjectile);
253 clist->Register(new G4ParticleHPNInelasticFS, "F01/");
254 clist->Register(new G4ParticleHPNXInelasticFS, "F02/");
255 clist->Register(new G4ParticleHP2NDInelasticFS, "F03/");
256 clist->Register(new G4ParticleHP2NInelasticFS, "F04/");
257 clist->Register(new G4ParticleHP3NInelasticFS, "F05/");
258 clist->Register(new G4ParticleHPNAInelasticFS, "F06/");
259 clist->Register(new G4ParticleHPN3AInelasticFS, "F07/");
260 clist->Register(new G4ParticleHP2NAInelasticFS, "F08/");
261 clist->Register(new G4ParticleHP3NAInelasticFS, "F09/");
262 clist->Register(new G4ParticleHPNPInelasticFS, "F10/");
263 clist->Register(new G4ParticleHPN2AInelasticFS, "F11/");
264 clist->Register(new G4ParticleHP2N2AInelasticFS, "F12/");
265 clist->Register(new G4ParticleHPNDInelasticFS, "F13/");
266 clist->Register(new G4ParticleHPNTInelasticFS, "F14/");
267 clist->Register(new G4ParticleHPNHe3InelasticFS, "F15/");
268 clist->Register(new G4ParticleHPND2AInelasticFS, "F16/");
269 clist->Register(new G4ParticleHPNT2AInelasticFS, "F17/");
270 clist->Register(new G4ParticleHP4NInelasticFS, "F18/");
271 clist->Register(new G4ParticleHP2NPInelasticFS, "F19/");
272 clist->Register(new G4ParticleHP3NPInelasticFS, "F20/");
273 clist->Register(new G4ParticleHPN2PInelasticFS, "F21/");
274 clist->Register(new G4ParticleHPNPAInelasticFS, "F22/");
275 clist->Register(new G4ParticleHPPInelasticFS, "F23/");
276 clist->Register(new G4ParticleHPDInelasticFS, "F24/");
277 clist->Register(new G4ParticleHPTInelasticFS, "F25/");
278 clist->Register(new G4ParticleHPHe3InelasticFS, "F26/");
279 clist->Register(new G4ParticleHPAInelasticFS, "F27/");
280 clist->Register(new G4ParticleHP2AInelasticFS, "F28/");
281 clist->Register(new G4ParticleHP3AInelasticFS, "F29/");
282 clist->Register(new G4ParticleHP2PInelasticFS, "F30/");
283 clist->Register(new G4ParticleHPPAInelasticFS, "F31/");
284 clist->Register(new G4ParticleHPD2AInelasticFS, "F32/");
285 clist->Register(new G4ParticleHPT2AInelasticFS, "F33/");
286 clist->Register(new G4ParticleHPPDInelasticFS, "F34/");
287 clist->Register(new G4ParticleHPPTInelasticFS, "F35/");
288 clist->Register(new G4ParticleHPDAInelasticFS, "F36/");
289#ifdef G4VERBOSE
290 if (
fManager->GetVerboseLevel() > 1) {
291 G4cout <<
"ParticleHP::Inelastic for "
292 << theProjectile->GetParticleName() << " off "
293 << (*table)[i]->GetName() <<
G4endl;
294 }
295#endif
296 }
298 l.unlock();
299}
G4TemplateAutoLock< G4Mutex > G4AutoLock
static std::size_t GetNumberOfElements()