00001
00002
00003
00004
00005
00006
00007
00008 #ifndef DEDXCORRPARAMETERS_H
00009 #define DEDXCORRPARAMETERS_H
00010
00011 #include <TROOT.h>
00012 #define NormalMean 550
00013 #define Truncate 0.7
00014
00015 #define NumLayers 43
00016 #define NumWires 6796
00017 #define NumSlicesDoca 40
00018 #define NumSlicesEAng 40
00019 #define NumSlicesDipAng 40
00020 #define NumSlicesP 60
00021
00022 #define NumHistBins 300
00023 #define MinHistValue 10
00024 #define MaxHistValue 2500
00025 #define Iner_MinHistValue 10
00026 #define Iner_MaxHistValue 3500
00027
00028 #define RPhi_PathMaxCut 3
00029 #define Iner_RPhi_PathMinCut 0.24
00030 #define Out_RPhi_PathMinCut 0.32
00031 #define Iner_DriftDistCut 0.7
00032 #define Out_DriftDistCut 0.9
00033 #define MinADCValuecut 10
00034 #define MaxADCValuecut 6500
00035 #define MinPHcut 10
00036 #define MaxPHcut 6500
00037
00038 #define mass_e 0.511e-3
00039 #define mass_mu 105.658e-3
00040
00041 #define NumSlicesBGSat 4
00042
00043
00044 #define MomentMaxSat 1.95
00045 #define MomentMinSat 1.8
00046 #define OldAnalyse 1
00047 #define UseOldFunctions 1
00048
00049 #define Phi_Min -0.25
00050 #define Phi_Max 0.25
00051 #define Iner_DocaMin -1.1
00052 #define Iner_DocaMax 1.1
00053 #define Out_DocaMin -1.1
00054 #define Out_DocaMax 1.1
00055 #define Dcasin_l_iner 1
00056 #define Dcasin_dd_iner 25
00057 #define Dcasin_sin_iner 22
00058 #define Dcasin_l_out 1
00059 #define Dcasin_dd_out 25
00060 #define Dcasin_sin_out 22
00061 #define CellEntry_cut 10
00062
00063 #define NumBinDrifDist 20
00064 #define Iner_DrifDistMin 0
00065 #define Iner_DrifDistMax 0.6
00066 #define Out_DrifDistMin 0
00067 #define Out_DrifDistMax 0.84
00068 #define DrifDistStandard 784
00069
00070 #define NumBinSinEAngle 10
00071 #define SinEAngleMin 0.02
00072 #define SinEAngleMax 0.06
00073 #define SinEAngleStandard 784
00074
00075 #define NumBinZhit 20
00076 #define ZhitMin 0
00077 #define ZhitStandard 784
00078
00079 #define NumBinCostheta 20
00080 #define CosthetaMin 0
00081 #define CosthetaMax 0.83
00082 #define CosthetaStandard 784
00083
00084 #define NumBinSpaceCharge 40
00085 #define SpacethetaMin -0.83
00086 #define SpacethetaMax 0.83
00087 #define SpacethetaStandard 784
00088
00089
00090 static const Int_t layer_typ[43] =
00091 {
00092 0, 1, 1, 2, 0, 1, 1, 2,
00093 0, 1, 1, 2, 0, 1, 1, 2,
00094 0, 1, 1, 2, 0, 1, 1, 2,
00095 0, 1, 1, 2, 0, 1, 1, 2,
00096 0, 1, 1, 2, 0, 1, 1, 2,
00097 0, 1, 2
00098 };
00099
00100 static const Double_t doca_norm[43] =
00101 {
00102 0.585, 0.615, 0.63, 0.61, 0.59, 0.57, 0.565, 0.61, 0.8, 0.855,
00103 0.8, 0.855, 0.805, 0.845, 0.8, 0.845, 0.785, 0.825, 0.785, 0.815,
00104 0.765, 0.795, 0.82, 0.855, 0.8, 0.82, 0.86, 0.895, 0.77, 0.805,
00105 0.83, 0.87, 0.75, 0.78, 0.8, 0.82, 0.8, 0.815, 0.83, 0.87,
00106 0.77, 0.795, 0.8
00107 };
00108
00109 static const Double_t Doca_normal[43] =
00110 {0.704, 0.740, 0.775, 0.747, 0.718, 0.690, 0.669, 0.733,
00111 0.994, 1.079, 0.994, 1.079, 1.015, 1.065, 1.001, 1.065,
00112 0.980, 1.044, 0.980, 1.030, 0.959, 1.001, 1.037, 1.079,
00113 1.008, 1.037, 1.086, 1.129, 0.966, 1.015, 1.051, 1.086,
00114 0.938, 0.980, 1.008, 1.037, 1.008, 1.030, 1.051, 1.093,
00115 0.967, 1.001, 1.008
00116 };
00117
00118 static const Double_t Zhit_Max[43] =
00119 { 20.0, 20.2, 20.4, 20.6, 20.8, 21.0, 21.2, 22.0,
00120 26.5, 30, 31, 34, 37, 39, 42, 44,
00121 45, 49, 52, 55, 58, 60, 63, 65,
00122 67, 70, 72, 75, 77, 80, 83, 85,
00123 87, 89, 91, 94, 98, 100, 102, 105,
00124 109, 110, 113
00125 };
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135 static const Double_t Eangle_bin_value[41] =
00136 { -0.25, -0.12, -0.085, -0.05, -0.0425, -0.035, -0.0325, -0.03, -0.0275, -0.025,
00137 -0.0225, -0.02, -0.018345, -0.016675, -0.01501, -0.01334, -0.01167, -0.01, -0.0075, -0.005, 0,
00138 0.005, 0.0075, 0.01, 0.01167, 0.01334, 0.01501, 0.16675, 0.018345, 0.02, 0.0225,
00139 0.025, 0.0275, 0.03, 0.0325, 0.035, 0.0425, 0.05, 0.085, 0.12, 0.25
00140 };
00141
00142
00143
00144
00145
00146
00147 static const Double_t Eangle_value_cut[15] =
00148 {-0.25, -0.06, -0.04, -0.03, -0.02, -0.01, -0.005, 0,
00149 0.005, 0.01, 0.02, 0.03, 0.04, 0.06, 0.25
00150 };
00151
00152 static const Double_t Eangle_cut_bin[14] =
00153 {1, 1, 2, 6, 6, 2, 2, 2, 2, 6, 6, 2, 1, 1};
00154
00155 static const Int_t dead_wire[4][25] =
00156 {{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}};
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166 #endif