|Message: the local time goes back -- the true step length is negative||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
i'm trying to simulate the scintillation process for electron in liquid argon with geant4.9.5 .
in the physics list for electron, i turn on :
1. G4eIonisation (with livermore model)
for the optical photons produced in scintillation process, i turn on G4OpWLS (wavelength shifting process).
i want to shoot a test electron with E < 100 keV, let it go through the ionisation process, deposit some energy Edep, which will then be used by G4Scintillation to generate some scintillation photons (with energy ~ 10 eV). those photons propagate in space and undergo wavelength-shifting process (energy shifted down to ~ 3 eV).
i tried the following combinations for e- and opticalphoton (0 = off, 1 = on)
1. G4eIonisation 1, G4Scintillation 1, G4OpWLS 0 : i shoot a test e- with any energy (from 1 keV up to 100 GeV) --> the program works fine !
2. G4eIonisation 1, G4Scintillation 0, G4OpWLS 1 : (since no scintillation --> no photon --> therefore) i shoot some test photons with E ~ 10 eV, and E ~ 3 eV --> fine !
3. G4eIonisation 1, G4Scintillation 1, G4OpWLS 1 : i shoot a test electron with energy E and let it create some scintillation photons.
i. if E < 30 keV --> fine !
ii. E >= 40 keV --> GEANT4 complains : a. G4ParticleChange::CheckIt : "the local time goes back !!"
b. G4VParticleChange::CheckIt : "the true step length is negative !!"
c. G4Exception: ... step length and/or energy deposit was illegal
you can see this in the log file in the attachment.
it seems to me that the problem doesn't always happen, but whenever it does, it's always due to the G4OpWLS process.
i went and check the source code of the method G4ParticleChange::CheckIt
i can't find any G4cout command which spits out the line "the local time goes back !!" .
i do find that line in here though :
--> my hypothesis: the documentation in the web is more up-to-date than my version --> i went here:
downloaded the patch-01 at the end of the page, followed the instruction to recompile everthing from scatch --> re-ran --> the problem is still there. still the annoying line "the local time goes back", which i can't find in G4ParticleChange::CheckIt .
would be very grateful if you guys could help me nail the problem down.
thanks a lot .
|Inline Depth:||Outline Depth:||Add message:|