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 | repository | logs | control parameters | comments |
---|---|---|---|---|
Generic 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 - log record on copy file | -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 | /reg/g/psdm/detector/gains/epix10k/panels/ | in repository logs/<year>_epix10ka_offset_calibration.txt - log record at start 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 | /reg/g/psdm/detector/gains/epix10k/panels/ | in repository logs/<year>_epix10ka_pedestals_calibration.txt - log record at start logs/<year>/<time-stamp>_log_epix10ka_pedestals_calibration_<login>.txt | -o, --dirrepo | Dark processing of runs with 5 steps/calib-cycles |
epix10ka_deploy_constants | /reg/g/psdm/detector/gains/epix10k/panels/ | in repository logs/<year>_epix10ka_deploy_constants.txt - log record at start logs/<year>/<time-stamp>_log_epix10ka_deploy_constants_<login>.txt | -o, --dirrepo | Merging and deployment ofper-panel constants. |
Jungfrau | ||||
jungfrau_dark_proc | /reg/g/psdm/detector/gains/jungfrau/panels/ contains per-panel constants | in repository logs/<year>_log_jungfrau_dark_proc.txt - log record at start 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 | /reg/g/psdm/detector/gains/jungfrau/panels/ | in repository logs/<year>_log_jungfrau_deploy_constants.txt - log record at start 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 | repository | logs | control parameters | comments |
---|---|---|---|---|
Generic calibration manager | ||||
calibman | /cds/group/psdm/logs/calibman/lcls2 /cds/group/psdm/logs/calibman/lcls2/<year>/<time-stamp>-<login>.txt | -L, --logdir | Interaction with MongoDB etc | |
epix10ka | ||||
epix10ka_pedestals_calibration | /cds/group/psdm/detector/gains2/epix10ka/ | in repository logs/log_epix10ka_pedestals_calibration_<year>.txt - log record at start TODO: move year ahead, add saving entire log under logs/<year>/<time-stamp>-<script-name>-<login>.txt | -o, --dirrepo | |
epix10ka_deploy_constants | /cds/group/psdm/detector/gains2/epix10ka/ | in repository logs/log_epix10ka_deploy_constants_<year>.txt - log record at start TODO: move year ahead, add saving entire log under logs/<year>/<time-stamp>-<script-name>-<login>.txt | -o, --dirrepo | |
det_dark_proc | ./work | in repository logs/<year>/<time-stamp>-<script-name>-<login>.txt ??? | ||
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>-log-on-start-<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
Main logs
/cds/group/psdm/detector/gains2/<detector-type>/panels/logs/<year>/<time-stamp>-<script-name>-<login>.txt