CFEL - ASG Software Suite  2.5.0
CASS
CsPadCrystal.ini
Go to the documentation of this file.
1 ;/** @example CsPadCrystal.ini */
2 ;;
3 ;; generic ini file for crystal hitfinding on cspad
4 ;; Correction on the CsPad detector data is done using Processor 330
5 ;; Partially also the fluorescence analysis of the CsPad2x2 is implemented
6 ;;
7 
8 
9 ; ---------------------the processors--------------------------
10 
11 ;----------------the raw images / tof traces-----------------------
12 
13 
14 ; The diffraction detector image
15 [Processor]
16 CsPadRaw/ID = 109
17 CsPadRaw/CASSID = 7
18 CsPadRaw/nCols = 388
19 CsPadRaw/nRows = 5920
20 CsPadRaw/Hide = false
21 
22 
23 ;------- offset, noise and mask -------------
24 
25 [Processor]
26 ;-- collect images when shutter is closed
27 CsPadDarkCal/ID = 330
28 CsPadDarkCal/RawImage = CsPadRaw
29 ;CsPadDarkCal/ConditionName = FELOff
30 ;CsPadDarkCal/ConditionName = IsDark
31 CsPadDarkCal/ConditionName = DefaultFalseHist
32 CsPadDarkCal/Train = false
33 ;CsPadDarkCal/Train = true
34 CsPadDarkCal/InputFilename = darkcal_7.lnk
35 ;CsPadDarkCal/OutputFilename = darkcal_7.lnk
36 CsPadDarkCal/WriteCal = true
37 CsPadDarkCal/NbrTrainingImages = 200
38 CsPadDarkCal/SNR = 4
39 ;CsPadDarkCal/SNRNoiseAutoBoundaries = 4
40 ;CsPadDarkCal/SNRNoiseAutoBoundariesStat = 4
41 CsPadDarkCal/SNRNoiseAutoBoundaries = -1
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
53 ;-- get the offset map
54 OffsetMap/ID = 70
55 OffsetMap/HistName = CsPadDarkCal
56 OffsetMap/XLow = 0
57 OffsetMap/XUp = 387
58 OffsetMap/YLow = 0
59 OffsetMap/YUp = 5919
60 OffsetMap/Hide = true
61 ;-- to cheetah layout
62 OffsetMapCheetah/ID = 1600
63 OffsetMapCheetah/HistName = OffsetMap
64 OffsetMapCheetah/Hide = false
65 ;-- histogram of the offset values
66 OffsetMapHist/ID = 60
67 OffsetMapHist/HistName = OffsetMap
68 OffsetMapHist/XNbrBins = 1000
69 OffsetMapHist/XLow = -100
70 OffsetMapHist/XUp = 2500
71 OffsetMapHist/XTitle = OffsetValues [adu]
72 OffsetMapHist/Hide = false
73 ;-- get the noise map
74 NoiseMap/ID = 70
75 NoiseMap/HistName = CsPadDarkCal
76 NoiseMap/XLow = 0
77 NoiseMap/XUp = 387
78 NoiseMap/YLow = 5920
79 NoiseMap/YUp = 11839
80 NoiseMap/Hide = true
81 ;-- to cheetah layout
82 NoiseMapCheetah/ID = 1600
83 NoiseMapCheetah/HistName = NoiseMap
84 NoiseMapCheetah/Hide = false
85 ;-- histogram of the noise values
86 NoiseMapHist/ID = 60
87 NoiseMapHist/HistName = NoiseMap
88 NoiseMapHist/XNbrBins = 10000
89 NoiseMapHist/XLow = 0
90 NoiseMapHist/XUp = 500
91 NoiseMapHist/XTitle = NoiseValues [adu]
92 NoiseMapHist/Hide = false
93 ;-- get the bad pixel map
94 BadPixMap/ID = 70
95 BadPixMap/HistName = CsPadDarkCal
96 BadPixMap/XLow = 0
97 BadPixMap/XUp = 387
98 BadPixMap/YLow = 17760
99 BadPixMap/YUp = 23679
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
106 GainMap/ID = 302
107 ;GainMap/BinaryFile = /reg/neh/operator/cxiopr/2014/cxie9214/gain-center.cal
108 GainMap/BinaryFile = /lfs/l6/ullrch/foucar/analysis/cxig0715/gain-off.cal
109 GainMap/SizeX = 388
110 GainMap/SizeY = 5920
111 GainMap/Hide = true
112 ;-- to cheetah layout
113 GainMapCheetah/ID = 1600
114 GainMapCheetah/HistName = GainMap
115 GainMapCheetah/Hide = false
116 
117 
118 ;---- treat the raw image of the cspad -----
119 
120 [Processor]
121 ; generate offset corrected image
122 CsPadOffsetCorrected/ID = 1
123 CsPadOffsetCorrected/HistOne = CsPadRaw
124 CsPadOffsetCorrected/HistTwo = OffsetMap
125 CsPadOffsetCorrected/Operation = "-"
126 CsPadOffsetCorrected/Hide = true
127 ;-- mask the bad pixels of the detector
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
136 CsPad/ID = 1
137 CsPad/HistOne = CsPadOffsetCorrectedMasked
138 CsPad/HistTwo = GainMap
139 CsPad/Operation = "*"
140 CsPad/Hide = true
141 ;-- to cheetah layout
142 CsPadCheetah/ID = 1600
143 CsPadCheetah/HistName = CsPad
144 CsPadCheetah/Hide = false
145 
146 
147 
148 
149 
150 
151 
152 ;------------- definitions of when a hit is found------------------
153 
154 
155 ; find nbr of bragg peaks by taking background with pixels that are free of
156 ; outliers
157 [Processor]
158 BraggPeakTableNoOutliers/ID = 208
159 BraggPeakTableNoOutliers/HistName = CsPadOffsetCorrectedMasked
160 BraggPeakTableNoOutliers/SectionSizeX = 194
161 BraggPeakTableNoOutliers/SectionSizeY = 185
162 BraggPeakTableNoOutliers/BoxSizeX = 5
163 BraggPeakTableNoOutliers/BoxSizeY = 5
164 BraggPeakTableNoOutliers/Threshold = 400
165 BraggPeakTableNoOutliers/MinSignalToNoiseRatio = 3
166 BraggPeakTableNoOutliers/MinNbrPixels = 2
167 ;BraggPeakTableNoOutliers/GeometryFilename = /path/to/cspad.geom
168 BraggPeakTableNoOutliers/ConvertCheetahToCASSLayout = true
169 ;BraggPeakTableNoOutliers/Wavelength_A = 1.8068
170 ;BraggPeakTableNoOutliers/DetectorDistance_m = 90e-3
171 BraggPeakTableNoOutliers/Wavelength_A = photon_wavelength_A
172 BraggPeakTableNoOutliers/DetectorDistance_m = detectordistance_m
173 BraggPeakTableNoOutliers/PixelSize_m = 109.92e-6
174 BraggPeakTableNoOutliers/Hide = true
175 ;--
176 nBraggPeaksNoOutliers/ID = 88
177 nBraggPeaksNoOutliers/HistName = BraggPeakTableNoOutliers
178 nBraggPeaksNoOutliers/AxisParameter = YNbrBins
179 nBraggPeaksNoOutliers/Hide = true
180 ;--
181 BraggPeakNoOutliersHitfinder/ID = 9
182 BraggPeakNoOutliersHitfinder/HistName = nBraggPeaksNoOutliers
183 BraggPeakNoOutliersHitfinder/UpperLimit = 1e20
184 BraggPeakNoOutliersHitfinder/LowerLimit = 10
185 BraggPeakNoOutliersHitfinder/Hide = true
186 ;--
187 [Processor] ; pp for monitoring
188 SubsetBraggPeakTable/ID = 73
189 SubsetBraggPeakTable/TableName = BraggPeakTableNoOutliers
190 SubsetBraggPeakTable/ColumnIndex = 9
191 SubsetBraggPeakTable/UpperBound = 1e20
192 SubsetBraggPeakTable/LowerBound = 00
193 SubsetBraggPeakTable/Hide = true
194 ;--
195 nSubsetBraggPeaks/ID = 88
196 nSubsetBraggPeaks/HistName = SubsetBraggPeakTable
197 nSubsetBraggPeaks/AxisParameter = YNbrBins
198 nSubsetBraggPeaks/Hide = false
199 ;--
200 SubsetBraggPeakHitfinder/ID = 9
201 SubsetBraggPeakHitfinder/HistName = nSubsetBraggPeaks
202 SubsetBraggPeakHitfinder/UpperLimit = 1e20
203 SubsetBraggPeakHitfinder/LowerLimit = 0
204 SubsetBraggPeakHitfinder/Hide = true
205 ;--
206 InfoImageNotRotated/ID = 205
207 InfoImageNotRotated/ConditionName = SubsetBraggPeakHitfinder
208 InfoImageNotRotated/HistName = CsPad
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
218 ;--
219 InfoImageCheetah/ID = 1600
220 InfoImageCheetah/ConditionName = SubsetBraggPeakHitfinder
221 InfoImageCheetah/HistName = InfoImageNotRotated
222 InfoImageCheetah/Hide = false
223 ;--
224 [;Processor] ; even more monitoring
225 MaxADUColumn/ID = 72
226 MaxADUColumn/ConditionName = SubsetBraggPeakHitfinder
227 MaxADUColumn/TableName = SubsetBraggPeakTable
228 MaxADUColumn/ColumnIndex = 12
229 MaxADUColumn/Hide = true
230 MaxADUHistory/ID = 64
231 MaxADUHistory/ConditionName = SubsetBraggPeakHitfinder
232 MaxADUHistory/HistName = MaxADUColumn
233 MaxADUHistory/Size = 6000
234 MaxADUHistory/Hide = false
235 ;--
236 SNRColumn/ID = 72
237 SNRColumn/ConditionName = SubsetBraggPeakHitfinder
238 SNRColumn/TableName = SubsetBraggPeakTable
239 SNRColumn/ColumnIndex = 4
240 SNRColumn/Hide = true
241 SNRHistory/ID = 64
242 SNRHistory/ConditionName = SubsetBraggPeakHitfinder
243 SNRHistory/HistName = SNRColumn
244 SNRHistory/Size = 6000
245 SNRHistory/Hide = false
246 ;--
247 nOutlierColumn/ID = 72
248 nOutlierColumn/ConditionName = SubsetBraggPeakHitfinder
249 nOutlierColumn/TableName = SubsetBraggPeakTable
250 nOutlierColumn/ColumnIndex = 13
251 nOutlierColumn/Hide = true
252 nOutlierHistory/ID = 64
253 nOutlierHistory/ConditionName = SubsetBraggPeakHitfinder
254 nOutlierHistory/HistName = nOutlierColumn
255 nOutlierHistory/Size = 6000
256 nOutlierHistory/Hide = false
257 ;--
258 nPixColumn/ID = 72
259 nPixColumn/ConditionName = SubsetBraggPeakHitfinder
260 nPixColumn/TableName = SubsetBraggPeakTable
261 nPixColumn/ColumnIndex = 3
262 nPixColumn/Hide = true
263 nPixHistory/ID = 64
264 nPixHistory/ConditionName = SubsetBraggPeakHitfinder
265 nPixHistory/HistName = nPixColumn
266 nPixHistory/Size = 6000
267 nPixHistory/Hide = false
268 ;--
269 stdvColumn/ID = 72
270 stdvColumn/ConditionName = SubsetBraggPeakHitfinder
271 stdvColumn/TableName = SubsetBraggPeakTable
272 stdvColumn/ColumnIndex = 9
273 stdvColumn/Hide = true
274 stdvHistory/ID = 64
275 stdvHistory/ConditionName = SubsetBraggPeakHitfinder
276 stdvHistory/HistName = stdvColumn
277 stdvHistory/Size = 6000
278 stdvHistory/Hide = false
279 ;--
280 meanColumn/ID = 72
281 meanColumn/ConditionName = SubsetBraggPeakHitfinder
282 meanColumn/TableName = SubsetBraggPeakTable
283 meanColumn/ColumnIndex = 8
284 meanColumn/Hide = true
285 meanHistory/ID = 64
286 meanHistory/ConditionName = SubsetBraggPeakHitfinder
287 meanHistory/HistName = meanColumn
288 meanHistory/Size = 6000
289 meanHistory/Hide = false
290 
291 
292 
293 ; define which of the hitfinders defined above will be used as hit
294 ; identification for the later Processors by ANDing this with
295 ; true. Then one can use the IsHit Processor later on, by only
296 ; here which condition to use. Also define when it was not a hit.
297 [Processor]
298 IsHit/ID = 1
299 IsHit/HistOne = DefaultTrueHist
300 IsHit/HistTwo = BraggPeakNoOutliersHitfinder
301 IsHit/Operation = "AND"
302 IsHit/Hide = true
303 ;-- invert to get no hits
304 IsNotHit/ID = 4
305 IsNotHit/HistName = IsHit
306 IsNotHit/Hide = true
307 
308 
309 
310 
311 ; ---------- definition of acutal light in the chamber ---------
312 
313 ; check if FEL is off by checking for 'bykick' which is eventid 162
314 ; bykick kicks the electron beam before it goes into the undulator, therefore
315 ; no FEL light can be generated
316 [Processor]
317 FELOff/ID = 121
318 FELOff/EventCode = 162
319 FELOff/Hide = true
320 ;-- invert the condition
321 FELOn/ID = 4
322 FELOn/HistName = FELOff
323 FELOn/Hide = true
324 ;-- make a history of the FEL off value
325 FELOffHistory/ID = 64
326 FELOffHistory/HistName = FELOff
327 FELOffHistory/Size = 2400
328 FELOffHistory/Hide = false
329 
330 ; check if there is some light in the chamber based upon the GMD value
331 ; which is defined below in the additional info section
332 [Processor]
333 IsLight/ID = 9
334 IsLight/HistName = f_11_ENRC
335 IsLight/UpperLimit = 1e20
336 IsLight/LowerLimit = 0.05
337 IsLight/Hide = true
338 
339 
340 
341 
342 ; ---------------Hitrate-------------------------
343 
344 [Processor]
345 ; Average out the iShit status to get the avererage hits
346 ; but only when there is light
347 HitRate/ID = 61
348 HitRate/HistName = IsHit
349 HitRate/ConditionName = IsLight
350 HitRate/NbrOfAverages = 600
351 HitRate/Hide = true
352 ;-- make a history of that value
353 HitRateHistory/ID = 64
354 HitRateHistory/HistName = HitRate
355 HitRateHistory/ConditionName = IsLight
356 HitRateHistory/Size = 2400
357 HitRateHistory/Hide = false
358 
359 
360 
361 
362 
363 
364 ;-------checks-------------
365 
367 [Processor]
368 ; generate a sublist of the list with all identified bragg spots
369 ; that contains only entries with saturated pixels
370 SaturatedPeaksTable/ID = 73
371 SaturatedPeaksTable/ConditionName = IsHit
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
379 nSaturatedPeaks/ConditionName = IsHit
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
385 SaturatedRatio/ConditionName = IsHit
386 SaturatedRatio/HistOne = nSaturatedPeaks
387 SaturatedRatio/HistTwo = nBraggPeaksNoOutliers
388 SaturatedRatio/Operation = "/"
389 SaturatedRatio/Hide = true
390 ;-- histogram the ratio
391 SaturatedRatioHist/ID = 60
392 SaturatedRatioHist/ConditionName = IsHit
393 SaturatedRatioHist/HistName = SaturatedRatio
394 SaturatedRatioHist/XNbrBins = 100
395 SaturatedRatioHist/XLow = 0
396 SaturatedRatioHist/XUp = 1
397 SaturatedRatioHist/XTitle = ratio of saturated to all
398 SaturatedRatioHist/Hide = true
399 ;-- average the histogram
400 SaturatedRatioHistAve/ID = 61
401 SaturatedRatioHistAve/ConditionName = IsHit
402 SaturatedRatioHistAve/HistName = SaturatedRatioHist
403 SaturatedRatioHistAve/NbrOfAverages = 240
404 SaturatedRatioHistAve/Hide = false
405 ;-- sum the histogram
406 SaturatedRatioHistSum/ID = 62
407 SaturatedRatioHistSum/ConditionName = IsHit
408 SaturatedRatioHistSum/HistName = SaturatedRatioHist
409 SaturatedRatioHistSum/Hide = false
410 
411 
412 
413 
414 
415 
416 
417 ;--------- things done with raw image when there is a hit-------------------
418 
419 [Processor]
420 ;-- the cspad only when there is a hit
421 CsPadCheetahIsHit/ID = 13
422 CsPadCheetahIsHit/HistName = CsPadCheetah
423 CsPadCheetahIsHit/ConditionName = IsHit
424 CsPadCheetahIsHit/Hide = false
425 ;-- sum up the cheetah layout image
426 CsPadCheetahSum/ID = 62
427 CsPadCheetahSum/HistName = CsPadCheetah
428 CsPadCheetahSum/ConditionName = IsHit
429 CsPadCheetahSum/Hide = false
430 [Processor]
431 ;-- create image containing the centroided bragg peaks from table
432 CsPadCleardCentroid/ID = 207
433 CsPadCleardCentroid/ConditionName = IsHit
434 CsPadCleardCentroid/Table = BraggPeakTableNoOutliers
435 CsPadCleardCentroid/ColumnIndex = 1
436 CsPadCleardCentroid/RowIndex = 2
437 CsPadCleardCentroid/ValIndex = 0
438 CsPadCleardCentroid/XNbrBins = 388
439 CsPadCleardCentroid/XLow = 0
440 CsPadCleardCentroid/XUp = 388
441 CsPadCleardCentroid/XTitle = columns
442 CsPadCleardCentroid/YNbrBins = 5920
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
450 CsPadCleardCentroidCheetah/ConditionName = IsHit
451 CsPadCleardCentroidCheetah/Hide = true
452 ;-- sum of centroided cheetah image
453 CsPadCleardCentroidCheetahSum/ID = 62
454 CsPadCleardCentroidCheetahSum/HistName = CsPadCleardCentroidCheetah
455 CsPadCleardCentroidCheetahSum/ConditionName = IsHit
456 CsPadCleardCentroidCheetahSum/Hide = true
457 [Processor]
458 ;-- average of centroided lab image
459 CsPadCleardCentroidCheetahAve/ID = 61
460 CsPadCleardCentroidCheetahAve/HistName = CsPadCleardCentroidCheetah
461 CsPadCleardCentroidCheetahAve/ConditionName = IsHit
462 CsPadCleardCentroidCheetahAve/NbrOfAverages = 0
463 CsPadCleardCentroidCheetahAve/Hide = false
464 
465 
466 
467 
468 
469 
470 ;------------- Fluorescence stuff-----------------
471 
472 
473 ; The fluorescence detector image
474 [Processor]
475 CsPad2x2Raw/ID = 109
476 CsPad2x2Raw/CASSID = 12
477 CsPad2x2Raw/nCols = 388
478 CsPad2x2Raw/nRows = 370
479 CsPad2x2Raw/Hide = false
480 
481 
482 
483 [Processor]
484 ;-- collect images when shutter is closed
485 CsPad2x2DarkCal/ID = 330
486 CsPad2x2DarkCal/RawImage = CsPad2x2Raw
487 ;CsPad2x2DarkCal/ConditionName = FELOff
488 ;CsPad2x2DarkCal/ConditionName = IsDark
489 CsPad2x2DarkCal/ConditionName = DefaultFalseHist
490 CsPad2x2DarkCal/Train = false
491 ;CsPad2x2DarkCal/Train = true
492 CsPad2x2DarkCal/InputFilename = darkcal_12.lnk
493 ;CsPad2x2DarkCal/OutputFilename = darkcal_12.lnk
494 CsPad2x2DarkCal/WriteCal = true
495 CsPad2x2DarkCal/NbrTrainingImages = 200
496 CsPad2x2DarkCal/SNR = 4
497 ;CsPad2x2DarkCal/SNRNoiseAutoBoundaries = 4
498 ;CsPad2x2DarkCal/SNRNoiseAutoBoundariesStat = 4
499 CsPad2x2DarkCal/SNRNoiseAutoBoundaries = -1
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
511 ;-- get the offset map
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
519 ;-- histogram of the offset values
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
527 ;-- get the noise map
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
543 ;-- get the bad pixel map
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
551 
552 
553 
554 ; treat the raw image of the cspad -----
555 [Processor]
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
574 ;-- mask the bad pixels of the detector
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
582 ;-- average of calibrated image
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
588 CsPad2x2SNR/ID = 1
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
596 CsPad2x2SNRHist/XNbrBins = 4000
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
610 FSpectrum/ID = 50
611 FSpectrum/HistName = CsPad2x2LightPixels
612 FSpectrum/LowerBound = 335
613 FSpectrum/UpperBound = 350
614 FSpectrum/Axis = 0
615 FSpectrum/Hide = true
616 ;-- sum spectrum
617 FSpectrumSum/ID = 62
618 FSpectrumSum/HistName = FSpectrum
619 ;FSpectrumSum/ConditionName = IsHit
620 FSpectrumSum/Hide = false
621 ;-- average of spectrum
622 FSpectrumAve/ID = 61
623 FSpectrumAve/HistName = FSpectrum
624 ;FSpectrumAve/ConditionName = IsHit
625 FSpectrumAve/NbrOfAverages = 200
626 FSpectrumAve/Hide = false
627 
628 
629 
630 [;Processor]
631 ;-- subset the corrected 2x2 detector with only the region that contains the spectral data
632 CsPad2x2Sub/ID = 70
633 CsPad2x2Sub/HistName = CsPad2x2OffsetAndCommonModeCorrectedAndMasked
634 CsPad2x2Sub/XLow = 0
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
652 
653 
654 
655 
656 
657 
658 
659 ;------------FEE Spectrometer----------
660 
661 ; the spectrometer data
662 [Processor]
663 FEESpec/ID = 123
664 FEESpec/SpectrometerName = FEE-SPEC0_horiz
665 FEESpec/Size = 2050
666 FEESpec/Hide = false
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
673 
674 
675 
676 
677 
678 
679 
680 ;--------------statistics-------------------------
681 
682 ; the total number of triggers that were in the files processed
683 [Processor]
684 nTrigger/ID = 78
685 nTrigger/Hide = true
686 
687 ; the number of triggers that contained light (shots)
688 [Processor]
689 nShots/ID = 78
690 nShots/ConditionName = IsLight
691 nShots/Hide = true
692 
693 ; the number of identified hits
694 [Processor]
695 nHits/ID = 78
696 nHits/ConditionName = IsHit
697 nHits/Hide = true
698 
699 
700 ;--------------additional info-------------------------
701 
702 ; photon energy and wavelength
703 [Processor]
704 photon_energy_eV/ID = 120
705 photon_energy_eV/VariableName = "EbeamPhotonEnergy"
706 photon_energy_eV/Hide = false
707 ;--
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
714 
715 ; detector z position
716 [Processor]
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
734 
735 ; GMD Values
736 [Processor]
737 f_11_ENRC/ID = 120
738 f_11_ENRC/VariableName = "f_11_ENRC"
739 f_11_ENRC/Hide = true
740 ;--
741 f_12_ENRC/ID = 120
742 f_12_ENRC/VariableName = "f_12_ENRC"
743 f_12_ENRC/Hide = true
744 ;--
745 f_21_ENRC/ID = 120
746 f_21_ENRC/VariableName = "f_21_ENRC"
747 f_21_ENRC/Hide = true
748 ;--
749 f_22_ENRC/ID = 120
750 f_22_ENRC/VariableName = "f_22_ENRC"
751 f_22_ENRC/Hide = true
752 ;--
753 f_63_ENRC/ID = 120
754 f_63_ENRC/VariableName = "f_63_ENRC"
755 f_63_ENRC/Hide = true
756 ;--
757 f_64_ENRC/ID = 120
758 f_64_ENRC/VariableName = "f_64_ENRC"
759 f_64_ENRC/Hide = true
760 
761 ; EBeam Parameters
762 [Processor]
763 EBeamCharge/ID = 120
764 EBeamCharge/VariableName = "EBeamCharge"
765 EBeamCharge/Hide = true
766 ;--
767 EbeamPkCurrBC2/ID = 120
768 EbeamPkCurrBC2/VariableName = "EbeamPkCurrBC2"
769 EbeamPkCurrBC2/Hide = true
770 ;--
771 EbeamXTCAVAmpl/ID = 120
772 EbeamXTCAVAmpl/VariableName = "EbeamXTCAVAmpl"
773 EbeamXTCAVAmpl/Hide = true
774 ;--
775 EbeamXTCAVPhase/ID = 120
776 EbeamXTCAVPhase/VariableName = "EbeamXTCAVPhase"
777 EbeamXTCAVPhase/Hide = true
778 ;--
779 EbeamDumpCharge/ID = 120
780 EbeamDumpCharge/VariableName = "EbeamDumpCharge"
781 EbeamDumpCharge/Hide = true
782 ;--
783 EbeamUndPosX/ID = 120
784 EbeamUndPosX/VariableName = "EbeamUndPosX"
785 EbeamUndPosX/Hide = true
786 ;--
787 EbeamUndPosY/ID = 120
788 EbeamUndPosY/VariableName = "EbeamUndPosY"
789 EbeamUndPosY/Hide = true
790 ;--
791 EbeamUndAngX/ID = 120
792 EbeamUndAngX/VariableName = "EbeamUndAngX"
793 EbeamUndAngX/Hide = true
794 ;--
795 EbeamUndAngY/ID = 120
796 EbeamUndAngY/VariableName = "EbeamUndAngY"
797 EbeamUndAngY/Hide = true
798 ;--
799 EbeamPkCurrBC1/ID = 120
800 EbeamPkCurrBC1/VariableName = "EbeamPkCurrBC1"
801 EbeamPkCurrBC1/Hide = true
802 ;--
803 fEbeamEnergyBC1/ID = 120
804 fEbeamEnergyBC1/VariableName = "fEbeamEnergyBC1"
805 fEbeamEnergyBC1/Hide = true
806 ;--
807 EbeamEnergyBC2/ID = 120
808 EbeamEnergyBC2/VariableName = "EbeamEnergyBC2"
809 EbeamEnergyBC2/Hide = true
810 ;--
811 EbeamL3Energy/ID = 120
812 EbeamL3Energy/VariableName = "EbeamL3Energy"
813 EbeamL3Energy/Hide = true
814 ;--
815 EbeamLTUAngX/ID = 120
816 EbeamLTUAngX/VariableName = "EbeamLTUAngX"
817 EbeamLTUAngX/Hide = true
818 ;--
819 EbeamLTUAngY/ID = 120
820 EbeamLTUAngY/VariableName = "EbeamLTUAngY"
821 EbeamLTUAngY/Hide = true
822 ;--
823 EbeamLTUPosX/ID = 120
824 EbeamLTUPosX/VariableName = "EbeamLTUPosX"
825 EbeamLTUPosX/Hide = true
826 ;--
827 EbeamLTUPosY/ID = 120
828 EbeamLTUPosY/VariableName = "EbeamLTUPosY"
829 EbeamLTUPosY/Hide = true
830 
831 
832 
833 
834 ; ------------things written to h5 files----------------------
835 
836 ; things written in each h5 thats a hit
837 [Processor]
838 H5Dump/ID = 1002
839 H5Dump/CompressLevel = 0
840 H5Dump/ConditionName = IsHit
841 H5Dump/FileBaseName = hdf5Outfilename
842 H5Dump/MaximumNbrFilesPerDir = 500
843 
844 H5Dump/Processor/size = 200
845 ;--
846 H5Dump/Processor/1/Name = CsPadCheetah
847 H5Dump/Processor/1/GroupName = /data
848 H5Dump/Processor/1/ValName = data
849 ;--
850 H5Dump/Processor/10/Name = photon_energy_eV
851 H5Dump/Processor/10/GroupName = /LCLS
852 ;--
853 H5Dump/Processor/11/Name = photon_wavelength_A
854 H5Dump/Processor/11/GroupName = /LCLS
855 ;--
856 H5Dump/Processor/12/Name = detector_encoder
857 H5Dump/Processor/12/GroupName = /LCLS
858 ;--
859 H5Dump/Processor/13/Name = detectordistance_mm
860 H5Dump/Processor/13/GroupName = /LCLS
861 ;--
862 H5Dump/Processor/14/Name = detectordistance_m
863 H5Dump/Processor/14/GroupName = /LCLS
864 ;--
865 H5Dump/Processor/15/Name = f_11_ENRC
866 H5Dump/Processor/15/GroupName = /LCLS
867 ;--
868 H5Dump/Processor/16/Name = f_12_ENRC
869 H5Dump/Processor/16/GroupName = /LCLS
870 ;--
871 H5Dump/Processor/17/Name = f_21_ENRC
872 H5Dump/Processor/17/GroupName = /LCLS
873 ;--
874 H5Dump/Processor/18/Name = f_22_ENRC
875 H5Dump/Processor/18/GroupName = /LCLS
876 ;--
877 H5Dump/Processor/19/Name = f_63_ENRC
878 H5Dump/Processor/19/GroupName = /LCLS
879 ;--
880 H5Dump/Processor/20/Name = f_64_ENRC
881 H5Dump/Processor/20/GroupName = /LCLS
882 ;--
883 H5Dump/Processor/21/Name = EBeamCharge
884 H5Dump/Processor/21/GroupName = /LCLS
885 ;--
886 H5Dump/Processor/22/Name = EbeamPkCurrBC2
887 H5Dump/Processor/22/GroupName = /LCLS
888 ;--
889 H5Dump/Processor/23/Name = EbeamXTCAVAmpl
890 H5Dump/Processor/23/GroupName = /LCLS
891 ;--
892 H5Dump/Processor/24/Name = EbeamXTCAVPhase
893 H5Dump/Processor/24/GroupName = /LCLS
894 ;--
895 H5Dump/Processor/25/Name = EbeamDumpCharge
896 H5Dump/Processor/25/GroupName = /LCLS
897 ;--
898 H5Dump/Processor/26/Name = EbeamUndPosX
899 H5Dump/Processor/26/GroupName = /LCLS
900 ;--
901 H5Dump/Processor/27/Name = EbeamUndPosY
902 H5Dump/Processor/27/GroupName = /LCLS
903 ;--
904 H5Dump/Processor/28/Name = EbeamUndAngX
905 H5Dump/Processor/28/GroupName = /LCLS
906 ;--
907 H5Dump/Processor/29/Name = EbeamUndAngY
908 H5Dump/Processor/29/GroupName = /LCLS
909 ;--
910 H5Dump/Processor/30/Name = EbeamPkCurrBC1
911 H5Dump/Processor/30/GroupName = /LCLS
912 ;--
913 H5Dump/Processor/31/Name = fEbeamEnergyBC1
914 H5Dump/Processor/31/GroupName = /LCLS
915 ;--
916 H5Dump/Processor/32/Name = EbeamEnergyBC2
917 H5Dump/Processor/32/GroupName = /LCLS
918 ;--
919 H5Dump/Processor/33/Name = EbeamL3Energy
920 H5Dump/Processor/33/GroupName = /LCLS
921 ;--
922 H5Dump/Processor/34/Name = EbeamLTUAngX
923 H5Dump/Processor/34/GroupName = /LCLS
924 ;--
925 H5Dump/Processor/35/Name = EbeamLTUAngY
926 H5Dump/Processor/35/GroupName = /LCLS
927 ;--
928 H5Dump/Processor/36/Name = EbeamLTUPosX
929 H5Dump/Processor/36/GroupName = /LCLS
930 ;--
931 H5Dump/Processor/37/Name = EbeamLTUPosY
932 H5Dump/Processor/37/GroupName = /LCLS
933 ;--
934 H5Dump/Processor/38/Name = FEESpec
935 H5Dump/Processor/38/GroupName = /LCLS
936 ;--
937 ;things written only at end of run
938 H5Dump/ProcessorSummary/size = 200
939 ;--
940 H5Dump/ProcessorSummary/1/Name = CsPadCheetahSum
941 H5Dump/ProcessorSummary/1/GroupName = /cheetah
942 H5Dump/ProcessorSummary/1/ValName = powder
943 ;--
944 H5Dump/ProcessorSummary/2/Name = CsPadCleardCentroidCheetahSum
945 H5Dump/ProcessorSummary/2/GroupName = /cheetah
946 H5Dump/ProcessorSummary/2/ValName = powderCentroidPix
947 ;--
948 ;--
949 H5Dump/ProcessorSummary/5/Name = nTrigger
950 H5Dump/ProcessorSummary/5/GroupName = /statistics
951 H5Dump/ProcessorSummary/5/ValName = NumberOfTriggers
952 ;--
953 H5Dump/ProcessorSummary/6/Name = nShots
954 H5Dump/ProcessorSummary/6/GroupName = /statistics
955 H5Dump/ProcessorSummary/6/ValName = NumberOfShots
956 ;--
957 H5Dump/ProcessorSummary/7/Name = nHits
958 H5Dump/ProcessorSummary/7/GroupName = /statistics
959 H5Dump/ProcessorSummary/7/ValName = NumberOfHits
960 ;--
961 ;--
962 ;H5Dump/ProcessorSummary/10/Name = FSpectrumSum
963 ;H5Dump/ProcessorSummary/10/GroupName = /Fluorescence
964 ;H5Dump/ProcessorSummary/10/ValName = Spectrum
965 ;;--
966 ;H5Dump/ProcessorSummary/11/Name = CsPad2x2SubPixelsHistSum
967 ;H5Dump/ProcessorSummary/11/GroupName = /Fluorescence
968 ;H5Dump/ProcessorSummary/11/ValName = PixelHistogram
969 ;--
970 ;--
971 H5Dump/ProcessorSummary/100/Name = OffsetMapCheetah
972 H5Dump/ProcessorSummary/100/GroupName = /Checks
973 H5Dump/ProcessorSummary/100/ValName = OffsetMap
974 ;--
975 H5Dump/ProcessorSummary/101/Name = OffsetMapHist
976 H5Dump/ProcessorSummary/101/GroupName = /Checks
977 H5Dump/ProcessorSummary/101/ValName = OffsetValuesHistogram
978 ;--
979 H5Dump/ProcessorSummary/102/Name = NoiseMapCheetah
980 H5Dump/ProcessorSummary/102/GroupName = /Checks
981 H5Dump/ProcessorSummary/102/ValName = NoiseMap
982 ;--
983 H5Dump/ProcessorSummary/103/Name = NoiseMapHist
984 H5Dump/ProcessorSummary/103/GroupName = /Checks
985 H5Dump/ProcessorSummary/103/ValName = NoiseValuesHistogram
986 ;--
987 H5Dump/ProcessorSummary/104/Name = BadPixMapCheetah
988 H5Dump/ProcessorSummary/104/GroupName = /Checks
989 H5Dump/ProcessorSummary/104/ValName = BadPixMap
990 ;--
991 H5Dump/ProcessorSummary/105/Name = GainMapCheetah
992 H5Dump/ProcessorSummary/105/GroupName = /Checks
993 H5Dump/ProcessorSummary/105/ValName = GainMap
994 ;--
995 ;--
996 H5Dump/ProcessorSummary/110/Name = SaturatedRatioHistSum
997 H5Dump/ProcessorSummary/110/GroupName = /Checks
998 H5Dump/ProcessorSummary/110/ValName = SaturationRatioHistogram
999 ;--
1000 ;--
1001 H5Dump/ProcessorSummary/120/Name = CsPad2x2OffsetMap
1002 H5Dump/ProcessorSummary/120/GroupName = /Checks_2x2
1003 H5Dump/ProcessorSummary/120/ValName = OffsetMap
1004 ;--
1005 H5Dump/ProcessorSummary/121/Name = CsPad2x2OffsetMapHist
1006 H5Dump/ProcessorSummary/121/GroupName = /Checks_2x2
1007 H5Dump/ProcessorSummary/121/ValName = OffsetValuesHistogram
1008 ;--
1009 H5Dump/ProcessorSummary/122/Name = CsPad2x2NoiseMap
1010 H5Dump/ProcessorSummary/122/GroupName = /Checks_2x2
1011 H5Dump/ProcessorSummary/122/ValName = NoiseMap
1012 ;--
1013 H5Dump/ProcessorSummary/123/Name = CsPad2x2NoiseMapHist
1014 H5Dump/ProcessorSummary/123/GroupName = /Checks_2x2
1015 H5Dump/ProcessorSummary/123/ValName = NoiseValuesHistogram
1016 ;--
1017 H5Dump/ProcessorSummary/124/Name = CsPad2x2BadPixMap
1018 H5Dump/ProcessorSummary/124/GroupName = /Checks_2x2
1019 H5Dump/ProcessorSummary/124/ValName = BadPixMap
1020 
1021 
1022 
1023 
1024 
1025 
1026 
1027 ;----------------- things written to CBF files ----------------------
1028 
1029 [;Processor]
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
1036 
1037 
1038 
1039 
1040 
1041 
1042 
1043 ;-------------------program control and setup----------------------
1044 
1045 ; only extract CsPad, other camera data and machine data from the stream
1046 [Converter]
1047 Used = pixeldetector,Machine
1048 LCLSPixelDetectors/size = 5
1049 ;-- CsPadImageData
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
1056 ;-- CsPadConfig
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
1063 
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
1071 
1072 
1073 ; what output level should be written into the log file
1074 [Log]
1075 MaxLoggingLevel = "INFO"
1076 ;MaxLoggingLevel = "DEBUG4"
1077 Directory = logfiledir
1078 Filename = logfilename.log
1079 
1080 ; the options for the input
1081 [FileInput]
1082 Parallelize=false
Electrons_ YUp
Definition: hdf5-input.ini:88
generate a sublist of the list with all identified bragg spots
FrontPnCCD CorrectionMaps Mask Radius
Electrons_ XUp
Definition: hdf5-input.ini:85
the raw images
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
GainMap BinaryFile
ETOF_1_vs_Delay_ YTitle
Definition: hdf5-input.ini:209
check if FEL is off by checking for bykick which is eventid
create the noise and bad pixel map[Processor]
including pump probe analysis
GeneratedMaps HistTwo
Definition: Darkcal.ini:78
BraggPeakTableNoOutliers DetectorDistance_m
hitfinding
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
Saturation[Processor]
Fluorescence stuff
substract the median of the integral from the integral and use
Electrons_ YLow
Definition: hdf5-input.ini:87
additional info
squaresize to check
Definition: hdf5-input.ini:48
Partially also the fluorescence analysis of the CsPad2x2 is implemented
Definition: CsPadCrystal.ini:5
front pnCCD LCLSPixelDetectors CASSID
the processors
Definition: CsPadCrystal.ini:6
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
Definition: CsPadCrystal.ini:2
x pixels CsPad2x2CommonModeMap Hide
definitions of when a hit is found
checks
the raw images tof traces
only extract CsPad
Electrons_ YNbrBins
Definition: hdf5-input.ini:86
noise and mask[Processor]
the number of triggers that contained light(shots)[Processor] nShots/ID
ETOF_1_vs_Delay_ XTitle
Definition: hdf5-input.ini:205
Processor
CsPadDarkCal SNRNoiseAutoBoundariesStat
simpleMoreOptions for box hitfinding E SimpleFinder Threshold
Definition: hdf5-input.ini:47
identification for the later Processors by ANDing this with
CsPadDarkCal OutputFilename
offset
GeneratedMaps HistOne
Definition: Darkcal.ini:77
Electrons_ XNbrBins
Definition: hdf5-input.ini:83
bykick kicks the electron beam before it goes into the therefore
CsPadDarkCal Train
Electron detector
Definition: hdf5-input.ini:62
int16_t pixel
define a pixel
Definition: hlltypes.hpp:27
Electrons_ XLow
Definition: hdf5-input.ini:84
check if there is some light in the chamber based upon the GMD value
Hitrate[Processor]
bykick kicks the electron beam before it goes into the undulator
CsPadDarkCal SNRNoiseAutoBoundaries
Electrons_raw HistName
Definition: hdf5-input.ini:69
and the shutter status[Processor]
set up how to create the noise