9 ; ---------------------the
processors--------------------------
11 ;----------------the raw
images / tof
traces-----------------------
26 ;-- collect
images when shutter is closed
28 CsPadDarkCal/RawImage = CsPadRaw
32 CsPadDarkCal/
Train = false
34 CsPadDarkCal/InputFilename = darkcal_7.lnk
36 CsPadDarkCal/WriteCal =
true
37 CsPadDarkCal/NbrTrainingImages = 200
42 CsPadDarkCal/NoiseLowerBoundary = 1
43 CsPadDarkCal/NoiseUpperBoundary = 7.5
44 CsPadDarkCal/SNROffsetAutoBoundariesStat = 4
45 CsPadDarkCal/SNROffsetAutoBoundaries = 4
46 CsPadDarkCal/MinNbrPixels = 90
47 CsPadDarkCal/ResetBadPixels =
false
48 CsPadDarkCal/UpdateCalibration =
false
49 CsPadDarkCal/UpdateCalibrationType = moving
50 CsPadDarkCal/NbrOfImages = 200
51 CsPadDarkCal/UpdateBadPixAndSavePeriod = 800
52 CsPadDarkCal/
Hide = false
62 OffsetMapCheetah/
ID = 1600
63 OffsetMapCheetah/
HistName = OffsetMap
64 OffsetMapCheetah/
Hide = false
69 OffsetMapHist/
XLow = -100
70 OffsetMapHist/
XUp = 2500
71 OffsetMapHist/
XTitle = OffsetValues [adu]
72 OffsetMapHist/
Hide = false
82 NoiseMapCheetah/
ID = 1600
84 NoiseMapCheetah/
Hide = false
85 ;-- histogram
of the
noise values
90 NoiseMapHist/
XUp = 500
91 NoiseMapHist/
XTitle = NoiseValues [adu]
92 NoiseMapHist/
Hide = false
98 BadPixMap/
YLow = 17760
100 BadPixMap/
Hide = true
101 ;-- to cheetah layout
102 BadPixMapCheetah/
ID = 1600
103 BadPixMapCheetah/
HistName = BadPixMap
104 BadPixMapCheetah/
Hide = false
105 ;-- load the gain
map
107 ;GainMap/
BinaryFile = /reg/neh/
operator/cxiopr/2014/cxie9214/gain-center.cal
112 ;-- to cheetah layout
113 GainMapCheetah/
ID = 1600
115 GainMapCheetah/
Hide = false
118 ;---- treat the raw image
of the
cspad -----
121 ; generate
offset corrected image
122 CsPadOffsetCorrected/
ID = 1
123 CsPadOffsetCorrected/
HistOne = CsPadRaw
124 CsPadOffsetCorrected/
HistTwo = OffsetMap
125 CsPadOffsetCorrected/Operation =
"-"
126 CsPadOffsetCorrected/
Hide = true
128 CsPadOffsetCorrectedMasked/
ID = 41
129 CsPadOffsetCorrectedMasked/
HistName = CsPadOffsetCorrected
130 CsPadOffsetCorrectedMasked/ThresholdName = BadPixMap
131 CsPadOffsetCorrectedMasked/UserVal = 0
132 CsPadOffsetCorrectedMasked/LowerBound = 0.5
133 CsPadOffsetCorrectedMasked/UpperBound = 1.5
134 CsPadOffsetCorrectedMasked/
Hide = true
135 ;-- correct
for the gain
139 CsPad/Operation =
"*"
141 ;-- to cheetah layout
142 CsPadCheetah/
ID = 1600
144 CsPadCheetah/
Hide = false
152 ;------------- definitions
of when a
hit is
found------------------
158 BraggPeakTableNoOutliers/
ID = 208
159 BraggPeakTableNoOutliers/
HistName = CsPadOffsetCorrectedMasked
160 BraggPeakTableNoOutliers/SectionSizeX = 194
161 BraggPeakTableNoOutliers/SectionSizeY = 185
162 BraggPeakTableNoOutliers/BoxSizeX = 5
163 BraggPeakTableNoOutliers/BoxSizeY = 5
165 BraggPeakTableNoOutliers/MinSignalToNoiseRatio = 3
166 BraggPeakTableNoOutliers/MinNbrPixels = 2
168 BraggPeakTableNoOutliers/ConvertCheetahToCASSLayout = true
171 BraggPeakTableNoOutliers/
Wavelength_A = photon_wavelength_A
173 BraggPeakTableNoOutliers/PixelSize_m = 109.92e-6
174 BraggPeakTableNoOutliers/
Hide = true
176 nBraggPeaksNoOutliers/
ID = 88
177 nBraggPeaksNoOutliers/
HistName = BraggPeakTableNoOutliers
178 nBraggPeaksNoOutliers/AxisParameter =
YNbrBins
179 nBraggPeaksNoOutliers/
Hide = true
181 BraggPeakNoOutliersHitfinder/
ID = 9
182 BraggPeakNoOutliersHitfinder/
HistName = nBraggPeaksNoOutliers
183 BraggPeakNoOutliersHitfinder/UpperLimit = 1e20
184 BraggPeakNoOutliersHitfinder/LowerLimit = 10
185 BraggPeakNoOutliersHitfinder/
Hide = true
188 SubsetBraggPeakTable/
ID = 73
189 SubsetBraggPeakTable/TableName = BraggPeakTableNoOutliers
190 SubsetBraggPeakTable/ColumnIndex = 9
191 SubsetBraggPeakTable/UpperBound = 1e20
192 SubsetBraggPeakTable/LowerBound = 00
193 SubsetBraggPeakTable/
Hide = true
195 nSubsetBraggPeaks/
ID = 88
196 nSubsetBraggPeaks/
HistName = SubsetBraggPeakTable
197 nSubsetBraggPeaks/AxisParameter =
YNbrBins
198 nSubsetBraggPeaks/
Hide = false
200 SubsetBraggPeakHitfinder/
ID = 9
201 SubsetBraggPeakHitfinder/
HistName = nSubsetBraggPeaks
202 SubsetBraggPeakHitfinder/UpperLimit = 1e20
203 SubsetBraggPeakHitfinder/LowerLimit = 0
204 SubsetBraggPeakHitfinder/
Hide = true
206 InfoImageNotRotated/
ID = 205
209 InfoImageNotRotated/TableName = SubsetBraggPeakTable
210 InfoImageNotRotated/IndexColumn = 5
211 InfoImageNotRotated/
Radius = 2
212 InfoImageNotRotated/DrawPixelValue = 160000
213 InfoImageNotRotated/BoxSizeX = 3
214 InfoImageNotRotated/BoxSizeY = 3
215 InfoImageNotRotated/DrawBox =
true
216 InfoImageNotRotated/DrawCircle =
false
217 InfoImageNotRotated/
Hide = true
219 InfoImageCheetah/
ID = 1600
221 InfoImageCheetah/
HistName = InfoImageNotRotated
222 InfoImageCheetah/
Hide = false
227 MaxADUColumn/TableName = SubsetBraggPeakTable
228 MaxADUColumn/ColumnIndex = 12
229 MaxADUColumn/
Hide =
true
230 MaxADUHistory/
ID = 64
232 MaxADUHistory/
HistName = MaxADUColumn
233 MaxADUHistory/Size = 6000
234 MaxADUHistory/
Hide = false
238 SNRColumn/TableName = SubsetBraggPeakTable
239 SNRColumn/ColumnIndex = 4
240 SNRColumn/
Hide =
true
244 SNRHistory/Size = 6000
245 SNRHistory/
Hide = false
247 nOutlierColumn/
ID = 72
249 nOutlierColumn/TableName = SubsetBraggPeakTable
250 nOutlierColumn/ColumnIndex = 13
251 nOutlierColumn/
Hide =
true
252 nOutlierHistory/
ID = 64
254 nOutlierHistory/
HistName = nOutlierColumn
255 nOutlierHistory/Size = 6000
256 nOutlierHistory/
Hide = false
260 nPixColumn/TableName = SubsetBraggPeakTable
261 nPixColumn/ColumnIndex = 3
262 nPixColumn/
Hide =
true
266 nPixHistory/Size = 6000
267 nPixHistory/
Hide = false
271 stdvColumn/TableName = SubsetBraggPeakTable
272 stdvColumn/ColumnIndex = 9
273 stdvColumn/
Hide =
true
277 stdvHistory/Size = 6000
278 stdvHistory/
Hide = false
282 meanColumn/TableName = SubsetBraggPeakTable
283 meanColumn/ColumnIndex = 8
284 meanColumn/
Hide =
true
288 meanHistory/Size = 6000
289 meanHistory/
Hide = false
293 ; define which
of the hitfinders defined above will be used as
hit
294 ; identification
for the later Processors by ANDing
this with
296 ; here which condition to
use. Also define when it was not a
hit.
299 IsHit/
HistOne = DefaultTrueHist
300 IsHit/
HistTwo = BraggPeakNoOutliersHitfinder
301 IsHit/Operation =
"AND"
303 ;-- invert to
get no
hits
315 ; no FEL
light can be generated
318 FELOff/EventCode = 162
320 ;-- invert the condition
324 ;-- make a history
of the FEL off
value
325 FELOffHistory/
ID = 64
327 FELOffHistory/Size = 2400
328 FELOffHistory/
Hide = false
331 ; which is defined below in the additional
info section
335 IsLight/UpperLimit = 1e20
336 IsLight/LowerLimit = 0.05
342 ; ---------------
Hitrate-------------------------
350 HitRate/NbrOfAverages = 600
352 ;-- make a history
of that
value
353 HitRateHistory/
ID = 64
356 HitRateHistory/Size = 2400
357 HitRateHistory/
Hide = false
364 ;-------
checks-------------
370 SaturatedPeaksTable/
ID = 73
372 SaturatedPeaksTable/TableName = BraggPeakTableNoOutliers
373 SaturatedPeaksTable/ColumnIndex = 12
374 SaturatedPeaksTable/UpperBound = 1e20
375 SaturatedPeaksTable/LowerBound = 9000
376 SaturatedPeaksTable/
Hide = true
377 ;-- how many rows has the list
378 nSaturatedPeaks/
ID = 88
380 nSaturatedPeaks/
HistName = SaturatedPeaksTable
381 nSaturatedPeaks/AxisParameter =
YNbrBins
382 nSaturatedPeaks/
Hide = true
383 ;-- take the ratio to all peak
on the list
384 SaturatedRatio/
ID = 1
386 SaturatedRatio/
HistOne = nSaturatedPeaks
387 SaturatedRatio/
HistTwo = nBraggPeaksNoOutliers
388 SaturatedRatio/Operation =
"/"
389 SaturatedRatio/
Hide = true
390 ;-- histogram the ratio
391 SaturatedRatioHist/
ID = 60
393 SaturatedRatioHist/
HistName = SaturatedRatio
395 SaturatedRatioHist/
XLow = 0
396 SaturatedRatioHist/
XUp = 1
397 SaturatedRatioHist/
XTitle = ratio
of saturated to all
398 SaturatedRatioHist/
Hide = true
400 SaturatedRatioHistAve/
ID = 61
402 SaturatedRatioHistAve/
HistName = SaturatedRatioHist
403 SaturatedRatioHistAve/NbrOfAverages = 240
404 SaturatedRatioHistAve/
Hide = false
405 ;-- sum the histogram
406 SaturatedRatioHistSum/
ID = 62
408 SaturatedRatioHistSum/
HistName = SaturatedRatioHist
409 SaturatedRatioHistSum/
Hide = false
417 ;--------- things done
with raw image when there is a
hit-------------------
421 CsPadCheetahIsHit/
ID = 13
422 CsPadCheetahIsHit/
HistName = CsPadCheetah
424 CsPadCheetahIsHit/
Hide = false
425 ;-- sum up the cheetah layout image
426 CsPadCheetahSum/
ID = 62
427 CsPadCheetahSum/
HistName = CsPadCheetah
429 CsPadCheetahSum/
Hide =
false
431 ;-- create image containing the centroided bragg
peaks from table
432 CsPadCleardCentroid/
ID = 207
434 CsPadCleardCentroid/Table = BraggPeakTableNoOutliers
435 CsPadCleardCentroid/ColumnIndex = 1
436 CsPadCleardCentroid/RowIndex = 2
437 CsPadCleardCentroid/ValIndex = 0
439 CsPadCleardCentroid/
XLow = 0
440 CsPadCleardCentroid/
XUp = 388
441 CsPadCleardCentroid/
XTitle = columns
443 CsPadCleardCentroid/
YLow = 0
444 CsPadCleardCentroid/
YUp = 5920
445 CsPadCleardCentroid/
YTitle = rows
446 CsPadCleardCentroid/
Hide = true
447 ;-- convert centroid bragg peak image to cheetah
448 CsPadCleardCentroidCheetah/
ID = 1600
449 CsPadCleardCentroidCheetah/
HistName = CsPadCleardCentroid
451 CsPadCleardCentroidCheetah/
Hide = true
452 ;-- sum
of centroided cheetah image
453 CsPadCleardCentroidCheetahSum/
ID = 62
454 CsPadCleardCentroidCheetahSum/
HistName = CsPadCleardCentroidCheetah
456 CsPadCleardCentroidCheetahSum/
Hide =
true
459 CsPadCleardCentroidCheetahAve/
ID = 61
460 CsPadCleardCentroidCheetahAve/
HistName = CsPadCleardCentroidCheetah
462 CsPadCleardCentroidCheetahAve/NbrOfAverages = 0
463 CsPadCleardCentroidCheetahAve/
Hide = false
470 ;------------- Fluorescence
stuff-----------------
477 CsPad2x2Raw/nCols = 388
478 CsPad2x2Raw/nRows = 370
479 CsPad2x2Raw/
Hide =
false
484 ;-- collect
images when shutter is closed
485 CsPad2x2DarkCal/
ID = 330
486 CsPad2x2DarkCal/RawImage = CsPad2x2Raw
490 CsPad2x2DarkCal/
Train = false
491 ;CsPad2x2DarkCal/
Train =
true
492 CsPad2x2DarkCal/InputFilename = darkcal_12.lnk
494 CsPad2x2DarkCal/WriteCal =
true
495 CsPad2x2DarkCal/NbrTrainingImages = 200
496 CsPad2x2DarkCal/SNR = 4
500 CsPad2x2DarkCal/NoiseLowerBoundary = 1
501 CsPad2x2DarkCal/NoiseUpperBoundary = 7.5
502 CsPad2x2DarkCal/SNROffsetAutoBoundariesStat = 4
503 CsPad2x2DarkCal/SNROffsetAutoBoundaries = 4
504 CsPad2x2DarkCal/MinNbrPixels = 90
505 CsPad2x2DarkCal/ResetBadPixels =
false
506 CsPad2x2DarkCal/UpdateCalibration =
false
507 CsPad2x2DarkCal/UpdateCalibrationType = moving
508 CsPad2x2DarkCal/NbrOfImages = 200
509 CsPad2x2DarkCal/UpdateBadPixAndSavePeriod = 800
510 CsPad2x2DarkCal/
Hide = true
512 CsPad2x2OffsetMap/
ID = 70
513 CsPad2x2OffsetMap/
HistName = CsPad2x2DarkCal
514 CsPad2x2OffsetMap/
XLow = 0
515 CsPad2x2OffsetMap/
XUp = 387
516 CsPad2x2OffsetMap/
YLow = 0
517 CsPad2x2OffsetMap/
YUp = 369
518 CsPad2x2OffsetMap/
Hide = false
520 CsPad2x2OffsetMapHist/
ID = 60
521 CsPad2x2OffsetMapHist/
HistName = CsPad2x2OffsetMap
522 CsPad2x2OffsetMapHist/
XNbrBins = 1000
523 CsPad2x2OffsetMapHist/
XLow = -100
524 CsPad2x2OffsetMapHist/
XUp = 2500
525 CsPad2x2OffsetMapHist/
XTitle = OffsetValues [adu]
526 CsPad2x2OffsetMapHist/
Hide = false
528 CsPad2x2NoiseMap/
ID = 70
529 CsPad2x2NoiseMap/
HistName = CsPad2x2DarkCal
530 CsPad2x2NoiseMap/
XLow = 0
531 CsPad2x2NoiseMap/
XUp = 387
532 CsPad2x2NoiseMap/
YLow = 370
533 CsPad2x2NoiseMap/
YUp = 739
534 CsPad2x2NoiseMap/
Hide = false
535 ;-- histogram
of the
noise values
536 CsPad2x2NoiseMapHist/
ID = 60
537 CsPad2x2NoiseMapHist/
HistName = CsPad2x2NoiseMap
538 CsPad2x2NoiseMapHist/
XNbrBins = 10000
539 CsPad2x2NoiseMapHist/
XLow = 0
540 CsPad2x2NoiseMapHist/
XUp = 500
541 CsPad2x2NoiseMapHist/
XTitle = NoiseValues [adu]
542 CsPad2x2NoiseMapHist/
Hide = false
544 CsPad2x2BadPixMap/
ID = 70
545 CsPad2x2BadPixMap/
HistName = CsPad2x2DarkCal
546 CsPad2x2BadPixMap/
XLow = 0
547 CsPad2x2BadPixMap/
XUp = 387
548 CsPad2x2BadPixMap/
YLow = 1110
549 CsPad2x2BadPixMap/
YUp = 1479
550 CsPad2x2BadPixMap/
Hide = true
554 ; treat the raw image
of the
cspad -----
556 ; generate
offset corrected image
557 CsPad2x2OffsetCorrected/
ID = 1
558 CsPad2x2OffsetCorrected/
HistOne = CsPad2x2Raw
559 CsPad2x2OffsetCorrected/
HistTwo = CsPad2x2OffsetMap
560 CsPad2x2OffsetCorrected/Operation =
"-"
561 CsPad2x2OffsetCorrected/
Hide = false
562 ;-- find the common mode
of the image
563 CsPad2x2CommonModeMap/
ID = 333
564 CsPad2x2CommonModeMap/Image = CsPad2x2OffsetCorrected
565 CsPad2x2CommonModeMap/CalculationType =
"median"
566 CsPad2x2CommonModeMap/Width = 71780 ; 388
x 185 pixels
567 CsPad2x2CommonModeMap/
Hide = true
568 ;-- subtract the common mode
569 CsPad2x2OffsetAndCommonModeCorrected/
ID = 1
570 CsPad2x2OffsetAndCommonModeCorrected/
HistOne = CsPad2x2OffsetCorrected
571 CsPad2x2OffsetAndCommonModeCorrected/
HistTwo = CsPad2x2CommonModeMap
572 CsPad2x2OffsetAndCommonModeCorrected/Operation =
"-"
573 CsPad2x2OffsetAndCommonModeCorrected/
Hide = true
575 CsPad2x2OffsetAndCommonModeCorrectedAndMasked/
ID = 41
576 CsPad2x2OffsetAndCommonModeCorrectedAndMasked/
HistName = CsPad2x2OffsetAndCommonModeCorrected
577 CsPad2x2OffsetAndCommonModeCorrectedAndMasked/ThresholdName = CsPad2x2BadPixMap
578 CsPad2x2OffsetAndCommonModeCorrectedAndMasked/UserVal = 0
579 CsPad2x2OffsetAndCommonModeCorrectedAndMasked/LowerBound = 0.5
580 CsPad2x2OffsetAndCommonModeCorrectedAndMasked/UpperBound = 1.5
581 CsPad2x2OffsetAndCommonModeCorrectedAndMasked/
Hide = false
583 CsPad2x2OffsetAndCommonModeCorrectedAndMaskedAve/
ID = 61
584 CsPad2x2OffsetAndCommonModeCorrectedAndMaskedAve/
HistName = CsPad2x2OffsetAndCommonModeCorrectedAndMasked
585 CsPad2x2OffsetAndCommonModeCorrectedAndMaskedAve/NbrOfAverages = 200
586 CsPad2x2OffsetAndCommonModeCorrectedAndMaskedAve/
Hide = false
587 ;-- divide by
noise to
get the signal to
noise ratio
589 CsPad2x2SNR/
HistOne = CsPad2x2OffsetAndCommonModeCorrectedAndMasked
590 CsPad2x2SNR/
HistTwo = CsPad2x2NoiseMap
591 CsPad2x2SNR/Operation =
"/"
592 CsPad2x2SNR/
Hide = false
593 ;-- histogram
of the snr values
594 CsPad2x2SNRHist/
ID = 60
595 CsPad2x2SNRHist/
HistName = CsPad2x2SNR
597 CsPad2x2SNRHist/
XLow = -20
598 CsPad2x2SNRHist/
XUp = 20
599 CsPad2x2SNRHist/
XTitle = SNRValues
600 CsPad2x2SNRHist/
Hide = false
601 ;-- set pixels that don
't contain light to 0
602 CsPad2x2LightPixels/ID = 41
603 CsPad2x2LightPixels/HistName = CsPad2x2OffsetAndCommonModeCorrectedAndMasked
604 CsPad2x2LightPixels/ThresholdName = CsPad2x2SNR
605 CsPad2x2LightPixels/UserVal = 0
606 CsPad2x2LightPixels/LowerBound = -1e20
607 CsPad2x2LightPixels/UpperBound = 3
608 CsPad2x2LightPixels/Hide = false
609 ;-- project area of interest to x-axis
611 FSpectrum/HistName = CsPad2x2LightPixels
612 FSpectrum/LowerBound = 335
613 FSpectrum/UpperBound = 350
615 FSpectrum/Hide = true
618 FSpectrumSum/HistName = FSpectrum
619 ;FSpectrumSum/ConditionName = IsHit
620 FSpectrumSum/Hide = false
621 ;-- average of spectrum
623 FSpectrumAve/HistName = FSpectrum
624 ;FSpectrumAve/ConditionName = IsHit
625 FSpectrumAve/NbrOfAverages = 200
626 FSpectrumAve/Hide = false
631 ;-- subset the corrected 2x2 detector with only the region that contains the spectral data
633 CsPad2x2Sub/HistName = CsPad2x2OffsetAndCommonModeCorrectedAndMasked
635 CsPad2x2Sub/XUp = 387
636 CsPad2x2Sub/YLow = 335
637 CsPad2x2Sub/YUp = 350
638 CsPad2x2Sub/Hide = true
639 ;-- histogram of for each pixel of the selected region
640 CsPad2x2SubPixelsHist/ID = 244
641 CsPad2x2SubPixelsHist/ImageName = CsPad2x2Sub
642 CsPad2x2SubPixelsHist/XNbrBins = 300
643 CsPad2x2SubPixelsHist/XLow = -50
644 CsPad2x2SubPixelsHist/XUp = 250
645 CsPad2x2SubPixelsHist/XTitle = "ADU Values"
646 CsPad2x2SubPixelsHist/Hide = false
647 ;-- sum histogram when right condition is matched
648 CsPad2x2SubPixelsHistSum/ID = 62
649 CsPad2x2SubPixelsHistSum/HistName = CsPad2x2SubPixelsHist
650 CsPad2x2SubPixelsHistSum/ConditionName = IsHit
651 CsPad2x2SubPixelsHistSum/Hide = false
659 ;------------FEE Spectrometer----------
661 ; the spectrometer data
664 FEESpec/SpectrometerName = FEE-SPEC0_horiz
667 ;-- display when there should be no signal
668 FEESpecFelOFF/ID = 123
669 FEESpecFelOFF/ConditionName = FELOff
670 FEESpecFelOFF/SpectrometerName = FEE-SPEC0_horiz
671 FEESpecFelOFF/Size = 2050
672 FEESpecFelOFF/Hide = false
680 ;--------------statistics-------------------------
682 ; the total number of triggers that were in the files processed
687 ; the number of triggers that contained light (shots)
690 nShots/ConditionName = IsLight
693 ; the number of identified hits
696 nHits/ConditionName = IsHit
700 ;--------------additional info-------------------------
702 ; photon energy and wavelength
704 photon_energy_eV/ID = 120
705 photon_energy_eV/VariableName = "EbeamPhotonEnergy"
706 photon_energy_eV/Hide = false
708 photon_wavelength_A/ID = 2
709 photon_wavelength_A/Value = 12398
710 photon_wavelength_A/HistName = photon_energy_eV
711 photon_wavelength_A/ValuePos = first
712 photon_wavelength_A/Operation = "/"
713 photon_wavelength_A/Hide = false
715 ; detector z position
717 detector_encoder/ID = 130
718 detector_encoder/VariableName = "CXI:DS1:MMS:06.RBV"
719 detector_encoder/Hide = true
720 ;-- convert encoder position to mm
721 detectordistance_mm/ID = 2
722 detectordistance_mm/HistName = detector_encoder
723 detectordistance_mm/Value = 572
724 detectordistance_mm/ValuePos = second
725 detectordistance_mm/Operation = "+"
726 detectordistance_mm/Hide = true
727 ;-- detector z position in m
728 detectordistance_m/ID = 2
729 detectordistance_m/HistName = detectordistance_mm
730 detectordistance_m/Value = 1000
731 detectordistance_m/ValuePos = second
732 detectordistance_m/Operation = "/"
733 detectordistance_m/Hide = true
738 f_11_ENRC/VariableName = "f_11_ENRC"
739 f_11_ENRC/Hide = true
742 f_12_ENRC/VariableName = "f_12_ENRC"
743 f_12_ENRC/Hide = true
746 f_21_ENRC/VariableName = "f_21_ENRC"
747 f_21_ENRC/Hide = true
750 f_22_ENRC/VariableName = "f_22_ENRC"
751 f_22_ENRC/Hide = true
754 f_63_ENRC/VariableName = "f_63_ENRC"
755 f_63_ENRC/Hide = true
758 f_64_ENRC/VariableName = "f_64_ENRC"
759 f_64_ENRC/Hide = true
764 EBeamCharge/VariableName = "EBeamCharge"
765 EBeamCharge/Hide = true
767 EbeamPkCurrBC2/ID = 120
768 EbeamPkCurrBC2/VariableName = "EbeamPkCurrBC2"
769 EbeamPkCurrBC2/Hide = true
771 EbeamXTCAVAmpl/ID = 120
772 EbeamXTCAVAmpl/VariableName = "EbeamXTCAVAmpl"
773 EbeamXTCAVAmpl/Hide = true
775 EbeamXTCAVPhase/ID = 120
776 EbeamXTCAVPhase/VariableName = "EbeamXTCAVPhase"
777 EbeamXTCAVPhase/Hide = true
779 EbeamDumpCharge/ID = 120
780 EbeamDumpCharge/VariableName = "EbeamDumpCharge"
781 EbeamDumpCharge/Hide = true
783 EbeamUndPosX/ID = 120
784 EbeamUndPosX/VariableName = "EbeamUndPosX"
785 EbeamUndPosX/Hide = true
787 EbeamUndPosY/ID = 120
788 EbeamUndPosY/VariableName = "EbeamUndPosY"
789 EbeamUndPosY/Hide = true
791 EbeamUndAngX/ID = 120
792 EbeamUndAngX/VariableName = "EbeamUndAngX"
793 EbeamUndAngX/Hide = true
795 EbeamUndAngY/ID = 120
796 EbeamUndAngY/VariableName = "EbeamUndAngY"
797 EbeamUndAngY/Hide = true
799 EbeamPkCurrBC1/ID = 120
800 EbeamPkCurrBC1/VariableName = "EbeamPkCurrBC1"
801 EbeamPkCurrBC1/Hide = true
803 fEbeamEnergyBC1/ID = 120
804 fEbeamEnergyBC1/VariableName = "fEbeamEnergyBC1"
805 fEbeamEnergyBC1/Hide = true
807 EbeamEnergyBC2/ID = 120
808 EbeamEnergyBC2/VariableName = "EbeamEnergyBC2"
809 EbeamEnergyBC2/Hide = true
811 EbeamL3Energy/ID = 120
812 EbeamL3Energy/VariableName = "EbeamL3Energy"
813 EbeamL3Energy/Hide = true
815 EbeamLTUAngX/ID = 120
816 EbeamLTUAngX/VariableName = "EbeamLTUAngX"
817 EbeamLTUAngX/Hide = true
819 EbeamLTUAngY/ID = 120
820 EbeamLTUAngY/VariableName = "EbeamLTUAngY"
821 EbeamLTUAngY/Hide = true
823 EbeamLTUPosX/ID = 120
824 EbeamLTUPosX/VariableName = "EbeamLTUPosX"
825 EbeamLTUPosX/Hide = true
827 EbeamLTUPosY/ID = 120
828 EbeamLTUPosY/VariableName = "EbeamLTUPosY"
829 EbeamLTUPosY/Hide = true
834 ; ------------things written to h5 files----------------------
836 ; things written in each h5 thats a hit
839 H5Dump/CompressLevel = 0
840 H5Dump/ConditionName = IsHit
841 H5Dump/FileBaseName = hdf5Outfilename
842 H5Dump/MaximumNbrFilesPerDir = 500
844 H5Dump/Processor/size = 200
846 H5Dump/Processor/1/Name = CsPadCheetah
847 H5Dump/Processor/1/GroupName = /data
848 H5Dump/Processor/1/ValName = data
850 H5Dump/Processor/10/Name = photon_energy_eV
851 H5Dump/Processor/10/GroupName = /LCLS
853 H5Dump/Processor/11/Name = photon_wavelength_A
854 H5Dump/Processor/11/GroupName = /LCLS
856 H5Dump/Processor/12/Name = detector_encoder
857 H5Dump/Processor/12/GroupName = /LCLS
859 H5Dump/Processor/13/Name = detectordistance_mm
860 H5Dump/Processor/13/GroupName = /LCLS
862 H5Dump/Processor/14/Name = detectordistance_m
863 H5Dump/Processor/14/GroupName = /LCLS
865 H5Dump/Processor/15/Name = f_11_ENRC
866 H5Dump/Processor/15/GroupName = /LCLS
868 H5Dump/Processor/16/Name = f_12_ENRC
869 H5Dump/Processor/16/GroupName = /LCLS
871 H5Dump/Processor/17/Name = f_21_ENRC
872 H5Dump/Processor/17/GroupName = /LCLS
874 H5Dump/Processor/18/Name = f_22_ENRC
875 H5Dump/Processor/18/GroupName = /LCLS
877 H5Dump/Processor/19/Name = f_63_ENRC
878 H5Dump/Processor/19/GroupName = /LCLS
880 H5Dump/Processor/20/Name = f_64_ENRC
881 H5Dump/Processor/20/GroupName = /LCLS
883 H5Dump/Processor/21/Name = EBeamCharge
884 H5Dump/Processor/21/GroupName = /LCLS
886 H5Dump/Processor/22/Name = EbeamPkCurrBC2
887 H5Dump/Processor/22/GroupName = /LCLS
889 H5Dump/Processor/23/Name = EbeamXTCAVAmpl
890 H5Dump/Processor/23/GroupName = /LCLS
892 H5Dump/Processor/24/Name = EbeamXTCAVPhase
893 H5Dump/Processor/24/GroupName = /LCLS
895 H5Dump/Processor/25/Name = EbeamDumpCharge
896 H5Dump/Processor/25/GroupName = /LCLS
898 H5Dump/Processor/26/Name = EbeamUndPosX
899 H5Dump/Processor/26/GroupName = /LCLS
901 H5Dump/Processor/27/Name = EbeamUndPosY
902 H5Dump/Processor/27/GroupName = /LCLS
904 H5Dump/Processor/28/Name = EbeamUndAngX
905 H5Dump/Processor/28/GroupName = /LCLS
907 H5Dump/Processor/29/Name = EbeamUndAngY
908 H5Dump/Processor/29/GroupName = /LCLS
910 H5Dump/Processor/30/Name = EbeamPkCurrBC1
911 H5Dump/Processor/30/GroupName = /LCLS
913 H5Dump/Processor/31/Name = fEbeamEnergyBC1
914 H5Dump/Processor/31/GroupName = /LCLS
916 H5Dump/Processor/32/Name = EbeamEnergyBC2
917 H5Dump/Processor/32/GroupName = /LCLS
919 H5Dump/Processor/33/Name = EbeamL3Energy
920 H5Dump/Processor/33/GroupName = /LCLS
922 H5Dump/Processor/34/Name = EbeamLTUAngX
923 H5Dump/Processor/34/GroupName = /LCLS
925 H5Dump/Processor/35/Name = EbeamLTUAngY
926 H5Dump/Processor/35/GroupName = /LCLS
928 H5Dump/Processor/36/Name = EbeamLTUPosX
929 H5Dump/Processor/36/GroupName = /LCLS
931 H5Dump/Processor/37/Name = EbeamLTUPosY
932 H5Dump/Processor/37/GroupName = /LCLS
934 H5Dump/Processor/38/Name = FEESpec
935 H5Dump/Processor/38/GroupName = /LCLS
937 ;things written only at end of run
938 H5Dump/ProcessorSummary/size = 200
940 H5Dump/ProcessorSummary/1/Name = CsPadCheetahSum
941 H5Dump/ProcessorSummary/1/GroupName = /cheetah
942 H5Dump/ProcessorSummary/1/ValName = powder
944 H5Dump/ProcessorSummary/2/Name = CsPadCleardCentroidCheetahSum
945 H5Dump/ProcessorSummary/2/GroupName = /cheetah
946 H5Dump/ProcessorSummary/2/ValName = powderCentroidPix
949 H5Dump/ProcessorSummary/5/Name = nTrigger
950 H5Dump/ProcessorSummary/5/GroupName = /statistics
951 H5Dump/ProcessorSummary/5/ValName = NumberOfTriggers
953 H5Dump/ProcessorSummary/6/Name = nShots
954 H5Dump/ProcessorSummary/6/GroupName = /statistics
955 H5Dump/ProcessorSummary/6/ValName = NumberOfShots
957 H5Dump/ProcessorSummary/7/Name = nHits
958 H5Dump/ProcessorSummary/7/GroupName = /statistics
959 H5Dump/ProcessorSummary/7/ValName = NumberOfHits
962 ;H5Dump/ProcessorSummary/10/Name = FSpectrumSum
963 ;H5Dump/ProcessorSummary/10/GroupName = /Fluorescence
964 ;H5Dump/ProcessorSummary/10/ValName = Spectrum
966 ;H5Dump/ProcessorSummary/11/Name = CsPad2x2SubPixelsHistSum
967 ;H5Dump/ProcessorSummary/11/GroupName = /Fluorescence
968 ;H5Dump/ProcessorSummary/11/ValName = PixelHistogram
971 H5Dump/ProcessorSummary/100/Name = OffsetMapCheetah
972 H5Dump/ProcessorSummary/100/GroupName = /Checks
973 H5Dump/ProcessorSummary/100/ValName = OffsetMap
975 H5Dump/ProcessorSummary/101/Name = OffsetMapHist
976 H5Dump/ProcessorSummary/101/GroupName = /Checks
977 H5Dump/ProcessorSummary/101/ValName = OffsetValuesHistogram
979 H5Dump/ProcessorSummary/102/Name = NoiseMapCheetah
980 H5Dump/ProcessorSummary/102/GroupName = /Checks
981 H5Dump/ProcessorSummary/102/ValName = NoiseMap
983 H5Dump/ProcessorSummary/103/Name = NoiseMapHist
984 H5Dump/ProcessorSummary/103/GroupName = /Checks
985 H5Dump/ProcessorSummary/103/ValName = NoiseValuesHistogram
987 H5Dump/ProcessorSummary/104/Name = BadPixMapCheetah
988 H5Dump/ProcessorSummary/104/GroupName = /Checks
989 H5Dump/ProcessorSummary/104/ValName = BadPixMap
991 H5Dump/ProcessorSummary/105/Name = GainMapCheetah
992 H5Dump/ProcessorSummary/105/GroupName = /Checks
993 H5Dump/ProcessorSummary/105/ValName = GainMap
996 H5Dump/ProcessorSummary/110/Name = SaturatedRatioHistSum
997 H5Dump/ProcessorSummary/110/GroupName = /Checks
998 H5Dump/ProcessorSummary/110/ValName = SaturationRatioHistogram
1001 H5Dump/ProcessorSummary/120/Name = CsPad2x2OffsetMap
1002 H5Dump/ProcessorSummary/120/GroupName = /Checks_2x2
1003 H5Dump/ProcessorSummary/120/ValName = OffsetMap
1005 H5Dump/ProcessorSummary/121/Name = CsPad2x2OffsetMapHist
1006 H5Dump/ProcessorSummary/121/GroupName = /Checks_2x2
1007 H5Dump/ProcessorSummary/121/ValName = OffsetValuesHistogram
1009 H5Dump/ProcessorSummary/122/Name = CsPad2x2NoiseMap
1010 H5Dump/ProcessorSummary/122/GroupName = /Checks_2x2
1011 H5Dump/ProcessorSummary/122/ValName = NoiseMap
1013 H5Dump/ProcessorSummary/123/Name = CsPad2x2NoiseMapHist
1014 H5Dump/ProcessorSummary/123/GroupName = /Checks_2x2
1015 H5Dump/ProcessorSummary/123/ValName = NoiseValuesHistogram
1017 H5Dump/ProcessorSummary/124/Name = CsPad2x2BadPixMap
1018 H5Dump/ProcessorSummary/124/GroupName = /Checks_2x2
1019 H5Dump/ProcessorSummary/124/ValName = BadPixMap
1027 ;----------------- things written to CBF files ----------------------
1030 ; write the raw detector
1031 CBFDumpRaw/ID = 1500
1032 CBFDumpRaw/HistName = CsPadCBF
1033 CBFDumpRaw/ConditionName = IsHit
1034 CBFDumpRaw/FileBaseName = cbfOutfilename
1035 CBFDumpRaw/MaximumNbrFilesPerDir = 500
1043 ;-------------------program control and setup----------------------
1045 ; only extract CsPad, other camera data and machine data from the stream
1047 Used = pixeldetector,Machine
1048 LCLSPixelDetectors/size = 5
1050 LCLSPixelDetectors/1/Typename = CspadElement
1051 LCLSPixelDetectors/1/DetectorName = CxiDs2
1052 LCLSPixelDetectors/1/DetectorID = 0
1053 LCLSPixelDetectors/1/DeviceName = Cspad
1054 LCLSPixelDetectors/1/DeviceID = 0
1055 LCLSPixelDetectors/1/CASSID = 7
1057 LCLSPixelDetectors/2/Typename = CspadConfig
1058 LCLSPixelDetectors/2/DetectorName = CxiDs2
1059 LCLSPixelDetectors/2/DetectorID = 0
1060 LCLSPixelDetectors/2/DeviceName = Cspad
1061 LCLSPixelDetectors/2/DeviceID = 0
1062 LCLSPixelDetectors/2/CASSID = 7
1064 ;-- CsPad2x2 Detector
1065 LCLSPixelDetectors/3/Typename = Cspad2x2Element
1066 LCLSPixelDetectors/3/DetectorName = CxiSc2
1067 LCLSPixelDetectors/3/DetectorID = 0
1068 LCLSPixelDetectors/3/DeviceName = Cspad2x2
1069 LCLSPixelDetectors/3/DeviceID = 0
1070 LCLSPixelDetectors/3/CASSID = 12
1073 ; what output level should be written into the log file
1075 MaxLoggingLevel = "INFO"
1076 ;MaxLoggingLevel = "DEBUG4"
1077 Directory = logfiledir
1078 Filename = logfilename.log
1080 ; the options for the input
generate a sublist of the list with all identified bragg spots
FrontPnCCD CorrectionMaps Mask Radius
sum up the image containing centroided bragg peaks
determine the particle size by the distance between the first minima of the q average[Processor]
find nbr of bragg peaks by taking background with pixels that are free of
BraggPeakTableNoOutliers Wavelength_A
check if FEL is off by checking for bykick which is eventid
create the noise and bad pixel map[Processor]
including pump probe analysis
BraggPeakTableNoOutliers DetectorDistance_m
true Then one can use the IsHit Processor later on
define which of the hitfinders defined above will be used as hit
true Then one can use the IsHit Processor later by only
BraggPeakTableNoOutliers GeometryFilename
Average out the iShit status to get the avererage hits
substract the median of the integral from the integral and use
Partially also the fluorescence analysis of the CsPad2x2 is implemented
front pnCCD LCLSPixelDetectors CASSID
CsPadDarkCal ConditionName
definition of acutal light in the chamber
The diffraction detector image[Processor] CsPadRaw ID
auxiliary data[Processor]
generic ini file for crystal hitfinding on cspad
x pixels CsPad2x2CommonModeMap Hide
definitions of when a hit is found
the raw images tof traces
noise and mask[Processor]
the number of triggers that contained light(shots)[Processor] nShots/ID
CsPadDarkCal SNRNoiseAutoBoundariesStat
identification for the later Processors by ANDing this with
CsPadDarkCal OutputFilename
bykick kicks the electron beam before it goes into the therefore
int16_t pixel
define a pixel
check if there is some light in the chamber based upon the GMD value
bykick kicks the electron beam before it goes into the undulator
CsPadDarkCal SNRNoiseAutoBoundaries
and the shutter status[Processor]
set up how to create the noise