// This section defines the target by 3 vectors
r0x=0
r0y=0.243
r0z=2.648
r1x=0.1
r1y=0
r1z=0
r2x=0
r2y=-0.097012
r2z=0.024254

// These are the number of target points in the two dimensions, odd numbers give best results
n1=11
n2=11

// This determines if the target is round or rectangular.  The default value of 0 means the target is rectangular
roundtarget=0

// This determines if the target is a single particle.  Setting to 1 overrides the inputs for n1 and n2
singletarget=0

// This determines if the incident beam is made up of a single particle.  If set to 1, this overrides the value for beamfile and uses singleparticle.sdds instead
singleparticle=0

// This determines the maximum frequency that will be plotted [Hz]
freq_cut=3e12

// This determines how many slices the frequency is divided into for plotting
freq_sam=100

// minimum distance step for whotracks=quindi, interpolation size for whotracks=tredi [m]
dz=20e-6

// time when final phase space is dumped to phasespace.dat [s]
timeToDump=7e-9

// This is the filename for the magnetic lattice input file
magnetfile=magnets/ATFchicane2d.mag

// This determines if the magnetic lattice is 1 or 2 dimensional
magdimension=2

// This is the filename for the input beam distribution
beamfile=beams/ATF.sdds

// This will limit the number of particles in the beam.  If set to 0, entire beam will be processed
beamcap=23

// total charge of beam, this will be equally distributed to all particles
totalcharge=300e-12

// Start z-position of field capture.  Trajectory points with z lower than this will be set to zero field.  Setting to 0 goes to the beginning. [m]
windowstart=1.4

// End z-position of field capture.  Trajectory points with z higher than this will be set to zero field.  Setting to 0 goes to the end. [m]
windowend=1.75

// This is the number of columns in the beamfile [6 or 8]
columns=6

// This denotes the output directory of the *.dat files.  Use a trailing / for the path.  Directory must already exist!
outputdir=./

// This determines who should do the tracking for the run.  Valid options are 'quindi' and 'tredi'.
whotracks=tredi
//whotracks=quindi

// This is the filename for the file that has the tracking data
trackfile=TREDI-chicane.hfl
