BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
DedxCorrParameters.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: DedxCorrParameters.h,v 1.6 2011/08/17 13:38:37 anff Exp $
4// Description:
5// Class DedxCalibParameters contains results of dE/dx calibration
6//
7//------------------------------------------------------------------------
8#ifndef DEDXCORRPARAMETERS_H
9#define DEDXCORRPARAMETERS_H
10
11#include <TROOT.h>
12#define NormalMean 550
13#define Truncate 0.7
14
15#define NumLayers 43
16#define NumWires 6796
17#define NumSlicesDoca 40
18#define NumSlicesEAng 40
19#define NumSlicesDipAng 40
20#define NumSlicesP 60
21
22#define NumHistBins 300
23#define MinHistValue 10
24#define MaxHistValue 2500
25#define Iner_MinHistValue 10
26#define Iner_MaxHistValue 3500
27
28#define RPhi_PathMaxCut 3
29#define Iner_RPhi_PathMinCut 0.24
30#define Out_RPhi_PathMinCut 0.32
31#define Iner_DriftDistCut 0.7
32#define Out_DriftDistCut 0.9
33#define MinADCValuecut 10
34#define MaxADCValuecut 6500
35#define MinPHcut 10
36#define MaxPHcut 6500
37
38#define mass_e 0.511e-3
39#define mass_mu 105.658e-3
40
41#define NumSlicesBGSat 4
42//#define BetaGammaLogMaxSat 3.59
43//#define BetaGammaLogMinSat 3.55
44#define MomentMaxSat 1.95
45#define MomentMinSat 1.8
46#define OldAnalyse 1
47#define UseOldFunctions 1
48
49#define Phi_Min -0.25
50#define Phi_Max 0.25
51#define Iner_DocaMin -1.1
52#define Iner_DocaMax 1.1
53#define Out_DocaMin -1.1
54#define Out_DocaMax 1.1
55#define Dcasin_l_iner 1
56#define Dcasin_dd_iner 25
57#define Dcasin_sin_iner 22
58#define Dcasin_l_out 1
59#define Dcasin_dd_out 25
60#define Dcasin_sin_out 22
61#define CellEntry_cut 10
62
63#define NumBinDrifDist 20
64#define Iner_DrifDistMin 0
65#define Iner_DrifDistMax 0.6
66#define Out_DrifDistMin 0
67#define Out_DrifDistMax 0.84
68#define DrifDistStandard 784
69
70#define NumBinSinEAngle 10
71#define SinEAngleMin 0.02
72#define SinEAngleMax 0.06
73#define SinEAngleStandard 784
74
75#define NumBinZhit 20
76#define ZhitMin 0
77#define ZhitStandard 784
78
79#define NumBinCostheta 20
80#define CosthetaMin 0
81#define CosthetaMax 0.83
82#define CosthetaStandard 784
83
84#define NumBinSpaceCharge 40
85#define SpacethetaMin -0.83
86#define SpacethetaMax 0.83
87#define SpacethetaStandard 784
88
89
90static const Int_t layer_typ[43] =
91 {
92 0, 1, 1, 2, 0, 1, 1, 2,
93 0, 1, 1, 2, 0, 1, 1, 2,
94 0, 1, 1, 2, 0, 1, 1, 2,
95 0, 1, 1, 2, 0, 1, 1, 2,
96 0, 1, 1, 2, 0, 1, 1, 2,
97 0, 1, 2
98 };
99
100static const Double_t doca_norm[43] =
101 {
102 0.585, 0.615, 0.63, 0.61, 0.59, 0.57, 0.565, 0.61, 0.8, 0.855,
103 0.8, 0.855, 0.805, 0.845, 0.8, 0.845, 0.785, 0.825, 0.785, 0.815,
104 0.765, 0.795, 0.82, 0.855, 0.8, 0.82, 0.86, 0.895, 0.77, 0.805,
105 0.83, 0.87, 0.75, 0.78, 0.8, 0.82, 0.8, 0.815, 0.83, 0.87,
106 0.77, 0.795, 0.8
107 };
108
109static const Double_t Doca_normal[43] =
110 {0.704, 0.740, 0.775, 0.747, 0.718, 0.690, 0.669, 0.733,
111 0.994, 1.079, 0.994, 1.079, 1.015, 1.065, 1.001, 1.065,
112 0.980, 1.044, 0.980, 1.030, 0.959, 1.001, 1.037, 1.079,
113 1.008, 1.037, 1.086, 1.129, 0.966, 1.015, 1.051, 1.086,
114 0.938, 0.980, 1.008, 1.037, 1.008, 1.030, 1.051, 1.093,
115 0.967, 1.001, 1.008
116 };
117
118static const Double_t Zhit_Max[43] =
119 { 20.0, 20.2, 20.4, 20.6, 20.8, 21.0, 21.2, 22.0,
120 26.5, 30, 31, 34, 37, 39, 42, 44,
121 45, 49, 52, 55, 58, 60, 63, 65,
122 67, 70, 72, 75, 77, 80, 83, 85,
123 87, 89, 91, 94, 98, 100, 102, 105,
124 109, 110, 113
125 };
126
127/*static const Double_t Eangle_bin[41] =
128 { -1.0, -0.8, -0.7, -0.625, -0.55, -0.475, -0.4, -0.35, -0.3, -0.25,
129 -0.2, -0.18, -0.16, -0.14, -0.12, -0.10, -0.08, -0.06, -0.04, -0.02, 0,
130 0.02, 0.04, 0.06, 0.08, 0.10, 0.12, 0.14, 0.16, 0.18, 0.2,
131 0.25, 0.3, 0.35, 0.4, 0.475, 0.55, 0.625, 0.7, 0.8, 1.0
132 };*/
133
134
135static const Double_t Eangle_bin_value[41] =
136 { -0.25, -0.12, -0.085, -0.05, -0.0425, -0.035, -0.0325, -0.03, -0.0275, -0.025,
137 -0.0225, -0.02, -0.018345, -0.016675, -0.01501, -0.01334, -0.01167, -0.01, -0.0075, -0.005, 0,
138 0.005, 0.0075, 0.01, 0.01167, 0.01334, 0.01501, 0.16675, 0.018345, 0.02, 0.0225,
139 0.025, 0.0275, 0.03, 0.0325, 0.035, 0.0425, 0.05, 0.085, 0.12, 0.25
140 };
141
142/*static const Double_t Eangle_bin[17] =
143 {-0.25, -0.2, -0.1, -0.05, -0.03, -0.02, -0.01, -0.005, 0,
144 0.005, 0.01, 0.02, 0.03, 0.05, 0.1, 0.2, 0.25
145 };*/
146
147static const Double_t Eangle_value_cut[15] =
148 {-0.25, -0.06, -0.04, -0.03, -0.02, -0.01, -0.005, 0,
149 0.005, 0.01, 0.02, 0.03, 0.04, 0.06, 0.25
150 };
151
152static const Double_t Eangle_cut_bin[14] =
153 {1, 1, 2, 6, 6, 2, 2, 2, 2, 6, 6, 2, 1, 1};
154
155static const Int_t dead_wire[4][25] =
156{{1248 ,1519,1534, 6257, 6444, 6445, 6446, 6447, 6448, 6449, 6450, 6451, -1, -1, -1, -1, -1, -1,-1, -1, -1, -1, -1, -1, -1},{1248, 1519,1534, 6257, 1742, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},{1248, 1519,1534, 6257, 1742, 6668 , 6669 , 6670 , 6671 , 6672 , 6673 , 6674 , 6675, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},{1204 , 1205 , 1206 , 1207 , 1208 , 1209 , 1210 , 1211 , 1248, 1519,1534, 6257, 1742, 6668 , 6669 , 6670 , 6671 , 6672 , 6673 , 6674 , 6675, -1, -1, -1, -1}};
157
158/*static const Int_t bad_wire[44] =
159 {1248, 1519, 1534, 1772, 1773, 1774, 1775, 1776, 1777, 1778,
160 1779, 6132, 6133, 6134, 6135, 6136, 6137, 6138, 6139, 6140,
161 6141, 6142, 6143, 6144, 6145, 6146, 6147, 6257, 6444, 6445,
162 6446, 6447, 6448, 6449, 6450, 6451, 6508, 6509, 6510, 6511,
163 6512, 6513, 6514, 6515
164 };*/
165
166#endif