read.FLUKA.phase.space {HITXML}R Documentation

Import of phase space files scored with FLUKA

Description

Reads in phase space data scored with the mgdraw routine supplied with this package, can be from multiple runs and multiple boundaries

Usage

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)

Arguments

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

Value

data frame

Author(s)

Steffen Greilich


[Package HITXML version 0.9.12 Index]