Changes for page The FLASH HDF5 structure

Last modified by sndueste on 2025/02/06 10:55

From version 13.1
edited by sndueste
on 2019/09/17 16:58
Change comment: There is no comment for this version
To version 19.1
edited by sndueste
on 2019/09/18 10:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -36,7 +36,7 @@
36 36  
37 37  \\
38 38  
39 -== Most popular FLASH parameters and their names in HDF5 ==
39 +== Most popular FLASH parameters and their names in HDF5, DOOCS and (raw) DAQ ==
40 40  
41 41  The complete list for the relation between DOOCS names and HDF5 names for the recordable parameters can be found in [[DESY's Repository~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://stash.desy.de/projects/CS/repos/pah/browse/src/camp/data/channel2HdfName.dat||shape="rect"]].
42 42  The most common and often used ones are summarized below:
... ... @@ -137,7 +137,7 @@
137 137  DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT34/VAL{{/code}}
138 138  DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.USER{{/code}}
139 139  desc :Energy per pulse Tunnel (from e-) - the values are set to "0" if there was no SASE beam in the FEL
140 -units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) [[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]
140 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]**
141 141  
142 142  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel (raw){{/code}}
143 143  //always saved (PBD)//
... ... @@ -144,7 +144,7 @@
144 144  DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT14/VAL{{/code}}
145 145  DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.FF{{/code}}
146 146  desc :Energy per pulse Tunnel (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
147 -units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) [[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]
147 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]**
148 148  
149 149  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy BDA{{/code}}
150 150  //always saved (PBD)//
... ... @@ -158,7 +158,7 @@
158 158  DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT35/VAL{{/code}}
159 159  DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.USER{{/code}}
160 160  desc :Energy per pulse BDA (from e-) - the values are set to "0" if there was no SASE beam in the FEL
161 -units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) [[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]
161 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]**
162 162  
163 163  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA (raw){{/code}}
164 164  //always saved (PBD)//
... ... @@ -165,13 +165,13 @@
165 165  DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT15/VAL{{/code}}
166 166  DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.FF{{/code}}
167 167  desc :Energy per pulse BDA (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
168 -units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) [[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]
168 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision)** [[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]**
169 169  
170 170  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA horizontal{{/code}}
171 171  //always saved (PBD)//
172 172  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
173 173  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
174 -desc :Beam position of the photon Beam determined by the [[GMD>>doc:FLASH.Gas Monitor Detector]] (BDA, x=horizontal)
174 +desc :Beam position of the photon Beam determined by the GMD (BDA, x=horizontal)
175 175  units : mm
176 176  
177 177  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA vertical{{/code}}
... ... @@ -178,7 +178,7 @@
178 178  //always saved (PBD)//
179 179  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
180 180  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
181 -desc :Beam position of the photon Beam determined by the [[GMD>>doc:FLASH.Gas Monitor Detector]] (BDA, y=vertical)
181 +desc :Beam position of the photon Beam determined by the GMD (BDA, y=vertical)
182 182  units : mm
183 183  
184 184  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel horizontal{{/code}}
... ... @@ -185,7 +185,7 @@
185 185  //always saved (PBD)//
186 186  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
187 187  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
188 -desc :Beam position of the photon Beam determined by the [[GMD>>doc:FLASH.Gas Monitor Detector]] (TUNNEL, x=horizontal)
188 +desc :Beam position of the photon Beam determined by the GMD (TUNNEL, x=horizontal)
189 189  units : mm
190 190  
191 191  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel vertical{{/code}}
... ... @@ -192,7 +192,7 @@
192 192  //always saved (PBD)//
193 193  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
194 194  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
195 -desc :Beam position of the photon Beam determined by the [[GMD>>doc:FLASH.Gas Monitor Detector]] (TUNNEL, y=vertical)
195 +desc :Beam position of the photon Beam determined by the GMD (TUNNEL, y=vertical)
196 196  units : mm
197 197  
198 198  {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength{{/code}}
... ... @@ -385,7 +385,7 @@
385 385  //always saved (PBD)//
386 386  DOOCS prop : {{code language="none"}}none{{/code}}
387 387  DAQ channel: {{code language="none"}}none{{/code}}
388 -desc: Each 10 Hz burst has its unique train ID. For the HDF5 dataset the ID is the same for all parameters with the same index (note camera images may be shifted by 1 ID - talk to the experts !)
388 +desc: Each 10 Hz burst has its unique train ID. For the HDF5 data set the ID is the same for all parameters with the same index (note camera images may be shifted by 1 ID - talk to the experts !)
389 389  units:
390 390  \\
391 391  
... ... @@ -392,7 +392,7 @@
392 392  ===== Train time =====
393 393  
394 394  {{code language="none"}}/Timing/train time{{/code}}
395 -desc:Local time as array of day, hour, minute, second, and centisecond. This dataset is meant for visualisation purposes only. For correlations use the train ID or the Unix time of the time stamp
395 +desc:Local time as array of day, hour, minute, second, and centisecond. This data set is meant for visualization purposes only. For correlations use the train ID or the Unix time of the time stamp
396 396  units: d h min s cs
397 397  \\
398 398  
... ... @@ -458,9 +458,15 @@
458 458  
459 459  ==== User Data (FLASH1) ====
460 460  
461 +The data saved specifically for detectors at an experiment will show up in /Experiment/ there is a large number of options for cameras or monitoring pslow properties (motor positons etc) for user experiments. For details please ask your local contact.
462 +
463 +NOTE: If parameters for an experiment are included on short notice the correct naming in the HDF5 may not be in time and the data will show up in /uncategorized/ with the DOOCS names
464 +
465 +The most common and permanently installed device used by experiment are our ADCs:
466 +
461 461  ===== GHz ADCs =====
462 462  
463 -ADC traces of the (SPDevices 412) GHZ ADCs available for the users . More information about the ADCs can be found [[here>>doc:FLASHUSER.Data Acquisition and controls.Controls (DOOCS, jDDD,\.\.\.).MTCA ADCs.WebHome]]
469 +ADC traces of the (SPDevices 412) GHZ ADCs available for the users . More information about the ADCs can be found** [[here>>doc:FLASHUSER.Data Acquisition and controls.Controls (DOOCS, jDDD,\.\.\.).MTCA ADCs.WebHome]]**
464 464  //saved on DEMAND in the user DAQ//
465 465  \\The HDF5 names for the ADC traces are depending on the beamline :
466 466  \\PG Beamline:
... ... @@ -483,14 +483,12 @@
483 483  here the {{code language="none"}}CH00.TD{{/code}} is the full ADC trace as it is sampled ( typically several 100.000 samples per pulse train) while the {{code language="none"}}CH00.DAQ.TD{{/code}} trace only has the number of samples which are sent to the DAQ OR if //grouping// is activated the {{code language="none"}}CH00.DAQ.TD{{/code}} conatins only the grouped spectra. To read the ADC trace with an online analysis program the {{code language="none"}}CH00.DAQ.TD{{/code}} is used preferablly.
484 484  DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00{{/code}}
485 485  
486 -in addition there are also additional parameters saved like:
492 +In addition there are also additional parameters saved like:
487 487  
488 -* sample frequency (in MHz)
489 -* error (state)
490 -* offset
494 +* {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
495 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
496 +* {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
491 491  
492 -~|
493 -
494 494  ===== MHz ADCs =====
495 495  
496 496  similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
... ... @@ -498,10 +498,19 @@
498 498  DOOCS prop : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02/CH00.TD
499 499  DAQ channel: : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02
500 500  
501 -\\
505 +In addition there are also additional parameters saved like:
502 502  
507 +* {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
508 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
509 +
503 503  [[Contents>>doc:||anchor="Contents"]]
504 504  
512 +\\
513 +
514 +\\
515 +
516 +\\
517 +
505 505  === FLASH2 ===
506 506  
507 507  There is analog to FLASH1 a permanently running "PhotonDagnostic DAQ FLASH2" (PBD2) and 2 User DAQs
... ... @@ -509,11 +509,11 @@
509 509  ==== Beamline info (FLASH2) ====
510 510  
511 511  (% style="color: rgb(255,153,0);" %)(not yet available){{code language="none"}}/FL2/Beamlines/Attenuator/pressure  {{/code}}(%%)
512 -//always saved (PBD2)//
513 -DOOCS prop : {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}}
514 -DAQ channel:  {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}}
515 -desc: set pressure in the gas attenuator
516 -units: mbar
525 +(% style="color: rgb(193,199,208);" %)//always saved (PBD2)// (%%)
526 +(% style="color: rgb(193,199,208);" %)DOOCS prop : {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
527 +(% style="color: rgb(193,199,208);" %)DAQ channel:  {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
528 +(% style="color: rgb(193,199,208);" %)desc: set pressure in the gas attenuator (%%)
529 +(% style="color: rgb(193,199,208);" %)units: mbar(%%)
517 517  \\
518 518  
519 519  {{code language="none"}}/FL2/Beamlines/FL20/Shutter/open{{/code}}
... ... @@ -528,13 +528,13 @@
528 528  //always saved (PBD2)//
529 529  DOOCS prop : {{code language="none"}}FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS{{/code}}
530 530  DAQ channel: FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS
531 -desc: Position of the BL filter wheel 1 - to correlate with the filter material please look [[here>>doc:FLASH.Filter history (BL filterwheel 12)]]
544 +desc: Position of the BL filter wheel 1 - to correlate with the filter material please look **[[here>>doc:FLASH.Filter history (BL filterwheel 12)]]**
532 532  units: degree
533 533  \\
534 534  
535 535  
536 536  //always saved (PBD2)//
537 -\\\\[[here>>doc:FLASH.Filter history (BL filterwheel 12)]]
550 +\\\\**[[here>>doc:FLASH.Filter history (BL filterwheel 12)]]**
538 538  {{code language="none"}}/FL2/Beamlines/Filter wheel/position wheel 2 DOOCS prop : FLASH.FEL/FL20H.PH.MOTOR/MOTOR2.MOT3/FPOS DAQ channel: FLASH.FEL/FL20H.PH.MOTOR/MOTOR2.MOT3/FPOS desc: Position of the BL filter wheel 2 - to correlate with the filter material please look units: degree{{/code}}
539 539  
540 540  \\
... ... @@ -576,7 +576,7 @@
576 576  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
577 577  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
578 578  desc : Energy per pulse measured in the Tunnel  (in fromt of the gas attenuator and the apertures in the Hall)
579 -units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) [[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]
592 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision)** [[see here for help>>doc:FLASH.Calibrating the pulse resolved (electron) data from GMD]]**
580 580  
581 581  \\
582 582  
... ... @@ -604,7 +604,7 @@
604 604  //always saved (PBD2)//
605 605  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
606 606  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
607 -desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the [[GMD>>doc:FLASH.Gas Monitor Detector]] (tunnel, x=horizontal)
620 +desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
608 608  units : mm
609 609  
610 610  \\
... ... @@ -613,14 +613,12 @@
613 613  //always saved (PBD2)//
614 614  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
615 615  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
616 -desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the [[GMD>>doc:FLASH.Gas Monitor Detector]] (tunnel, x=horizontal)
629 +desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
617 617  units : mm
618 618  
619 619  \\
620 620  
621 -\\
622 622  
623 -
624 624  //always saved (PBD2)//
625 625  \\\\{{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel x DOOCS prop : FLASH.FEL/XGM.BPM/FL2.HALL/X.TDDAQ channel: FLASH.FEL/XGM.BPM/FL2.HALL:2 desc: {{/code}}Besides the well calibrated averaged beam position information there is also the option
626 626  {{code language="none"}}to measure the beam position on a single bunch level. HOWEVER this methide needs a perfectly adjusted signal level (talk to your local contact !!) and also then the signal to noise is rather small and one needs some averaging ... BUT with this option one can determine if there was a spatial slope on a burst (say forst bunches were lower than the last ones or so ...)units : mm    {{/code}}
... ... @@ -633,9 +633,9 @@
633 633  
634 634  \\
635 635  
636 -==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ====
647 +==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ====
637 637  
638 -for more info see: [[ OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]]
649 +for more info see:** [[ OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]]**
639 639  
640 640  (The OPIS hall is not installed yet ...)
641 641  
... ... @@ -672,117 +672,90 @@
672 672  
673 673  \\
674 674  
675 -In case OPIS was not operating there is still informaton about the set wavelength for the undulators (see below) which may differ by up to 5 % from the actual wavelength due to different settings in the FEL ...
686 +In case OPIS was not operating there is still informaton about the **set wavelength** for the undulators (see below) which may differ by up to 5 % from the actual wavelength due to different settings in the FEL ...
676 676  
677 677  \\
678 678  
679 679  \\
680 680  
681 -\\
682 -
683 683  ==== Electron Beam properties (FLASH2) ====
684 684  
685 685  ===== bunch charge =====
686 686  
687 687  {{code language="none"}}/FL2/Electron Diagnostic/Bunch charge/after undulator{{/code}}
688 -//always saved (PBD)//
697 +//always saved (PBD2)//
689 689  DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
690 690  DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
691 -desc: electron bunch charge (FLASH2)
700 +desc: electron bunch charge FLASH2 (average value for each bunchtrain).
692 692  units: nC
693 693  
694 694  \\
695 695  
696 -\\
705 +===== undulator settings =====
697 697  
698 -(% class="wrapped" %)
699 -|(((
700 -FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP
701 -)))|(((
702 -/FL2/Electron Diagnostic/Undulator setting/SASE14 gap
703 -)))
704 -|(((
705 -TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH
706 -)))|(((
707 -/FL2/Electron Diagnostic/Undulator setting/set wavelength
708 -)))
707 +{{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/set wavelength{{/code}}
708 +//always saved (PBD2)//
709 +DOOCS prop : {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
710 +DAQ channel:  {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
711 +desc: Set value for the anticipated wavelength . This parameter is used to set the undulator gap. It may however deviate from the actual wavelength by several % ...
712 +units: nm
709 709  
714 +{{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/SASE14 gap{{/code}}
715 +//always saved (PBD2)//
716 +DOOCS prop : {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
717 +DAQ channel:  {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
718 +desc: gap value of the undulators. This can be used to follow up how many undulators were closed and if there was a taper
719 +units: mm
720 +
721 +The gap values are saved for all 12 undulators (Nr 3 to 14). Undulator 14 is the one closest to the experimental hall.
722 +
710 710  =====
711 711  arrival time =====
712 712  
713 -{{code language="none"}}/FL1/Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}}
714 -//always saved (PBD)//
726 +**FL1**{{code language="none"}}//Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}}
727 +//always saved (PBD2)//
715 715  DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/4DBC3/LOW_CHARGE_ARRIVAL_TIME{{/code}}
716 716  DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/4DBC3.LOW_CHARGE_ARRIVAL_TIME{{/code}}
717 717  desc: Electron bunch arrival time measured with the BAM (more or less) before the undulator (pulse resolved data)
718 -units: ps (bigger numbers indicate later arrivaltime of the electrons)
719 -note: besides the arivaltime from FLASH1 there is also the FLASH2/3 electron arrival time saved. [[LINK to detailled infos from MSK (may only work inside DESY network~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:http://www.desy.de/~~mbock/pages/BAM_daq_channel_descriptions.html||shape="rect"]] and to a recent  [[talk about the working principle of the BAM>>url:https://confluence.desy.de/download/attachments/134216957/BAM-basics_and_outlook-2018_DESY-template_16-9Format.pdf?version=1&modificationDate=1565162143328&api=v2||shape="rect"]]
731 +units: ps (bigger numbers indicate later arrivaltime of the electrons)
720 720  
721 -\\
733 +The BAM measures the arrivaltime of** FLASH 1 and FLASH2** in the same data set (thus also sorted in at /FL1/ !). The first values are for FLASH1 bunches.
734 +After a gap of about 70 micros ( 70 colums)  with  as entry for the switching between FLASH 1 and 2 the values for the electrons used in FLASH2 start.  The start time of FLASH2 is also recorded in the DAQ. FLASH1 start time is for historic reasons 700. thus if e.g. the start time of FLASH2 ( property name see below) is 1200 it means that FLASH starts at column 500 (1200-700) ...
722 722  
723 -\\
736 +Docu for BAM:  [[LINK to detailled infos from MSK (may only work inside DESY network~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:http://www.desy.de/~~mbock/pages/BAM_daq_channel_descriptions.html||shape="rect"]] and to a recent  [[talk about the working principle of the BAM>>url:https://confluence.desy.de/download/attachments/134216957/BAM-basics_and_outlook-2018_DESY-template_16-9Format.pdf?version=1&modificationDate=1565162143328&api=v2||shape="rect"]]
724 724  
725 -\\
726 726  
727 -===== electron bunch energy =====
739 +[[Contents>>doc:||anchor="Contents"]]
728 728  
729 -{{code language="none"}}/FL1/Electron Diagnostic/Electron energy/average electron energy{{/code}}
730 -_always saved (PBD)
731 -DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_INTRA_MEAN/VAL{{/code}}
732 -DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_MEAN{{/code}}
733 -desc: electron bunch energy (average over the bunch train)
734 -units: (% class="twikiNewLink" %)MeV(%%)
735 735  \\
736 736  
737 -{{code language="none"}}/FL1/Electron Diagnostic/Electron energy/pulse resolved energy{{/code}}
738 -_always saved (PBD)
739 -DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_SPECT/VAL.TD{{/code}}
740 -DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_SPECT{{/code}}
741 -desc: electron bunch energy bunch resolved
742 -units: (% class="twikiNewLink" %)MeV
743 +==== Timing information, rep rate etc.  (FLASH2) ====
743 743  
744 -\\
745 +===== start time of FLASH2 =====
745 745  
746 -{{code language="none"}}/FL1/Electron Diagnostic/Electron energy/wavelength bunch train average{{/code}}
747 -_always saved (PBD)
748 -DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/LAMBDA_MEAN/VAL{{/code}}
749 -DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/LAMBDA_MEAN{{/code}}
750 -desc: Wavelength calculated by the electron bunch energy (average over the bunch train) (FLASH1)
751 -units: nm
752 -\\
747 +{{code language="none"}}/FL2/Timing/start time flash2{{/code}}
748 +//always saved (PBD2)//
749 +DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
750 +DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
751 +desc: The max 600 µs acceleration time of FLASH is devided between FLASH1 and FLASH2. This 600 µs window starts with FLASH1 (up to now)  at a time"label" of 700 µs (for historic reasons). Thus the first bunch of FLASH 1 comes at "700" and the last possibel bunch comes at 1300 (700+600). After FLASH1 train is over ther is a about 70µs switching time with no bunches. Then comes the first FLASH2 bunch.  Thus if e.g. the start time of FLASH2 is 1200 it means that FLASH2 starts at column 500 (1200-700)  in the HDF5 files. (However for yet unknown reasons this may change by 2-3 colums ...)
752 +units: µs
753 753  
754 -[[Contents>>doc:||anchor="Contents"]]
755 -
756 -\\
757 -
758 -==== Timing information, rep rate etc.  (FLASH1) ====
759 -
760 760  ===== bunch repetition rate =====
761 761  
762 -{{code language="none"}}/FL1/Timing/repetition rate{{/code}}
763 -//always saved (PBD)//
764 -DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/code}}
765 -DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_FREQ{{/code}}
766 -desc: repetition rate of the bunches / pulses within the burst (FLASH1)
756 +{{code language="none"}}/FL2/Timing/repetition rate{{/code}}
757 +//always saved (PBD2)//
758 +DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
759 +DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
760 +desc: repetition rate of the bunches / pulses within the burst (FLASH2)
767 767  units: kHz
768 -\\
769 769  
770 -===== set number of pulses =====
771 -
772 -{{code language="none"}}/FL1/Timing/set number of bunches{{/code}}
773 -//always saved (PBD)//
774 -DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH1{{/code}}
775 -DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_NUM{{/code}}
776 -desc: Number of pulses set at the gun (FLASH1)
777 -units:
778 -
779 779  ===== actual number of pulses =====
780 780  
781 781  {{code language="none"}}/FL1/Timing/actual number of bunches{{/code}}
782 -//always saved (PBD)//
783 -DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/12EXP/NUMBEROFBUNCHES.FLASH1{{/code}}
784 -DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
785 -desc: Number of bunches measured BEHIND the undulator. If pulses are used for diagnostic of the protection system of the accelerator limits the number of bunches to be accelerated this is the actual number that created XUV radiation.The number is calculated by the DAQ middle layer server, (FLASH1)
766 +//always saved (PBD2)//
767 +DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
768 +DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
769 +desc: Number of bunches measured BEHIND the undulator. If pulses are used for diagnostic of the protection system of the accelerator limits the number of bunches to be accelerated this is the actual number that created XUV radiation.The number is calculated by the DAQ middle layer server, (FLASH2)
786 786  units:
787 787  \\
788 788  
... ... @@ -789,10 +789,10 @@
789 789  ===== actual pulse pattern recorded after the undulator =====
790 790  
791 791  {{code language="none"}}/FL1/Timing/Bunch pattern/pattern after undulator{{/code}}
792 -//always saved (PBD)//
793 -DOOCS prop : {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP/CHARGE.TD{{/code}}
794 -DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
795 -desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH1)
776 +//always saved (PBD2)//
777 +DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
778 +DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
779 +desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH2)
796 796  units:
797 797  \\
798 798  
... ... @@ -799,7 +799,7 @@
799 799  ===== Train ID =====
800 800  
801 801  {{code language="none"}}/Timing/train ID{{/code}}
802 -//always saved (PBD)//
786 +//always saved (PBD2)//
803 803  DOOCS prop : {{code language="none"}}none{{/code}}
804 804  DAQ channel: {{code language="none"}}none{{/code}}
805 805  desc: Each 10 Hz burst has its unique train ID. For the HDF5 dataset the ID is the same for all parameters with the same index (note camera images may be shifted by 1 ID - talk to the experts !)
... ... @@ -808,13 +808,16 @@
808 808  
809 809  ===== Train time =====
810 810  
811 -{{code language="none"}}/Timing/train time{{/code}}
795 +//always saved (PBD2)
796 +//{{code language="none"}}/Timing/train time{{/code}}
812 812  desc:Local time as array of day, hour, minute, second, and centisecond. This dataset is meant for visualisation purposes only. For correlations use the train ID or the Unix time of the time stamp
813 813  units: d h min s cs
814 814  \\
815 815  
816 -{{code language="none"}}/Timing/time stamp{{/code}}
817 -desc:first column: Local time in unix time. To get day, hour, minute, second you can use unix: e.g. date ~-~-date='@1553617729' or matlab, python etc
801 +{{code language="none"}}/Timing/time stamp{{/code}}
802 +
803 +//always saved (PBD2)//
804 +desc: first column: Local time in unix time. To get day, hour, minute, second you can use unix: e.g. date ~-~-date='@1553617729' or matlab, python etc
818 818  second column: microseconds
819 819  third column: Train ID of FLASH
820 820  \\
... ... @@ -823,8 +823,50 @@
823 823  
824 824  \\
825 825  
813 +==== User Data (FLASH2) ====
814 +
815 +The data saved specifically for detectors at an experiment will show up in /Experiment/ there is a large number of options for cameras or monitoring pslow properties (motor positons etc) for user experiments. For details please ask your local contact.
816 +
817 +NOTE: If parameters for an experiment are included on short notice the correct naming in the HDF5 may not be in time and the data will show up in /uncategorized/ with the DOOCS names
818 +
819 +The most common and permanently installed device used by experiment are our ADCs:
820 +
821 +===== GHz ADCs =====
822 +
823 +ADC traces of the (SPDevices 412) GHZ ADCs available for the users . More information about the ADCs can be found** [[here>>doc:FLASHUSER.Data Acquisition and controls.Controls (DOOCS, jDDD,\.\.\.).MTCA ADCs.WebHome]]**
824 +//saved on DEMAND in the user DAQ//
825 +\\Up to now there are 4 channels available at FL24
826 +\\\\{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH00/TD{{/code}}
827 +{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH01/TD{{/code}}
828 +\\{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH02/TD{{/code}}{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH03/TD{{/code}}
829 +
826 826  \\
827 827  
832 +DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.FL2EXP1/FL2EXP1.CH00/CH00.TD  or CH00.DAQ.TD{{/code}}
833 +here the {{code language="none"}}CH00.TD{{/code}} is the full ADC trace as it is sampled ( typically several 100.000 samples per pulse train) while the {{code language="none"}}CH00.DAQ.TD{{/code}} trace only has the number of samples which are sent to the DAQ OR if //grouping// is activated the {{code language="none"}}CH00.DAQ.TD{{/code}} conatins only the grouped spectra. To read the ADC trace with an online analysis program the {{code language="none"}}CH00.DAQ.TD{{/code}} is used preferablly.
834 +DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.FL2EXP1/FL2EXP1.CH00{{/code}}
835 +
836 +In addition there are also additional parameters saved like:
837 +
838 +* {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
839 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
840 +* {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
841 +* {{code language="none"}}/CH0-CH3/offset{{/code}}: To use the full dynamic range of the ADC one can shift the base line . This offset is saved here.
842 +
843 +===== MHz ADCs =====
844 +
845 +similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
846 +{{code language="none"}}/FL2/Experiment/MTCA-EXP1/SIS8300 100MHz ADC/CH2/TD{{/code}}
847 +DOOCS prop : FLASH.FEL/ADC.SIS.FL2EXP1/FL2EXP1.CH02/CH00.TD
848 +DAQ channel: : FLASH.FEL/ADC.SIS.FL2EXP1/FL2EXP1.CH02
849 +
850 +In addition there are also additional parameters saved like:
851 +
852 +* {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
853 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
854 +
855 +[[Contents>>doc:||anchor="Contents"]]
856 +
828 828  \\
829 829  
830 830  \\
... ... @@ -835,161 +835,165 @@
835 835  
836 836  \\
837 837  
867 +\\
868 +
869 +\\
870 +
838 838  (% class="wrapped" %)
839 839  |=(((
840 -DAQ name
873 +\\
841 841  )))|=(((
842 -HDF5 name
875 +\\
843 843  )))
844 844  |(((
845 -FLASH.UTIL/FL2.UND.MOTOR/FL2SASE3/GAP
878 +\\
846 846  )))|(((
847 -/FL2/Electron Diagnostic/Undulator setting/SASE03 gap
880 +\\
848 848  )))
849 849  |(((
850 -FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP
883 +\\
851 851  )))|(((
852 -/FL2/Electron Diagnostic/Undulator setting/SASE14 gap
885 +\\
853 853  )))
854 854  |(((
855 -TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH
888 +\\
856 856  )))|(((
857 -/FL2/Electron Diagnostic/Undulator setting/set wavelength
890 +\\
858 858  )))
859 859  |(((
860 -FLASH.FEL/XGM.PHOTONFLUX/FL2.HALL/PHOTONFLUX.UJ
893 +\\
861 861  )))|(((
862 -/FL2/Photon Diagnostic/GMD/Average energy/hall
895 +\\
863 863  )))
864 864  |(((
865 -FLASH.FEL/XGM.PHOTONFLUX/FL2.HALL/PHOTONFLUX
898 +\\
866 866  )))|(((
867 -/FL2/Photon Diagnostic/GMD/Average energy/hall (raw)
900 +\\
868 868  )))
869 869  |(((
870 -FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ
903 +\\
871 871  )))|(((
872 -/FL2/Photon Diagnostic/GMD/Average energy/tunnel
905 +\\
873 873  )))
874 874  |(((
875 -FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX
908 +\\
876 876  )))|(((
877 -/FL2/Photon Diagnostic/GMD/Average energy/tunnel (raw)
910 +\\
878 878  )))
879 879  |(((
880 -FLASH.FEL/XGM.POSMON/FL2.HALL/IX.POS
913 +\\
881 881  )))|(((
882 -/FL2/Photon Diagnostic/GMD/Average beam position/position hall horizontal
915 +\\
883 883  )))
884 884  |(((
885 -FLASH.FEL/XGM.POSMON/FL2.HALL/IY.POS
918 +\\
886 886  )))|(((
887 -/FL2/Photon Diagnostic/GMD/Average beam position/position hall vertical
920 +\\
888 888  )))
889 889  |(((
890 -FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS
923 +\\
891 891  )))|(((
892 -/FL2/Photon Diagnostic/GMD/Average beam position/position tunnel horizontal
925 +\\
893 893  )))
894 894  |(((
895 -FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS
928 +\\
896 896  )))|(((
897 -/FL2/Photon Diagnostic/GMD/Average beam position/position tunnel vertical
930 +\\
898 898  )))
899 899  |(((
900 -FLASH.FEL/XGM.BPM/FL2.HALL:0
933 +\\
901 901  )))|(((
902 -/FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position hall horizontal
935 +\\
903 903  )))
904 904  |(((
905 -FLASH.FEL/XGM.BPM/FL2.HALL:1
938 +\\
906 906  )))|(((
907 -/FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position hall vertical
940 +\\
908 908  )))
909 909  |(((
910 -FLASH.FEL/XGM.BPM/FL2.TUNNEL:0
943 +\\
911 911  )))|(((
912 -/FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel horizontal
945 +\\
913 913  )))
914 914  |(((
915 -FLASH.FEL/XGM.BPM/FL2.TUNNEL:1
948 +\\
916 916  )))|(((
917 -/FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel vertical
950 +\\
918 918  )))
919 919  |(((
920 -FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL:1
953 +\\
921 921  )))|(((
922 -/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy aux tunnel
955 +\\
923 923  )))
924 924  |(((
925 -FLASH.FEL/XGM.INTENSITY/FL2.HALL
958 +\\
926 926  )))|(((
927 -/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy hall
960 +\\
928 928  )))
929 929  |(((
930 -FLASH.FEL/XGM.INTENSITY/FL2.HALL:0
963 +\\
931 931  )))|(((
932 -/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy hall
965 +\\
933 933  )))
934 934  |(((
935 -FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL
968 +\\
936 936  )))|(((
937 -/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel
970 +\\
938 938  )))
939 939  |(((
940 -FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL:0
973 +\\
941 941  )))|(((
942 -/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel
975 +\\
943 943  )))
944 944  |(((
945 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL042
978 +\\
946 946  )))|(((
947 -/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean phtoton energy
980 +\\
948 948  )))
949 949  |(((
950 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL040
983 +\\
951 951  )))|(((
952 -/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean wavelengt
985 +\\
953 953  )))
954 954  |(((
955 -FLASH.FEL/ADC.ADQ/OPIS1.CH02
988 +\\
956 956  )))|(((
957 -/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Raw data/CH02
990 +\\
958 958  )))
959 959  |(((
960 -FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2
993 +\\
961 961  )))|(((
962 -/FL2/Electron Diagnostic/Bunch charge/after undulator
995 +\\
963 963  )))
964 964  |(((
965 -FLASH.DIAG/PBD2.TOROID.ML/3GUN/CHARGE.FLASH2
998 +\\
966 966  )))|(((
967 -/FL2/Electron Diagnostic/Bunch charge/at gun
1000 +\\
968 968  )))
969 969  |(((
970 -FLASH.FEL/FL20T.PH.MOTOR/MOTOR1.MOT1/FPOS
1003 +\\
971 971  )))|(((
972 -/FL2/Beamlines/Tunnel Apertures/position aperture1 horizontal
1005 +\\
973 973  )))
974 974  |(((
975 -FLASH.FEL/FL20T.PH.MOTOR/MOTOR2.MOT1/FPOS
1008 +\\
976 976  )))|(((
977 -/FL2/Beamlines/Tunnel Apertures/position aperture1 vertical
1010 +\\
978 978  )))
979 979  |(((
980 -FLASH.FEL/ADC.SIS.FL2FS/FL20.SHUTTER
1013 +\\
981 981  )))|(((
982 -/FL2/Beamlines/FL20/Shutter/channel 0
1015 +\\
983 983  )))
984 984  |(((
985 -FLASH.FEL/ADC.ADQ.FL2EXP1/FL2EXP1.CH00
1018 +\\
986 986  )))|(((
987 -/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH00/TD
1020 +\\
988 988  )))
989 989  |(((
990 -FLASH.FEL/ADC.SIS.FL2EXP1/FL2EXP1.CH00
1023 +\\
991 991  )))|(((
992 -/FL2/Experiment/MTCA-EXP1/SIS8300 100MHz ADC/CH0/TD
1025 +\\
993 993  )))
994 994  |(((
995 995  FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/CURRENT_INPUT_JITTER.RD