Message: Re: can geant4 cosider optical processes and atomic relaxation simultaneously? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: can geant4 cosider optical processes and atomic relaxation simultaneously? 

Forum: Processes Involving Optical Photons
Re: None can geant4 cosider optical processes and atomic relaxation simultaneously? (Mahdi)
Re: Idea Re: can geant4 cosider optical processes and atomic relaxation simultaneously? (Gumplinger Peter)
Date: 12 Nov, 2013
From: Mahdi <Mahdi>

On Tue, 12 Nov 2013 21:15:13 GMT, Gumplinger Peter wrote:
> Hi Mahdi,
> 
> x-rays that are generated by G4 deexitation processes and fluorescence
> are not considered to be 'optical photons'. The are considered to be
> G4Gamma particles.
> 
> I have not done this - come to think of it - there is nothing that
> should prevent you from adding 'optical physics processes' to G4Gamma
> particles in Geant4; specifically the G4OpBoundaryProcess. Now, you have
> to provide the index of refraction of the media of your optical lenses
> in the energy range of the x-rays. Similarly, you have to provide
> 'optical absorption length' for your optical filter. Alternatively, I
> believe in your UserStackingAction, you may be able to change the
> particle type of the secondary track object from G4Gamma to
> G4OpticalPhoton, though that's not so easy because for:
> 
> ClassifyNewTrack(const G4Track* aTrack);
> 
> you are passed a const pointer.
> 
> The problem with my first suggestion is that the G4OpBoundaryProcess:
> 
> http://www-geant4.kek.jp/lxr/source/processes/optical/include/G4OpBoundaryProcess.hh#L261
> 
> IsApplicable method needs to be modified to allow for a G4Gamma to have
> optical processes (and similarly for all the other Op-Processes that you
> may require). For that you'd need your own G4 source and library.
> 
> Another avenue that should work perhaps without any tricks of stripping
> const from a pointer and modifying the G4 source, is to device a new
> (user) process that has a zero range for x-rays and does nothing else
> but transform a G4Gamma to a G4OpticalPhoton. For that you have to learn
> how to add a user-process in G4:
> 
> http://geant4.slac.stanford.edu/UsersWorkshop/G4Lectures/Marc/
> 
> AddingNewProcess.PPT
> 
> Peter
> 

Dear Peter; thank you so much for your answer. according to my problem I can consider my project in two parts.

1-A medium that the deexitation is happening 2-An arrange of some beam splitters and optical lenses that are in a casing and the casing position is in the part 1. part 2 is something like this for example: http://upload.tehran98.com/upme/uploads/9f5d4019719d76df1.png

so,by this new configuration I can use geant4 to simulate all my needed in the optical physics part? what i need is to have the spectrum of x-rays in left side of the casing in a cylinder that has the role of inputing light into casing. then deexitation in the casing is not important to me.I can define a light source with a energy spectrum like I had in the cylinder and an optional intensity.then in the casing I consider optical processes. can I do something like this in my problem? what that I am concern about it is the BS.As it can see in the image, can I simulate those two beam splitters(BS).

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: can geant4 cosider optical processes and atomic relaxation simultaneously?   (Gumplinger Peter - 12 Nov, 2013)
(_ None: Re: can geant4 cosider optical processes and atomic relaxation simultaneously?   (Mahdi - 13 Nov, 2013)
(_ Feedback: Re: can geant4 cosider optical processes and atomic relaxation simultaneously?   (Gumplinger Peter - 13 Nov, 2013)
(_ Sad: Re: can geant4 cosider optical processes and atomic relaxation simultaneously?   (Mahdi - 13 Nov, 2013)
(_ Feedback: Re: can geant4 cosider optical processes and atomic relaxation simultaneously?   (Gumplinger Peter - 14 Nov, 2013)
(_ Ok: Re: can geant4 cosider optical processes and atomic relaxation simultaneously?   (Mahdi - 15 Nov, 2013)
 Add Message Add Message
to: "Re: can geant4 cosider optical processes and atomic relaxation simultaneously?"

 Subscribe Subscribe

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