1 |
gvacanti |
1.1 |
# KEV_P_PI and KEV0 are the coefficients of the linear PI->keV relation |
2 |
|
|
# |
3 |
|
|
# keV = KEV_P_PI * PI + KEV0 |
4 |
|
|
|
5 |
|
|
attribute "KEV_P_PI" real 1 "slope for linear PI->keV conversion" "keV/chan" |
6 |
|
|
attribute "KEV0" real 1 "offset for linear PI->keV conversion" "keV/chan" |
7 |
|
|
|
8 |
|
|
table "ADUCOEFF" rows("@dataset@aduconv_qla.dat") "" |
9 |
|
|
< |
10 |
|
|
# QLA uses E = (PHA-OFFSET) * GAIN |
11 |
|
|
|
12 |
|
|
column "CCD_ID" int8 "CCD identifier" "" fillColumn(col, "@dataset@aduconv_qla.dat", 0) |
13 |
|
|
column "NODE_ID" int8 "CCD node identifier" "" fillColumn(col, "@dataset@aduconv_qla.dat", 1) |
14 |
|
|
column "OFFSET" real32 "ADC offset" "chan" fillColumn(col, "@dataset@aduconv_qla.dat", 2) |
15 |
|
|
column "GAIN" real32 "ADC gain" "eV/chan" fillColumn(col, "@dataset@aduconv_qla.dat", 3) |
16 |
|
|
|
17 |
|
|
> |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
table "OFFSET_GAIN" rows("@dataset@aduconv.dat") "" |
21 |
|
|
< |
22 |
|
|
# CAL uses E = (PHA-OFFSET) / GAIN" |
23 |
|
|
|
24 |
|
|
|
25 |
|
|
attribute "RAND_MIN" real 0 "lower limit for PHA randomization" "" |
26 |
|
|
attribute "RAND_MAX" real 1 "upper limit for PHA randomization" "" |
27 |
|
|
|
28 |
|
|
# Charge split ratios are used according to |
29 |
|
|
# REJ_THRESH(GRADE,NODE) = REJTHRESH(NODE) / QSPLITR(GRADE-1) |
30 |
|
|
# ACC_THRESH(GRADE,NODE) = ACCTHRESH(NODE) / QSPLITR(GRADE-1) |
31 |
|
|
|
32 |
|
|
attribute "QSPLITR2" real 1 "charge split rato for two pixel events" "" |
33 |
|
|
attribute "QSPLITR3" real 1 "charge split rato three two pixel events" "" |
34 |
|
|
attribute "QSPLITR4" real 1 "charge split rato four two pixel events" "" |
35 |
|
|
|
36 |
|
|
column "CCD_ID" int8 "CCD identifier" "" fillColumn(col, "@dataset@aduconv.dat", 0) |
37 |
|
|
|
38 |
|
|
column(2) "OFFSET" real32 "Offset" "chan" fillColumn(col, "@dataset@aduconv.dat", 1, ":") |
39 |
|
|
column(2) "OFFSET_ERROR" real32 "Error of offset" "chan" fillColumn(col, "@dataset@aduconv.dat", 2, ":") |
40 |
|
|
|
41 |
|
|
column(2) "GAIN" real32 "Gain" "chan/eV" fillColumn(col, "@dataset@aduconv.dat", 3, ":") |
42 |
|
|
column(2) "GAIN_ERROR" real32 "Error of gain" "chan/eV" fillColumn(col, "@dataset@aduconv.dat", 4, ":") |
43 |
|
|
|
44 |
|
|
column(2) "REJTHRESH" real32 "Rejection threshold" "chan" fillColumn(col, "@dataset@aduconv.dat", 5, ":") |
45 |
|
|
column(2) "ACCTHRESH" real32 "Acceptance threshold" "chan" fillColumn(col, "@dataset@aduconv.dat", 6, ":") |
46 |
|
|
> |