Skip to the content.

Build Status Build status Propaga Continuous Integration Build Status

Propaga Logo

Copyright 2010-2019 Stefano Sinigardi, Graziano Servizi, Giorgio Turchetti
Uses jsoncons library

Propaga is a C++ code developed by the Physics of Complex System group, inside the Physics and Astronomy Department at the Bologna University, to study the three dimensional propagation of a particle bunch along a transfer line, composed by many different lattice elements.
If you want to use it, you’re kindly requested to inform the authors and cite this Zenodo DOI: DOI

CMake 3.2+, jsoncons, MPI libraries and a C++11-compatible compiler are required.
To install jsoncons, the best cross-compatible way is to use vcpkg.
On Windows, use vcpkg to install also other libraries and chocolatey to install tools for best results.
On Mac, use homebrew to install other libraries and tools for best results.
On Linux, please use your package manager (yum, dnf, apt, …) to install other libraries and tools.

In order to work, beside the executable, you should have at least two other important files: a json parameter file (default: input.json) and a phase-space distribution particle file (default test.initialbunch.ppg). Of course these default names can be varied. You should launch Propaga with this command line:

./Propaga input.json

Json file description

The input parameters for the simulation are driven by a single json file.

This is an example of a working json file

{
  "input_distribution": "test.initialbunch.ppg",
  "run_name": "test",
  "emin": -1,
  "emax": -1,
  "dt": 0.1,
  "steps_between_dumps": 5000,
  "steps_between_diags": 50,
  "Magnetic_elements":[
    {
      "type": "J",
      "begin": 1.0,
      "end": 1.0,
      "par_01": 0.05
    },
    {
      "type": "M",
      "begin": 2.0,
      "end": 8.0,
      "par_01": 5.00,
      "par_02": 2.0
    },
    {
      "type": "J",
      "begin": 50.0,
      "end": 50.1,
      "par_01": 0.05
    }
  ]
}

Of course Magnetic_elements can be customized according to your needs (the previous was just an example of a solenoid between two circular selectors)

Magnetic_elements “type” codes and params

Every Magnetic_elements json definition shares the same identical basic structure. You have to define the type, the initial z position begin, the final z position end and few other parameters, if required by the element, as follows:

deprecated or untested elements

work-in-progress elements

Particle distribution file description

Each line defines a different particle, with fields in this order:

x  y  z  x'  y'  z'  type   weight   flag   #id

where x,y,z are in cm, x',y',z' are particle momenta normalized by mass*c, type follows FLUKA conventions, flag says if the particle is alive (0) or not and #id is just a progressive number to identify univocally each one of them from the beginning to the end of the simulation, even if shuffled inside the file

-8.375e-04  -9.600e-04  2.703e-03   -1.120e-03  -1.348e-03  4.619e-02   1    0.225   0     1
-8.398e-04  -9.588e-04  2.703e-03   -1.108e-03  -1.366e-03  4.618e-02   1    0.225   0     2
-8.386e-04  -9.588e-04  2.703e-03   -1.094e-03  -1.346e-03  4.617e-02   1    0.225   0     3
-8.375e-04  -9.588e-04  2.703e-03   -1.109e-03  -1.328e-03  4.621e-02   1    0.225   0     4

Papers containing Propaga simulations

1) P. Londrillo, G. Servizi, A. Sgattoni, S. Sinigardi, M. Sumini, G. Turchetti, Protons Acceleration by CO2 Laser Pulses and Perspectives for Medical Applications, CO2 Laser-Optimisation and Application (2012) doi:10.5772/38882

2) G. Turchetti, S. Sinigardi, P. Londrillo, F. Rossi, M. Sumini, D. Giove, C. De Martinis, The LILIA experiment: Energy selection and post-acceleration of laser generated protons, AIP Conference Proceedings, 1507, 820-824 (2012) doi:10.1063/1.4773804

3) S. Sinigardi, G. Turchetti, P. Londrillo, F. Rossi, D. Giove, C. De Martinis, M. Sumini, Transport and energy selection of laser generated protons for postacceleration with a compact linac, Phys. Rev. ST Accel. Beams 16, 3, 031301 (2013) doi:10.1103/PhysRevSTAB.16.031301

4) S. Sinigardi, P. Londrillo, F. Rossi, G. Turchetti, P. R. Bolton, Post-acceleration of laser driven protons with a compact high field linac, Proc. SPIE 8779, 87791J (2013) doi:10.1117/12.2017235

5) S. Sinigardi, G. Turchetti, F. Rossi, P. Londrillo, D. Giove, C. De Martinis, P. R. Bolton, High quality proton beams from hybrid integrated laser-driven ion acceleration systems, Nucl. Instr. Meth. A 740, 99-104 (2014) doi:10.1016/j.nima.2013.10.080