|Message: Re: Particle artificially moved from one volume to another.||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)|
> Via a created process, I move the postStepPoint back to the glass (position, > momentum and time are changed).
I am surprised you can do this inside a process. I thought the step points cannot be changed directly, only through a 'ParticleChange'.
> I would like to know if this change of volume has any influence on the photon > characteristics.
I am not surprised that you get this null-step. A similar null-step is done by the G4 navigator when a photon reflects on a surface in G4OpBoundaryProcess. Here, I am only changing the direction/polarization (albeit, as I said, through a ParticleChange object). Nothing else is changed about the photon.
What do you mean by 'photon characteristics'? You've already modified the position, time and direction. Certainly, nothing will change its energy.
> More generally, I would like to know if you can move freely a particle from > one volume to another one.
Developers more familiar with the G4 navigator know better to answer this question. However, I perceive it as very dangerous. If you want to do something like this in your process, you are advised to kill the original photon in your process, and re(place) it (with itself) as a secondary generated by your process where you like. If however the secondary is no longer in the same volume; e.g. TheTouchableHandle would be different, you need to code: