Problem 1444 - Physics for Generic-ion not registered in N02
Summary: Physics for Generic-ion not registered in N02
Status: RESOLVED FIXED
Alias: None
Product: Examples/Basic and Novice
Classification: Unclassified
Component: N02 (show other problems)
Version: 9.6
Hardware: PC Linux
: P5 trivial
Assignee: Vladimir.Ivantchenko
URL:
Depends on:
Blocks:
 
Reported: 2013-02-19 15:02 CET by Oscar
Modified: 2013-02-25 20:08 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Oscar 2013-02-19 15:02:13 CET
Physics for simulating generic ion is not loaded. 

When running a simulation using a generic ion with the following command:

/gun/particle ion
/gun/ion 6 12 6
/gun/energy 10 MeV
/run/beamOn

I get this print out:

### Run 0 start.

*********************************************************************************************************
* G4Track Information:   Particle = C12[0.0],   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    0      0 fm      0 fm  -2.91 m      10 MeV     0 eV      0 fm      0 fm      World   initStep
    1      0 fm      0 fm  -2.91 m      10 MeV     0 eV 5.83e+288 pc 5.83e+288 pc      World    UserLimit
    2      0 fm      0 fm  -2.91 m      10 MeV     0 eV 5.83e+288 pc    inf pc      World    UserLimit
    3      0 fm      0 fm  -2.91 m      10 MeV     0 eV 5.83e+288 pc    inf pc      World    UserLimit
    4      0 fm      0 fm  -2.91 m      10 MeV     0 eV 5.83e+288 pc    inf pc      World    UserLimit
    5      0 fm      0 fm  -2.91 m      10 MeV     0 eV 5.83e+288 pc    inf pc      World    UserLimit

A quick-fix I used was to use the PhysicsList from N03 (with the appropriate changes) and then the example ran well. 

Cheers!

Oscar
Comment 1 Vladimir.Ivantchenko 2013-02-25 20:08:05 CET
Hello,

The observation and the fix are correct. The fix will be included in the next geant4 patch.

VI