Stepsize in TPC Simulation with new external packages [message #5492] |
Tue, 27 November 2007 15:40 |
Sebastian Neubert
Messages: 282 Registered: March 2006 Location: Munich
|
first-grade participant |
From: *e18.physik.tu-muenchen.de
|
|
Hi!
I have installed the new external packages. Now the G4 simulation does not work anymore as it did before. Specifically I do not get a stepsize limitation in the TPC anymore.
I tried to understand what changed in gconfig but did not get far.
Please Help me!
Sebastian.
Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
|
|
|
|
|
|
|
|
|
|
|
|
Re: Stepsize in TPC Simulation with new external packages [message #5540 is a reply to message #5536] |
Fri, 30 November 2007 17:17 |
Viola Michael
Messages: 5 Registered: August 2007
|
occasional visitor |
From: *natpool.mwn.de
|
|
Hi!
I have a question concerning the stepsize limitation and the effects on De/dx. I have plotted the MC-Energyloss over Length
(Pion+, Mometum=0.5 Gev/c, 100 Events)
with Options
"specialCuts+specialControls" in G4Config.C, it looks fine to me, like a landau, as expected:
I have plotted the stepsizes, too:
And now my problem: i need stepsize limitation, i turned it on with Option:
"specialCuts+specialControls+stepLimiter" (everything else unchanged)
there is stepsize limitation, like i have befor with the old Release, but my de/dx-MC data is broken:
(stepsize limitation works:)
What do i have to do to fix this?
Thanks in advance!
Viola
|
|
|
|
|
|
|
|
Re: Stepsize in TPC Simulation with new external packages [message #5585 is a reply to message #5492] |
Fri, 14 December 2007 08:47 |
Mohammad Al-Turany
Messages: 518 Registered: April 2004 Location: GSI, Germany
|
first-grade participant |
From: *gsi.de
|
|
Hallo,
In fact if I understand it well, you rigester in your proccess hit the Edep and flength for each step, and you draw this with the tree draw? if this is true then there is two problems with your plots:
1. Edep is the energy deposition in the volume and not the energy loss! Energy loss and energy deposition in a layer are not necessary equal, because of possible energy leak from the volume. Also you use low cuts, then significant part of energy loss is the production of delta-electrons which need to be counted.
2. fLength: is the track length and not the step length,
if this is true then one can understand your plot, the change in energy deposition (gas in your case)is much smaller than the track length when you change the step size and so with larger steps the whole distribution goes down.
So may be you can register the energy loss instead of deposited energy, which means you have to register the initial energy of your particle at entering a step and the final (at exiting). You need also to set the cuts back! We use usually 50 keV for delta electron production. and 1 MeV for all other.
regards
Mohammad
|
|
|
Re: Stepsize in TPC Simulation with new external packages [message #5586 is a reply to message #5585] |
Fri, 14 December 2007 12:57 |
Viola Michael
Messages: 5 Registered: August 2007
|
occasional visitor |
From: *natpool.mwn.de
|
|
Hi Mohammed!
thank you very much for you replies. Yes, i do use Edep, but i do not use flength. I use gMC->TrackStep() instead of TrackLength(). When i look at the distribution of PndTpcPoint.fLength almost all have a length of 0.5cm (for a step limit of 0.5).
With the delta electrons: Perhaps they are the problem: they take energy with them and so there is little dE left for the step. And the energy left goes done the shorter the step is. But i tried to go up with the cuts, i tried to turn the delta-rays off, but the low energy losses stays and only goes up when increasing step size.
I don't understand the part with the possible energy leak from the volume?
Perhaps this could solve my problem:
"So may be you can register the energy loss instead of deposited energy, which means you have to register the initial energy of your particle at entering a step and the final (at exiting)."
... but i have no idea how to do it (i only know the entering and exiting functions for a whole track) Can you please give a hint?
Thanks in advance!
Viola
|
|
|