Examples




Some examples on how to use RecPack are provided in the RecPack git distribution. Instructions on how to install them are given here. This is the list of examples:

  • simple : A very simple example on how to create a Trajectory and fit it
  • complete : More complete example showing how to create (read from a txt file) and fit a trajectory in the pressence of MS, eloss and magnetic field. It also shows and example of propagation and matching.
  • nd280_geom: creates the RecPack geometry from a root file. Dumps the T2K-ND280 geometry and draws it
  • wire : comming soon ...
  • spiral : comming soon ...


  • Detailed information about each of the examples can be found here.