diff --git a/CuFluo_analysis_sc_singlethread_data.cpp b/CuFluo_analysis_sc_singlethread_data.cpp index 39985ee..40c3bae 100644 --- a/CuFluo_analysis_sc_singlethread_data.cpp +++ b/CuFluo_analysis_sc_singlethread_data.cpp @@ -1,8 +1,7 @@ -// file to calculate pedestal correction of fluo data for all storage cells, only G0 +// calculate pedestal correction of fluo data for a given storage cell, only G0 +// (can be called multiple times to handle multi-storage-cell data, each time with different Sc number as argument, i.e. supports manual multi-threading on the same data set) // make correction and save spectrum per pixel -// then fit fluo spectrum per pixel -// and save peak position and uncertainty -// changes by VH 210906: to eliminate hardcoded absolute paths, uses location of the analysis root files as additional input argument (accordingly changed in filename_creator.sh) +// for fitting call CuFluo_analysis_sc_singlethread_fits (with correct SC number) afterward #include "../sls_detector_calibration/jungfrauCommonHeader.h" #include "../sls_detector_calibration/jungfrauCommonFunctions.h" diff --git a/CuFluo_analysis_sc_singlethread_fits.cpp b/CuFluo_analysis_sc_singlethread_fits.cpp index 93165f8..d81bee2 100644 --- a/CuFluo_analysis_sc_singlethread_fits.cpp +++ b/CuFluo_analysis_sc_singlethread_fits.cpp @@ -1,8 +1,8 @@ -// file to calculate pedestal correction of fluo data for all storage cells, only G0 -// make correction and save spectrum per pixel -// then fit fluo spectrum per pixel +// fit fluo spectrum per pixel for a given storage cell, only G0 +// (can be called multiple times to handle multi-storage-cell data, each time with different Sc number as argument, i.e. supports manual multi-threading on the same data set) // and save peak position and uncertainty -// changes by VH 210906: to eliminate hardcoded absolute paths, uses location of the analysis root files as additional input argument (accordingly changed in filename_creator.sh) +// Takes pedestal-corrected data (in root file) as input +// Call CuFluo_analysis_sc_singlethread_data before to analyse raw data files and create root file #include "../sls_detector_calibration/jungfrauCommonHeader.h" #include "../sls_detector_calibration/jungfrauCommonFunctions.h"