read.FLUKA.phase.space {HITXML} | R Documentation |
Reads in phase space data scored with the mgdraw routine supplied with this package, can be from multiple runs and multiple boundaries
read.FLUKA.phase.space(path, pattern = "*_phase_space", particles = c("PROTON", "DEUTERON", "TRITON", "3-HELIUM", "4-HELIUM", "HEAVYION"), remove.backscattered = TRUE, region.name.prefix = "TARGET", Z.max)
path |
path containing the phase space data |
pattern |
file pattern |
particles |
list of FLUKA particle names that will be kept, if NULL, all particles will be kept |
remove.backscattered |
if true, particles travelling upstream are removed |
Z.max |
optional upper limit for particle charge |
data frame
Steffen Greilich