Problem 701 - ActivateFluorescence() isn´t working with Penelope and Low Energy
Summary: ActivateFluorescence() isn´t working with Penelope and Low Energy
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/electromagnetic/lowenergy (show other problems)
Version: 6.2
Hardware: PC Linux
: P2 normal
Assignee: alfonso.mantero
URL:
Depends on:
Blocks:
 
Reported: 2004-12-03 09:25 CET by daniel
Modified: 2005-05-23 13:36 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description daniel 2004-12-03 09:25:20 CET
I am simulating the production of X rays by shooting a Tungsten target with
electrons with energies in the range 20 - 150 keV.
When I activated the fluorescence flag in G4LowEnergyIonisation, my simulation
simply continues working but no more particles are produced or changed. And no
execution errors too. I activated the flag as follows:
LeIoprocess = new G4LowEnergyIonisation();
LeIoprocess->ActivateFluorescence(true);

When I activated the fluorescence flag in G4PenelopeIonisation, my simulation
continues working but there is no changes in the final x-ray spectra. This is my
penelope code:
LeIoprocess = new G4PenelopeIonisation();
LeIoprocess->SetCutForLowEnSecPhotons(CutForSecondaries);
LeIoprocess->SetCutForLowEnSecElectrons(CutForSecondaries);
LeIoprocess->ActivateFluorescence(true);

I think there is some problem with the function DeexciteAtom in
G4LowEnergyIonisation. This function is used by G4eLowEnergyLoss when the
fluorescence flag (called theFluo) is activated:
if (theFluo) deexcitationProducts = DeexciteAtom(couple,E,edep);

Curiously, I think the function DeexciteAtom should exist in
G4PenelopeIonisation too. But there is not such function.

Thanks in advance,
Daniel
Comment 1 Luciano Pandola 2004-12-16 03:29:59 CET
In the present version of Penelope processes (Compton, PhotoElectric,
Ionisation) the fluorescence is triggered by default and cannot be switched
on/off. The flag theFluo is not used and hence the ActivateFluorescence() method
is uneffective for them.

This is because the processes are tailored for low-energy-specific applications,
where the effect of fluorescence is usually important.

Luciano
Comment 2 daniel 2004-12-17 12:10:59 CET
I agree with the importance of the fluorescence. But if the flag theFluo should
not be used, could you please specify where in the code the secondary particles
of the fluorescence process are created for the "AlongStep" action in the
Penelope Ionisation? And what about the Low Energy Ionisation? I found only for
the "PostStep" action, but both Low energy Ionisation and Penelope Ionisation
are ContinuousDiscrete processes. Right?

Thanks for the support,
Daniel
Comment 3 Luciano Pandola 2005-02-08 02:20:59 CET
Yes,

in G4PenelopeIonisation the fluorescence is generated, through the
TransitionManager, in the PostStepDoIt method (lines 346-426). There is NO
explicit delta-ray generation in the Continuous (AlongStep) part, since the
energy loss is due to soft interactions. The energy losses above 250 eV (or
above the cutForPhotons and cutForElectrons values) are treated by the Discrete
part of the process.

Best regards
Comment 4 alfonso.mantero 2005-02-15 04:14:59 CET
Regarding LowEnergy processes, ActivateFluorescence activates fluorescence
emission only for continuum processes, managed by G4eLowEnergyLoss. The
contribution of this to fluorescence emission is an an effect of higher order,
so it can be negligible respect to fluorescence emission from discrete
ionization processes, like ionization and phototelectric, for which at the
moment it cannot be de-activated.
Comment 5 alfonso.mantero 2005-02-15 04:14:59 CET
Regarding LowEnergy processes, ActivateFluorescence activates fluorescence
emission only for continuum processes, managed by G4eLowEnergyLoss. The
contribution of this to fluorescence emission is an an effect of higher order,
so it can be negligible respect to fluorescence emission from discrete
ionization processes, like ionization and phototelectric, for which at the
moment it cannot be de-activated.
Comment 6 daniel 2005-02-16 12:06:59 CET
I understand the penelope situation but the low energy case seems obscure
for me.
I tested my code using the Low Energy Physics in the present version of
Geant4 (7.0) and for my surprise the simulation generated some results
with ActivateFluorescence ON. A large increase of computing time was
noticed too, when comparing with ActivateFluorescence OFF! The results
shows 20% more fluorescence production for the energy of 9.7keV and 70%
more for 8.4keV with ActivateFluorescence ON and using a tungsten target.
I think these diferences aren't negligible when you are working in this
energy range. If necessary I can send my results to you.
By the way, my simulations with both Penelope and Low Energy models are
showing fluorescence peaks lower in the k lines of tungsten (59.3keV and
67.2keV). I am comparing with a catalogue of spectra. Should I report this
as a bug too?

Thanks for the support,
Daniel
Comment 7 daniel 2005-05-23 13:36:59 CEST
I have already finished more simulations of X-ray production using Penelope and
Low Energy models. Now I have used a molybdenum target too. I will present these
results in a conference in Brazil. If someone is interested I can send the paper
by email? Anyway, is there someone who could help me to improve my results?