| Summary: | Warning messages from G4ProcessTable::Insert | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Ivana Hrivnacova <ivana> |
| Component: | physics_lists | Assignee: | kurasige |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | Gunter.Folger, kurasige, Vladimir.Ivantchenko |
| Priority: | P3 | ||
| Version: | 9.4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: |
the modified N03 example to reproduce the problem
the modified field/field04 example which PL is closer to the real application |
||
|
Description
Ivana Hrivnacova
2011-02-17 17:34:22 CET
Looks like a physics list problem to me, or maybe EM because of the msc. Hello, The problem should be reproduced in unchanged N03 from Geant4 distribution. VI This seems to be part of teh EM builders --> reassign to Vladimir Deactivation of processes for GenericIon is a problem, because when in hadronic interaction a new type of ion is created the process manager of this ion getting pointers of all processes from GenericIon and do initilisation. If some process is inactive then the logic of this action become very complicate in both places: process management and EM physics table management. This deactivation is not needed, if one wish to study the effect of multiple scattering it is possible to comment out msc for GenericIon in EM physics builder. VI PS. I reporting too late because never was notified about this problem by bugzilla Created attachment 118 [details]
the modified field/field04 example which PL is closer to the real application
Hi Vladimir, In the real application it is not msc which is inactivated but an extra process (it can be special cuts or step limiter or whatever else). So the conclusion that inactivating msc for GenericIon is not needed does not solve the problem. Also a proposed modification of the EM physics builder is not a solution, as we cannot expect the user to modify the class in Geant4 or Geant4 VMC. The physics list in extended/field/field04 is closer to the one used in the VMC applications (where special processes are added to support step limit, user limits etc.). I attach a patch with a simple modification of field04.in which also allows to reproduce the problem when UserStepMax process is inactivated. I hope this will help to find a solution. Thank you, The problem happens when new ion is created, so it is redirected to Hisaya. Vladimir Hello, The warning message appears because a process for GenericIon is inactivated (Multiple Scattering in this case). It works well without any problem because this warning message But, I found a small problem in /particle/process/dump command. The inactivated process in each ion created on the fly is displayed as "Active". I modified to suppress the warning message and fixed this bug. (procman-V09-04-04 tag) I want to comment one thing related to this topic. The inactivated process in each ion created on the fly can not be activated by /particle/process/activate command for GenericIon nor /process/activate command. You need to activate it by /particle/process/activate command for all ions. Thank you Hisaya |