Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • moduleVersion()
  • firmwareVersion()
  • serialNumber()

returning which return 64-bit integer numbers like 1511699, 23403815178277, 3997947, respectively. However, some of these numbers in hexadecimal format looks as dates and times. For better readability the segment/module/ panel Id name can be formatted as '%d%s-%d-%d'%s-%s', for hexadecimal values with dropped '0x' (hex(v).lsplit('0x'), e.g. "1508613171113-22630721062933154920171025-39979433d00fb".

Then, total Jungfrau Id is a variable-length dash underscore-separated concatination concatenation of sequential segment Id names, i.g. for two segments of exp=xcsls3716:run=631, XcsEndstation.0:Jungfrau.0 Id is 1508613170505-22630721062933149520170815-39978723d00b0_170505-1508613149520170815-22630721062933-39979433d00f7.

API

Method returning Jungfrau and its segments' Ids is implemented in Detector/src/UtilsJungfrau.py and can be used as in example:

...

Code Block
id_jungfrau(env, src, 0): 1508613171113-22630721062933154920171025-39978723d00b0
id_jungfrau(env, src, 1): 1508613171113-22630721062933154920171025-39979433d00f7
id_jungfrau(env, src)   : 1508613171113-22630721062933154920171025-39978723d00b0_171113-1508613154920171025-22630721062933-39979433d00f7

CLI

A few commands which shed light on data with jungfrau detector are listed below.

...

Code Block
titleDatasets with jungfrau data and detector Id
collapsetrue
Dataset                 Runs     DetInfo name                   Panel/detector Id or configuration object version
-----------------------------------------------------------------------------------------------------------------------------
exp=mfx00616:run=8      1-8      MfxEndstation.0:Jungfrau.0     psana.Jungfrau.ConfigV1
exp=mfx05516:run=16     16       MfxEndstation.0:Jungfrau.0     1511699171113-23403815178277154920171025-39978723d00b0_171113-1511699154920171025-23403815178277-39979433d00f7
exp=mfxlr1716:run=295   1-295    MfxEndstation.0:Jungfrau.0     1511699171113-23403815178277154920171025-39978723d00b0_171113-1511699154920171025-23403815178277-39979433d00f7
exp=mfxlr5016:run=197   194-197  MfxEndstation.0:Jungfrau.0     1511699171113-23403815178277154920171025-39978723d00b0_171113-1511699154920171025-23403815178277-39979433d00f7
exp=mfxx20515:run=2     1-2      MfxEndstation.0:Jungfrau.0     1508613170505-22630721062933149520170815-39978723d00b0_170505-1508613149520170815-22630721062933-39979433d00f7
exp=mfx11116:run=697    563-697  MfxEndstation.0:Jungfrau.1     1511699171113-23403815178277154920171025-39979473d00fb
exp=mfxls0816:run=193   1-193    MfxEndstation.0:Jungfrau.1     1511699171113-23403815178277154920171025-39979473d00fb

exp=xcs11116:run=18     4-18     XcsEndstation.0:Jungfrau.0     psana.Jungfrau.ConfigV2
exp=xcsls3716xcsx22015:run=631555   1503-631555    XcsEndstation.0:Jungfrau.0     1508613-22630721062933-3997872-1508613-22630721062933-3997943psana.Jungfrau.ConfigV2
exp=xcsx22015xcsls3716:run=555631   5031-555631    XcsEndstation.0:Jungfrau.0     psana.Jungfrau.ConfigV2170505-149520170815-3d00b0_170505-149520170815-3d00f7
exp=xcslr6316:run=17    4-17     XcsEndstation.0:Jungfrau.1     1511699171113-23403815178277154920171025-39979473d00fb

exp=detdaq17cxi11216:run=6854     34-6854     DetLabCxiEndstation.0:Jungfrau.0            1511699-23403815178277-3997947psana.Jungfrau.ConfigV1
exp=xppls2416detdaq17:run=24768     13-24768     XppEndstationDetLab.0:Jungfrau.10            1511699171113-23403815178277-3997872-1511699-23403815178277-3997943154920171025-3d00fb
exp=cxi11216xppls2416:run=54247     41-54247     CxiEndstationXppEndstation.0:Jungfrau.01     psana.Jungfrau.ConfigV1171113-154920171025-3d00b0_171113-154920171025-3d00f7
exp=mecls3216:run=226   2-226    MecTargetChamber.0:Jungfrau.0  1508613170505-22630721062933149520170815-39978723d00b0_170505-1508613149520170815-22630721062933-39979433d00f7

 

Calibration production

For now, firmware calibration for offset and gain is produced per segment (named as M044, M068, M088, etc.), e.g.  directory /reg/g/psdm/detector/gains/jungfrau/M088/ contains:

...

/reg/g/psdm/detector/gains/jungfrau/

Code Block
1508613-22630721062933-3997872/Panel Ids in hexadecimal format
171113-154920171025-3d00b0   <- this may be reference to one of the M0## directories
1508613171113-22630721062933154920171025-3997943/3d00f7
1511699170505-23403815178277149520170815-3997872/3d00b0
1511699170505-23403815178277149520170815-3997943/3d00f7
1511699171113-23403815178277-3997947/
M044/
M068/
M088/154920171025-3d00fb

Philip's assignment:
M044/    for exp=mfx11116:run=689 171113-154920171025-3d00fb-20180306000000

M088,M068: exp=xcsx22015:run=513, psana.Jungfrau.ConfigV2, XcsEndstation.0:Jungfrau.0       run 503 on Oct 25, 2017 
Later experiment: exp=xcsls3716:run=631, id=170505-149520170815-3d00b0_170505-149520170815-3d00f7   run 1 on Dec 5, 2017 16:14
M068/    170505-149520170815-3d00b0-20171025000000
M088/    170505-149520170815-3d00f7-20171025000000

Questions

  • prefix zeroes in the name
  • calibration versions

...