Problem 1444

Summary: Physics for Generic-ion not registered in N02
Product: Examples/Basic and Novice Reporter: Oscar <oscarlar>
Component: N02Assignee: Vladimir.Ivantchenko
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: 9.6   
Hardware: PC   
OS: Linux   

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