8#ifndef DEDXCORRPARAMETERS_H
9#define DEDXCORRPARAMETERS_H
17#define NumSlicesDoca 40
18#define NumSlicesEAng 40
19#define NumSlicesDipAng 40
22#define NumHistBins 300
23#define MinHistValue 10
24#define MaxHistValue 2500
25#define Iner_MinHistValue 10
26#define Iner_MaxHistValue 3500
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
38#define mass_e 0.511e-3
39#define mass_mu 105.658e-3
41#define NumSlicesBGSat 4
44#define MomentMaxSat 1.95
45#define MomentMinSat 1.8
47#define UseOldFunctions 1
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
59#define Dcasin_dd_out 25
60#define Dcasin_sin_out 22
61#define CellEntry_cut 10
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
70#define NumBinSinEAngle 10
71#define SinEAngleMin 0.02
72#define SinEAngleMax 0.06
73#define SinEAngleStandard 784
77#define ZhitStandard 784
79#define NumBinCostheta 20
81#define CosthetaMax 0.83
82#define CosthetaStandard 784
84#define NumBinSpaceCharge 40
85#define SpacethetaMin -0.83
86#define SpacethetaMax 0.83
87#define SpacethetaStandard 784
90static const Int_t layer_typ[43] =
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,
100static const Double_t doca_norm[43] =
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,
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,
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,
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
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
152static const Double_t Eangle_cut_bin[14] =
153 {1, 1, 2, 6, 6, 2, 2, 2, 2, 6, 6, 2, 1, 1};
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}};