Problem 273

Summary: Problem with UserLimit and EnergyDeposit
Product: Geant4 Reporter: tropeano
Component: processesAssignee: Makoto.Asai
Status: CLOSED INVALID    
Severity: normal    
Priority: P2    
Version: 3.0   
Hardware: PC   
OS: Windows   

Description tropeano 2001-07-10 12:32:08 CEST
I want to stored the total energy deposited during a step.
I introduce a limit on the step length in my detector construction class
and in my Sensitive Deyector(SD) I see, for each step, the particle name, the
step length, the total energy deposed during the step.
As you can see in this list, only one deposition is stored from the Densitive
Detector ( there is the output from SD class)


********************************************************************************
* G4Track Information:   Particle = gamma,   Track ID = 1,   Parent ID = 0
********************************************************************************

Step#    KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName

    0       0.356        0        0         0 CapsulePhys initStep
    1       0.356        0    0.561     0.561 WaterBoxPhys Transportation
    2       0.356        0        1      1.56 WaterBoxPhys User Limit
    3       0.356        0        1      2.56 WaterBoxPhys User Limit
    4       0.356        0        1      3.56 WaterBoxPhys User Limit
    5       0.356        0        1      4.56 WaterBoxPhys User Limit
    6       0.356        0        1      5.56 WaterBoxPhys User Limit
    7       0.356        0        1      6.56 WaterBoxPhys User Limit
    8       0.32   0.0364    0.793      7.35 WaterBoxPhys LowEnCompton

gamma	0.0363845  0.792825 (this from SD class...)

    9   0.32        0        1      8.35 WaterBoxPhys User Limit
   10   0.32        0        1      9.35 WaterBoxPhys User Limit
    .
    .
   22   0.32        0        1       21.4 WaterBoxPhys User Limit
   23   0.231   0.0886     0.13      21.5 WaterBoxPhys LowEnCompton

  (why no messages from Sensitive Detector about energy deposition?)

   24   0.231        0        1      22.5 WaterBoxPhys User Limit
   25   0.231        0        1      23.5 WaterBoxPhys User Limit
   26   0.122    0.109 0.000388      23.5 WaterBoxPhys LowEnCompton

  (why no messages from Sensitive Detector about energy deposition?)

   27   0.122        0        1      24.5 WaterBoxPhys User Limit
   .
   .
### pop requested out of 0 stacked tracks.



This for many other events. If I don't use the UserLimit, all the energy deposit
are sored.
Matteo Tropeano
Comment 1 Makoto.Asai 2001-07-11 17:30:59 CEST
Gamma will NOT make any energy deposition. Once compton scattering occurs,
the secondary electron could be lower than the production cutoff (I guess)
so that the kinetic energy of the recoiled electron could be merged into the
energy deposition of the primary gamma.
 Thus there is no strange behavior here in this user report.