Next: References, Previous: Fields, Up: Top
For compatibility with other simulation codes following bunch formats can be read.For example,
to use the file distr.dat
as input the beam definition should look like
beam, particle="e-",distrType="guineapig_bunch",distrFile="distr.dat",...
The formats currently supported are listed below
guineapig_bunch
E[GeV] x[micrometer] y[micrometer] z[micrometer] x'[microrad] y'[microrad]
guineapig_slac
E[GeV] x'[rad] y'[rad] z[nanometer] x[nanometer] y[micrometer]
guineapig_pairs
E[GeV] x[rad] y[rad] z[rad] x[nanometer] y[nanometer] z[nanometer]
here a particle with E>0 is assumed to be an electron and with E<0 a positron.
guineapig_pairs
a custom distribution file format can be specified in the form
distrType="field1[unit1]:field1[unit1]:...
beam, particle="e-", energy=ener * GeV, nparticles=1e+3, distrType="pt[1]:E[GeV]:xp[rad]:yp[rad]:z[mum]:x[nm]:y[nm]", distrFile="bunches/beam.dat";
The following distributoion types can be generated
Gaussian
beam,distrType="gauss",sigmaX=...,sigmaXp=...,sigmaY=...,sigmaYp=...,sigmaE=...,
Elliptic shell
generated a thin elliptic shell in x,x'
and y,y'
with given semiaxes
beam,distrType="eshell",x=...,xp=...,y=...,yp=...;