[Gate-users] No annihilations in the phantom but just in the source

Dimitri DWORAK dimitridworak at hotmail.com
Wed Jun 30 17:37:14 CEST 2010


I see there is my problem 

When i have see the wiki page about output i found that:Singles files (gateSingles.dat)Each line is a single and the columns are :


 Column 1 :        ID of the run (i.e. time-slice)
 Column 2 :        ID of the event
 Column 3 :        ID of the source
 Column 4, 5, 6 :  XYZ position of the annihilation in world referential

But if i see in the source of Gate i found:

  if ( GateSingleDigi::GetSingleASCIIMask(3) ) flux << " " << std::resetiosflags(std::ios::floatfield) << std::setiosflags(std::ios::scientific) << std::setw(10) << std::setprecision(3) << digi->GetSourcePosition().x()/mm;
  if ( GateSingleDigi::GetSingleASCIIMask(4) ) flux << " " << std::resetiosflags(std::ios::floatfield) << std::setiosflags(std::ios::scientific) << std::setw(10) << std::setprecision(3) << digi->GetSourcePosition().y()/mm;
  if ( GateSingleDigi::GetSingleASCIIMask(5) ) flux << " " << std::resetiosflags(std::ios::floatfield) << std::setiosflags(std::ios::scientific) << std::setw(10) << std::setprecision(3) << digi->GetSourcePosition().z()/mm;

It 's a problem of definition that they call position of annihilation in wiki is, in the output file, the position of the creation of the positron
If we work with twogamma it's the same thing but not if we work with positron.

Dimitri
 		 	   		  
_________________________________________________________________
Hotmail : Simple et Efficace qui vous facilite la vie… Découvrez la NOW génération !
http://www.windowslive.fr/hotmail/nowgeneration/


More information about the Gate-users mailing list