Intro
Evolution of calibration system of LCLS creates new opportunities and increase complexity. Large number of detectors and scripts for calibration processing makes it hard to track down what is going on. This note is intended to collect in one spot references to location of all intermediate repositories and log files.
LCLS scripts
script | record at start | repository | logs | control parameters | comments |
---|---|---|---|---|---|
area detectors | |||||
calibrun | /reg/g/psdm/logs/calibman/<year>/<month>/<time-stamp>-log-<login>-<job-id>.txt | N/A | CLI dark processing for generic detector | ||
calibfile | /reg/g/psdm/logs/calibman/<year>/<month>/calibfile.txt | -l, --lfname | CLI for calib file deployment under .../<experiment>/calib/... | ||
DEPRECATED calibman_deprecated | ./work | /reg/g/psdm/logs/calibman/<year>/<month>/<time-stamp>-log-<login>-<job-id>.txt | N/A | GUI for generic detector - dark processing, file manager, image browser etc. Why it is deprecated? Beside dark processing it has many other useful maintenance and browsing options. | |
epix10ka | |||||
epix10ka_offset_calibration | <repository>/logs/<year>_epix10ka_offset_calibration.txt | /reg/g/psdm/detector/gains/epix10k/panels/ | <repository>/logs/<year>/<time-stamp>_log_epix10ka_offset_calibration_<login>.txt ???? | -o, --dirrepo | Processing of the charge injection runs with 103 steps/calib-cycles |
epix10ka_pedestals_calibration | <repository>/logs/<year>_epix10ka_pedestals_calibration.txt | /reg/g/psdm/detector/gains/epix10k/panels/ | <repository>/logs/<year>/<time-stamp>_log_epix10ka_pedestals_calibration_<login>.txt | -o, --dirrepo | Dark processing of runs with 5 steps/calib-cycles |
epix10ka_deploy_constants | <repository>/logs/<year>_epix10ka_deploy_constants.txt | /reg/g/psdm/detector/gains/epix10k/panels/ | <repository>/logs/<year>/<time-stamp>_log_epix10ka_deploy_constants_<login>.txt | -o, --dirrepo | Merging and deployment ofper-panel constants. |
Jungfrau | |||||
jungfrau_dark_proc | <repository>/logs/<year>_log_jungfrau_dark_proc.txt | /reg/g/psdm/detector/gains/jungfrau/panels/ contains per-panel constants | <repository>/logs/<year>/<time-stamp>_jungfrau_dark_proc_<login>.txt | -o, --dirrepo | replacement for jungfrau_ndarr_dark_proc intended for per-panel calibration constants. Dark processing of runs with 3 steps/calib-cycles |
jungfrau_deploy_constants | <repository>/logs/<year>_log_jungfrau_deploy_constants.txt | /reg/g/psdm/detector/gains/jungfrau/panels/ | <repository>/logs/<year>/<time-stamp>_jungfrau_deploy_constants_<login>.txt | -o, --dirrepo | works after jungfrau_dark_proc to merge and deploy constants under .../<experiment>/calib/... |
jungfrau_gain_constants | /reg/g/psdm/detector/gains/jungfrau/ - reference to dirs with gain constants for panel-ids /reg/g/psdm/detector/calib/jungfrau/ jungfrau-<panel-id>.h5 | /reg/g/psdm/logs/calibman/jungfrau_gain/<year>/<time-stamp>-<experiment>-<run>-<login>.txt | -R, --repdir | ||
DEPRECATED jungfrau_ndarr_dark_proc | /reg/g/psdm/logs/calibman/<year>/<month>/jungfrau_ndarr_dark_proc.txt - log record at start | Dark processing and deployment of calibration constants for etire detector. It was DEPRECATED due to new per-panel approach to calibration constants. Replaced by jungfrau_dark_proc and jungfrau_deploy_constants | |||
LCLS2 scripts
script | record at start | repository | logs | control parameters | comments |
---|---|---|---|---|---|
Generic calibration manager | |||||
calibman | /cds/group/psdm/logs/atstart/2022/2022_logrec_calibman.txt | /cds/group/psdm/logs/calibman/lcls2 | <repository>/<year>/<time-stamp>-<script-name>-<login>.txt e.g. /cds/group/psdm/logs/calibman/lcls2/2022/20220202T081010-calibman-dubrovin.txt | -L, --logdir | Interaction with MongoDB etc |
epix10ka | |||||
epix10ka_pedestals_calibration | /cds/group/psdm/logs/atstart/<year>/<year>_logrec_epix10ka_pedestals_calibration.txt DEPRECATED: <repository>/panels/logs/log_pedestals_calibration_<year>.txt | /cds/group/psdm/detector/gains2/epix10ka/panels/ | <repository>/logs/<year>/<time-stamp>_log_epix10ka_pedestals_calibration_<login>.txt e.g. /cds/group/psdm/detector/gains2/epix10ka/panels/logs/2022/2022-02-02T115201_log_epix10ka_pedestals_calibration_dubrovin.txt | -o, --dirrepo | |
epix10ka_deploy_constants | /cds/group/psdm/logs/atstart/<year>/<year>_logrec_epix10ka_deploy_constants.txt e.g. /cds/group/psdm/logs/atstart/2022/2022_logrec_epix10ka_deploy_constants.txt DEPRECATED: <repository>/panels/logs/log_deploy_constants_<year>.txt | /cds/group/psdm/detector/gains2/epix10ka/panels/ | <repository>/logs/<year>/<time-stamp>_log_epix10ka_deploy_constants_<login>.txt e.g. /cds/group/psdm/detector/gains2/epix10ka/panels/logs/2022/2022-02-02T120758_log_epix10ka_deploy_constants_dubrovin.txt | -o, --dirrepo | |
epix100, opal | |||||
det_dark_proc | /cds/group/psdm/logs/atstart/<year>/<year>_logrec_det_dark_proc.txt | /cds/group/psdm/detector/calib2/ | <repository>/<dettype>/logs/<year>/<time-stamp>_log_det_dark_proc_<login>.txt e.g. /cds/group/psdm/detector/calib2/epix100/logs/2022/2022-02-02T080749_log_det_dark_proc_dubrovin.txt | ||
geometry_deploy_constants | /reg/g/psdm/logs/atstart/<year>/<year>_lcls1_geometry_deploy_constants.txt | /reg/g/psdm/detector/calib/geometry/ | <repository>/<dettype>/<dettype>_<full-lcls1-detector-name>_<time-stamp>.data |
Tentative logging for LCLS2
Q: is it ok to save logs in repo?
A: if repodir is changed path will be loss along with local location. It would be nice to have record at start in well known static directory. Each record points to the main log file etc.
Logging at start records
Is intended to keep all records at start for all scripts in a single place.
Root directory is intended to be hardwired, e.g.
/cds/group/psdm/logs/atstart/
Further path
/cds/group/psdm/logs/atstart/<year>/<year>-logrec-<script-name>.txt - single file per year per script.
Repository
Root directory
-o, --dirrepo
/cds/group/psdm/detector/gains2/<detector-type>/panels/
/cds/group/psdm/detector/gains2/<detector-type>/panels/<panel-id>,
where <detector-type> e.g. epix10ka
Logging files
/cds/group/psdm/detector/gains2/<detector-type>/panels/logs/<year>/<time-stamp>-<script-name>-<login>.txt