CYGNUS-RD / reconstruction

Camera and scope analysis tools
0 stars 25 forks source link

Addition of parameter saving #239

Closed GioDho closed 8 months ago

GioDho commented 9 months ago

For activate_cygno_lngs.sh, modification to use Igor's virtual environment as a default.

The modifications to the reconstruction and utilities are aimed at the definition of a new function which saves the parameters. On one side, the numerical parameters of interest are stored in the root output file in a separate tree called Reco_params. On the other side, all the relevant config files content is flushed together in a new txt file which contains all of them and has a name reco_runxxxxx_3D.txt. For the autoreco, this file should be uploaded to the cloud aong with the root file. The dimension of this new file is 4.7 kB.

The total time increase of such operation is about 0.2 s per run, considered negligible.