source: trunk/MagicSoft/Mars/manalysis/MCalibrationConfig.h@ 2692

Last change on this file since 2692 was 2679, checked in by gaug, 21 years ago
*** empty log message ***
File size: 3.2 KB
Line 
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
16const Byte_t gkSaturationLimit = 250;
17
18// The conversion factor between High Gain and Low Gain
19const Float_t gkConversionHiLo = 10.;
20
21// The penalty constant to produce overflow in the histogram
22const ULong_t gkLoGainOverFlow = 99999999;
23
24// ----- BLIND PIXEL ----------------------//
25
26// Pixel ID of the Calibration Blind Pixel
27const UShort_t gkCalibrationBlindPixelId = 559;
28
29// Average QE of Blind Pixel (three colours)
30const Float_t gkCalibrationBlindPixelQEGreen = 0.154;
31const Float_t gkCalibrationBlindPixelQEBlue = 0.226;
32const Float_t gkCalibrationBlindPixelQEUV = 0.247;
33const Float_t gkCalibrationBlindPixelQECT1 = 0.247;
34
35// Attenuation factor Blind Pixel (three colours)
36const Float_t gkCalibrationBlindPixelAttGreen = 1.97;
37const Float_t gkCalibrationBlindPixelAttBlue = 1.96;
38const Float_t gkCalibrationBlindPixelAttUV = 1.95;
39const 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//
48const Float_t gkCalibrationInnerPixelArea = 7.8;
49const 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//
57const Float_t gkCalibrationOutervsInnerPixelArea = 4.00;
58const Float_t gkCalibrationOutervsInnerPixelAreaError = 0.00;
59
60// ----- PIN DIODE ------------------------//
61
62// Pixel ID of the Calibration PIN Diode
63const 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//
85const Float_t gkCalibrationInnerPixelvsPINDiodeArea = 0.05;
86const Float_t gkCalibrationInnerPixelvsPINDiodeAreaError = 0.02;
87
88// Average QE of the PIN Diode
89const Float_t gkCalibrationPINDiodeQEGreen = -1.0;
90const Float_t gkCalibrationPINDiodeQEBlue = -1.0;
91const Float_t gkCalibrationPINDiodeQEUV = -1.0;
92const Float_t gkCalibrationPINDiodeQECT1 = -1.0;
93
94
95#endif /* MARS_MCalibrationConfig */
Note: See TracBrowser for help on using the repository browser.