1 | #ifndef MARS_MCalibrationConfig
|
---|
2 | #define MARS_MCalibrationConfig
|
---|
3 |
|
---|
4 | /////////////////////////////////////////////////////////////////////////////
|
---|
5 | //
|
---|
6 | // MCalibrationConfig
|
---|
7 | //
|
---|
8 | // Contains all configuration data of the Calibration
|
---|
9 | //
|
---|
10 | // This file is only TEMPORARY. It values will go into the DATABASE
|
---|
11 | //
|
---|
12 | /////////////////////////////////////////////////////////////////////////////
|
---|
13 |
|
---|
14 |
|
---|
15 | // The highest value of the High Gain in the linear regime
|
---|
16 | const Byte_t gkSaturationLimit = 250;
|
---|
17 |
|
---|
18 | // The conversion factor between High Gain and Low Gain
|
---|
19 | const Float_t gkConversionHiLo = 10.;
|
---|
20 |
|
---|
21 | // The penalty constant to produce overflow in the histogram
|
---|
22 | const ULong_t gkLoGainOverFlow = 99999999;
|
---|
23 |
|
---|
24 | // ----- BLIND PIXEL ----------------------//
|
---|
25 |
|
---|
26 | // Pixel ID of the Calibration Blind Pixel
|
---|
27 | const UShort_t gkCalibrationBlindPixelId = 559;
|
---|
28 |
|
---|
29 | // Average QE of Blind Pixel (three colours)
|
---|
30 | const Float_t gkCalibrationBlindPixelQEGreen = 0.154;
|
---|
31 | const Float_t gkCalibrationBlindPixelQEBlue = 0.226;
|
---|
32 | const Float_t gkCalibrationBlindPixelQEUV = 0.247;
|
---|
33 | const Float_t gkCalibrationBlindPixelQECT1 = 0.247;
|
---|
34 |
|
---|
35 | // Attenuation factor Blind Pixel (three colours)
|
---|
36 | const Float_t gkCalibrationBlindPixelAttGreen = 1.97;
|
---|
37 | const Float_t gkCalibrationBlindPixelAttBlue = 1.96;
|
---|
38 | const Float_t gkCalibrationBlindPixelAttUV = 1.95;
|
---|
39 | const Float_t gkCalibrationBlindPixelAttCT1 = 1.95;
|
---|
40 |
|
---|
41 | //
|
---|
42 | // Area of Inner Pixel w.r.t. Blind Pixel (which is 1 cm²)
|
---|
43 | //
|
---|
44 | // Hexagone of diagonal axis b = 3.5 cm
|
---|
45 | // straight axis a = 3.0 cm +- 2%
|
---|
46 | // Area = sqrt(3)*a²/2 = 7.79 cm² +- 4% = 7.8 +- 0.3 cm²
|
---|
47 | //
|
---|
48 | const Float_t gkCalibrationInnerPixelArea = 7.8;
|
---|
49 | const Float_t gkCalibrationInnerPixelAreaError = 0.3;
|
---|
50 | //
|
---|
51 | // Area of Outer Pixel w.r.t. Inner Pixel
|
---|
52 | //
|
---|
53 | // Hexagone of diagonal axis b = 7.0 cm
|
---|
54 | // straight axis a = 6.0 cm +- 1%
|
---|
55 | // Area = sqrt(3)*a²/2 =
|
---|
56 | //
|
---|
57 | const Float_t gkCalibrationOutervsInnerPixelArea = 4.00;
|
---|
58 | const Float_t gkCalibrationOutervsInnerPixelAreaError = 0.00;
|
---|
59 |
|
---|
60 | // ----- PIN DIODE ------------------------//
|
---|
61 |
|
---|
62 | // Pixel ID of the Calibration PIN Diode
|
---|
63 | const UShort_t gkCalibrationPINDiodeId = 9999;
|
---|
64 |
|
---|
65 | //
|
---|
66 | // Area of Inner Pixel w.r.t. PIN Diode (which is 1 cm²)
|
---|
67 | //
|
---|
68 | // Hexagone of diagonal axis b = 3.5 cm
|
---|
69 | // straight axis a = 3.0 cm +- 2%
|
---|
70 | // Area = sqrt(3)*a²/2 = 7.79 cm² +- 4% = 7.8 +- 0.3 cm²
|
---|
71 | //
|
---|
72 | // Distance of PIN Diode to pulser D1: 1.5 +- 0.3 m
|
---|
73 | // Distance of Inner Pixel to pulser D2: 18.0 +- 0.5 m
|
---|
74 | //
|
---|
75 | //
|
---|
76 | // A(Inner Pixel) D1²
|
---|
77 | // conversion C = -------------- * ----- = 0.054
|
---|
78 | // A(PIN Diode) D2²
|
---|
79 | //
|
---|
80 | // Delta C / C = sqrt((Delta A(IP)/A(IP))² + 4 * ( (Delta D1/D1)² + (Delta D2/D2)² )
|
---|
81 | // Delta C / C = 0.4
|
---|
82 | //
|
---|
83 | // C = 0.05 +- 0.02
|
---|
84 | //
|
---|
85 | const Float_t gkCalibrationInnerPixelvsPINDiodeArea = 0.05;
|
---|
86 | const Float_t gkCalibrationInnerPixelvsPINDiodeAreaError = 0.02;
|
---|
87 |
|
---|
88 | // Average QE of the PIN Diode
|
---|
89 | const Float_t gkCalibrationPINDiodeQEGreen = -1.0;
|
---|
90 | const Float_t gkCalibrationPINDiodeQEBlue = -1.0;
|
---|
91 | const Float_t gkCalibrationPINDiodeQEUV = -1.0;
|
---|
92 | const Float_t gkCalibrationPINDiodeQECT1 = -1.0;
|
---|
93 |
|
---|
94 |
|
---|
95 | #endif /* MARS_MCalibrationConfig */
|
---|