Message: Re: What is the Order in which secondaries get simulated? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: What is the Order in which secondaries get simulated? 

Forum: Event and Track Management
Re: Question What is the Order in which secondaries get simulated? (Paul Hackspacher)
Re: Idea Re: What is the Order in which secondaries get simulated?
Date: 05 Jun, 2017
From: Paul Hackspacher <Paul Hackspacher>

>>*The rdecay01 example contains a «time window» macro, maybe you could set the Th232 chain (or better, a short lived isotope whose daughter has B- and check the  electron production).
>>*Also in rdecay, what about setting some Tc99m in a light material, without electrons from a B- decay?

The one from the extended examples? Thanks for the suggestion. I will try and look into that.

>>*What about putting gammas in stacking action fkill to discard them and investigate.

Are you talking about rdecay01 or my own simulation? If the latter, I fail to see what this would help, since I DO want to simulate the gammas AND their Compton electrons. Discarding them would mean I lose the energy they carry in my data and would distort the results I get. Besides, they all get simulated correctly, it's just the ORDER in which they do that's confusing me.

>>*What does /tracking/verbose 2 says ?(you will have local and global time stamps).

verbose 2 gives me the same output, just with some more details as to which particle spawned which secondary in particular. I don't really see any timestamps that you mentioned...

=============================================================

*********************************************************************************************************
* G4Track Information:   Particle = Pb212[0.0],   Track ID = 50,   Parent ID = 48
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName
    0 1.28e+03      264  2.4e+03     0.128        0        0         0       scint initStep
    1 1.28e+03      264  2.4e+03         0    0.128 0.000522  0.000522       scint hIoni
    2 1.28e+03      264  2.4e+03         0        0        0  0.000522       scint RadioactiveDecay
    :----- List of 2ndaries - #SpawnInStep=  3(Rest= 3,Along= 0,Post= 0), #SpawnTotal=  3 ---------------
    :  1.28e+03       264   2.4e+03   3.7e-07       Bi212[238.6]
    :  1.28e+03       264   2.4e+03     0.331          anti_nu_e
    :  1.28e+03       264   2.4e+03    0.0048                 e-
    :----------------------------------------------------------------- EndOf2ndaries Info ---------------

*********************************************************************************************************
* G4Track Information:   Particle = e-,   Track ID = 54,   Parent ID = 50
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName
    0 1.28e+03      264  2.4e+03    0.0048        0        0         0       scint initStep
    1 1.28e+03      264  2.4e+03         0   0.0048 0.000767  0.000767       scint eIoni

*********************************************************************************************************
* G4Track Information:   Particle = e-,   Track ID = 43,   Parent ID = 13
*********************************************************************************************************

Step#    X(mm)    Y(mm)    Z(mm) KinE(MeV)  dE(MeV) StepLeng TrackLeng  NextVolume ProcName
    0 1.36e+03      288 2.72e+03    0.0238        0        0         0       scint initStep
    1 1.36e+03      288 2.72e+03         0   0.0238   0.0129    0.0129       scint eIoni

=============================================================

I cut it here for readibility reasons. The first electron is the one actually produced by the Pb212 decay, while the second electron once more is one from a gamma way back that should have been already simulated (as can be seen from the parend ID).

 Add Message Add Message
to: "Re: What is the Order in which secondaries get simulated?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]