Message: GPS source intensity normalization not correct ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning GPS source intensity normalization not correct ? 

Keywords: gps
Forum: Event and Track Management
Date: 13 Apr, 2007
From: Alain Ferragut <Alain Ferragut>

Hello, I think that source intensity normalization is not correct in gps, when we use /gps/source/add command. I will explain it in the following example : type :


/gps/source/add 10

/gps/source/add 10

By doing this, you would expect 2 sources with equal intensity, equal emission probability. Source 0 and source 1 have each 0.5 probability to occur.

But, in geant4.8.2, if you type above lines and then you type


you will get :

source 0 intensity is 0.0909

source 1 intensity is 0.909

which is wrong. The program normalizes the first intensity to 1 before it reads the second command, and then, the second source intensity is 10, compared to 1 for the first source, because it has been normalized. Then, the program normalized both intensity by 10+1=11. So the first source intensity is set to 1/11 and the second one to 10/11. I believe that it is a bug. Could you confirm please? If not, thank you to tell me where I am wrong.

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

 Add Message Add Message
to: "GPS source intensity normalization not correct ?"

 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 ]