Next: , Previous: Fields, Up: Top


Appendix C Bunch description formats

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: 1

A custom distribution file format can be specified in the form

     distrType="field1[unit1]:field1[unit1]:...

The allowed values for fields/units are: .....

For instance:

     
     beam,  particle="e-",
            energy=ener * GeV,
     
     
            distrType="pt[1]:E[GeV]:xp[rad]:yp[rad]:z[mum]:x[nm]:y[nm]",
            distrFile="bunches/beam.dat";
     

Footnotes

[1] see src/BDSBunch.cc for more details