Problem 825

Summary: Problems with local and global time in Radioactive Decay
Product: Geant4 Reporter: pitpat
Component: processes/hadronic/modelsAssignee: kurasige
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.1   
Hardware: All   
OS: Linux   

Description pitpat 2005-12-19 11:18:00 CET
When using the Radioactive Decay Module (RDM), the global time can easily reach
~10^17 s(238U decay, for example).  Setting the tracking verbosity and looking
for a step's local time easily shows that it is always zero for this type of
long lived decay.
Comment 1 kurasige 2005-12-19 19:22:59 CET
The Local time of the track (the time from when the track is created) is set
properly by Radioactive Decay as you can see a output of U238 decay (tracking
verbose 5) below.
 *********************************************************************************************************
* G4Track Information:   Particle = U238[0.0],   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng
NextVolume ProcName
    0        0        0        0         0        0        0         0
Target initStep
 **List of AtRestDoIt invoked:
   # 1 : RadioactiveDecay (Forced)
   Generated secondries # : 2
   -- List of secondaries generated : (x,y,z,kE,t,PID) --
              0         0         0 0.0719006 1.77025e+26         Th234[0.0]
              0         0         0    4.2021 1.77025e+26              alpha

    ++G4Step Information
      Address of G4Track    : 0x3536a90
      Step Length (mm)      : 0
      Energy Deposit (MeV)  : 0
      -----------------------------------------------------------------------
        StepPoint Information               PreStep            PostStep
      -----------------------------------------------------------------------
         Position - x (mm)   :                    0                   0
         Position - y (mm)   :                    0                   0
         Position - z (mm)   :                    0                   0
         Global Time (ns)    :                    01.770252638705842e+26
         Local Time (ns)     :                    01.770252638705842e+26
         Proper Time (ns)    :                    0                   0
      ...................

However, the proper time was not set properly. This bug will be fixed in the
next patch for the relase 8.0.