-
All global variables have been removed from the example scripts by introducing a main function with the same name as the file that is called from main. Consequently, all variables are local. This is to avoid any problems between global and local scope of variables.
-
Convert the cta_root2caldb.py script into a cscript and add unit test. The script only works if PyROOT is installed. Instead of the cta_root2caldb.py script a generate_prod3_irf.py script was added to the example folder.