[gate-users] Spatial blurring

Aur=E9lien Vasseur aurelien-vasseur at caramail.com
Mon Apr 18 17:41:39 CEST 2005


Dear GATE users,

In the file $GATEHOME/src/GateSpblurring.cc, I can't 
understand the following lines (l.59 to 61):

 G4double PxNew = G4RandG
auss::shoot(Px,m_spresolution/2.35);
 G4double PyNew = G4RandGauss::shoo
t(Py,m_spresolution/2.35);
 G4double PzNew = Pz;

According to the ori
entation of the axis, shouldn't this lines be as follow?:

 G4double Px
New = G4RandGauss::shoot(Px,m_spresolution/2.35);
 G4double PyNew = Py;

 G4double PzNew = G4RandGauss::shoot(Pz,m_spresolution/2.35);

(Moreov
er, why using GetGlobalPos() to get the position and not GetLocalPos(), i
n order to applied the blurring?)

Any explaination would be helpfull. 
Thanks.

Aurelien Vasseur

C est le moment de dynamiser votre boîte mai
l en découvrant les offres CaraMail Max et Pro - http://www.caramail.com


More information about the Gate-users mailing list