source: trunk/MagicSoft/Mars/mcalib/MCalibrationConfig.h@ 2796

Last change on this file since 2796 was 2734, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 3.3 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.;
20const Float_t gkConversionHiLoError = 2.5;
21
22// The penalty constant to produce overflow in the histogram
23const ULong_t gkLoGainOverFlow = 99999999;
24
25// ----- BLIND PIXEL ----------------------//
26
27// Pixel ID of the Calibration Blind Pixel
28const UShort_t gkCalibrationBlindPixelId = 559;
29
30// Average QE of Blind Pixel (three colours)
31const Float_t gkCalibrationBlindPixelQEGreen = 0.154;
32const Float_t gkCalibrationBlindPixelQEBlue = 0.226;
33const Float_t gkCalibrationBlindPixelQEUV = 0.247;
34const Float_t gkCalibrationBlindPixelQECT1 = 0.247;
35
36// Attenuation factor Blind Pixel (three colours)
37const Float_t gkCalibrationBlindPixelAttGreen = 1.97;
38const Float_t gkCalibrationBlindPixelAttBlue = 1.96;
39const Float_t gkCalibrationBlindPixelAttUV = 1.95;
40const Float_t gkCalibrationBlindPixelAttCT1 = 1.95;
41
42//
43// Area of Inner Pixel w.r.t. Blind Pixel (which is 1 sq. cm)
44//
45// Hexagone of diagonal axis b = 3.5 cm
46// straight axis a = 3.0 cm +- 2%
47// Area = sqrt(3)*a*a/2 = 7.79 sq.cm +- 4% = 7.8 +- 0.3 sq.cm
48//
49const Float_t gkCalibrationInnerPixelArea = 7.8;
50const Float_t gkCalibrationInnerPixelAreaError = 0.3;
51//
52// Area of Outer Pixel w.r.t. Inner Pixel
53//
54// Hexagone of diagonal axis b = 7.0 cm
55// straight axis a = 6.0 cm +- 1%
56// Area = sqrt(3)*a*a/2 =
57//
58const Float_t gkCalibrationOutervsInnerPixelArea = 4.00;
59const Float_t gkCalibrationOutervsInnerPixelAreaError = 0.00;
60
61// ----- PIN DIODE ------------------------//
62
63// Pixel ID of the Calibration PIN Diode
64const UShort_t gkCalibrationPINDiodeId = 9999;
65
66//
67// Area of Inner Pixel w.r.t. PIN Diode (which is 1 cm²)
68//
69// Hexagone of diagonal axis b = 3.5 cm
70// straight axis a = 3.0 cm +- 2%
71// Area = sqrt(3)*a*a/2 = 7.79 sq.cm +- 4% = 7.8 +- 0.3 sq.cm
72//
73// Distance of PIN Diode to pulser D1: 1.5 +- 0.3 m
74// Distance of Inner Pixel to pulser D2: 18.0 +- 0.5 m
75//
76//
77// A(Inner Pixel) D1*D1
78// conversion C = -------------- * ------ = 0.054
79// A(PIN Diode) D2*D2
80//
81// Delta C / C = sqrt((Delta A(IP)/A(IP))² + 4 * ( (Delta D1/D1)² + (Delta D2/D2)² )
82// Delta C / C = 0.4
83//
84// C = 0.05 +- 0.02
85//
86const Float_t gkCalibrationInnerPixelvsPINDiodeArea = 0.05;
87const Float_t gkCalibrationInnerPixelvsPINDiodeAreaError = 0.02;
88
89// Average QE of the PIN Diode
90const Float_t gkCalibrationPINDiodeQEGreen = -1.0;
91const Float_t gkCalibrationPINDiodeQEBlue = -1.0;
92const Float_t gkCalibrationPINDiodeQEUV = -1.0;
93const Float_t gkCalibrationPINDiodeQECT1 = -1.0;
94
95
96#endif /* MARS_MCalibrationConfig */
Note: See TracBrowser for help on using the repository browser.