Skip to content

Instantly share code, notes, and snippets.

@mcdlee
Created February 25, 2019 07:41
Show Gist options
  • Save mcdlee/b0602fd055ddb4a2d8dfb785ba96abaa to your computer and use it in GitHub Desktop.
Save mcdlee/b0602fd055ddb4a2d8dfb785ba96abaa to your computer and use it in GitHub Desktop.
column_of_singles.md

Singles files : gateSingles.dat(.bin) The system is set as a SPECT system. Each line is a single and the columns are :

  • Column 1 : ID of the run (i.e. time-slice) (4-bytes, G4int)
  • Column 2 : ID of the event (4-bytes, G4int)
  • Column 3 : ID of the source (4-bytes, G4int)
  • Column 4, 5, 6 : XYZ position of the source in world referential (8-bytes, G4double)
  • Column 7 to 9 : Volume IDs*(cf. columns 5-10 of sec 11.) (4-bytes, G4int)
  • Column 10 : Time stamp of the single (8-bytes, G4double)
  • Column 11 : Energy deposited by the single (8-bytes, G4double)
  • Column 12 to 14 : XYZ position of the single in the world referential (8-bytes, G4double)
  • Column 15 : Number of Compton interactions in phantoms before reaching the detector (4-bytes, G4int)
  • Column 16 : Number of Compton interactions in detectors before reaching the detector (4-bytes, G4int)
  • Column 17 : Number of Rayleigh interactions in phantoms before reaching the detector (4-bytes, G4int)
  • Column 18 : Number of Rayleigh interactions in detectors before reaching the detector (4-bytes, G4int)
  • Column 19 : Name of the phantom where a Compton effect occured (8-bytes, G4string)
  • Column 20 : Name of the phantom where a Rayleigh effect occured (8-bytes, G4string)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment