From 6adbd919f90068eeab01d952d3fec30956233f44 Mon Sep 17 00:00:00 2001 From: hinger_v Date: Thu, 19 May 2022 10:37:23 +0200 Subject: [PATCH] Add correct descriptions to SC scripts --- CuFluo_analysis_sc_singlethread_data.cpp | 7 +++---- CuFluo_analysis_sc_singlethread_fits.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) 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"