Message: Re: How to distinguish the first Compton scattering and the multiple Compton scattering of gamma Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to distinguish the first Compton scattering and the multiple Compton scattering of gamma  

Forum: Physics List
Re: Question How to distinguish the first Compton scattering and the multiple Compton scattering of gamma (yanxin0221)
Date: 27 Jan, 2015
From: John Apostolakis <John Apostolakis>

There are different ways to do it.

Please look in the Geant4 Users Guide for Application Developers 

I suggest to look at the subject of user stepping actions.  Your stepping action can identify a Compton scattering, and add data to the current track  ( as 'user data' - which would be one of your own classes ) such as a counter of Compton scatterings - for the current track.  

  // User information
  G4VUserTrackInformation* GetUserInformation() const;
  void SetUserInformation(G4VUserTrackInformation* aValue);

Looking for an example which exercises this class I found the following:
     ./extended/runAndEvent/RE01/

A different approach would be to kill a gamma after it undertakes a first Compton scattering.  Whether this fulfil your requirements, you can say. 

John

P.S. Alternatively you could create a 'Trajectory',
===================================================
John Apostolakis,  PH Department, CERN


> On 27 Jan 2015, at 02:43, yanxin0221 <904750615@qq.com> wrote:
> 
> 
> *** Discussion title: Physics List
> 
> Hi everyone,
> I need to count the the first Compton scattering of gamma in the medium but i don't know how to  distinguish the first Compton scattering and the multiple Compton scattering of gamma . Any help will be thankful.
> 
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: 
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list/865.html 

 Add Message Add Message
to: "Re: How to distinguish the first Compton scattering and the multiple Compton scattering of gamma "

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]