update README
This commit is contained in:
15
README.md
15
README.md
@ -14,6 +14,7 @@ For calibration of storage cells:
|
||||
- *CuFluo_exposure_sc.sh* to perform the exposure in the X-ray box
|
||||
- *CuFluo_analysis_sc_singlethread_data.cpp* to read pixel spectra from a single storage cell into .root
|
||||
- *CuFluo_analysis_sc_singlethread_fits.cpp* to measure the peak-to-peak distance for a single storage cell
|
||||
|
||||
Not written multithreaded, but can be launched for multiple storage cells on multiple cores in parallel.
|
||||
|
||||
## Backplane pulsing
|
||||
@ -44,30 +45,30 @@ The full dynamic range can be calibrated by combining information from the vario
|
||||
- Low gain = high gain [ADU / keV] * medium gain / high gain * low gain / medium gain
|
||||
|
||||
Scripts are:
|
||||
- *JFMC_CalibWriter.cpp* to perform the calibration
|
||||
- *JFMC_CalibWriter_wBP.cpp* to perform the calibration
|
||||
|
||||
For calibration of storage cells:
|
||||
- *JFMC_CalibWriter_sc.cpp* to perform the calibration
|
||||
- *JFMC_CalibWriter_wBP_sc.cpp* to perform the calibration
|
||||
|
||||
## Basic steps to perform the calibration
|
||||
Data taking:
|
||||
- Setup environment variables: *source setup_env.sh*
|
||||
- Set up environment variables: *source setup_env.sh*
|
||||
- Set receiver PC: *source pccalib.sh <pc_name>* (either mpc2012 or pc-jungfrau-test)
|
||||
- Create receiver commands: *source filename_creator.sh <module number>*
|
||||
- *sls_detector_put hostname jfcalib_x* (x=0..5)
|
||||
- If required: Setup pulse generator serial connection on pc8830 (BP_scan)
|
||||
- If required: Setup x-ray box (CuFluo_exposure)
|
||||
- If required: Setup X-ray box (CuFluo_exposure)
|
||||
- Launch data taking script (*BP_scan.sh*, *CS_scan.sh*, *CuFluo_exposure.sh*)
|
||||
- Monitor if there is any significant package loss. (For BP_scan and CS_scan, there must not be any loss! CuFluo exposure tolerates some loss.)
|
||||
- Data are saved to /mnt/sls_det_storage/jungfrau_calib/data/Module_XXX_Calib/
|
||||
|
||||
Data analysis:
|
||||
- Edit *CS_analysis.cpp* to add the module number(s) you want to calibrate (if they are not already included): *scan_v6.push_back("<module number>");*
|
||||
- Recompile *make CS_analysis* (easiest to do it on mpc2012 to avoid running into issues with the version of ROOT)
|
||||
- Edit *CS_analysis.cpp* to add the module number(s) you want to calibrate (if they are not already included): *scan_v6.push_back(<"module number">);*
|
||||
- Recompile: *make CS_analysis* (easiest to do it on mpc2012 to avoid running into issues with the version of ROOT)
|
||||
- Rerun *source filename_creator.sh <module number>* to get the commands to launch scripts for the module
|
||||
- If required: Modify commands for storage cells
|
||||
- Launch the analysis scripts (*JFMC_CalibWriter_wBP* only when all the other analyses have finished)
|
||||
- Output is saved to data/ and plots/
|
||||
- Output is saved to data/ and plots/ (local)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user