00001
00002
00003
00004
00005
00006
00007
00008 #ifndef MUC_CALIB_CONST_H
00009 #define MUC_CALIB_CONST_H
00010
00011
00012
00013
00014
00015 static const double DEFAULT_EFF = 0.95;
00016 static const double DEFAULT_NOS = 0.01;
00017 static const double DEFAULT_ClST = 5;
00018
00019 static const double LIMIT_CUT = 0.000001;
00020
00021 static const int CLST_CUT = 1;
00022 static const int CLST_MAX = 10;
00023
00024 static const double DEFAULT_CLST_PRO[CLST_MAX] = {0.80701, 0.97357, 0.99515, 0.99822, 0.99876, 0.99894, 0.99905, 0.99913, 0.99920, 0.99926};
00025
00026
00027 static const int PART_MAX = 3;
00028 static const int SEGMENT_MAX = 8;
00029 static const int LAYER_MAX = 9;
00030 static const int BOX_MAX = 136;
00031 static const int STRIP_MAX = 9152;
00032 static const int STRIP_INBOX_MAX= 112;
00033
00034 static const int BOX_PER_PART[PART_MAX] = {32, 72, 32};
00035 static const int BOX_PER_SEG[PART_MAX] = {8, 9, 8};
00036 static const int BOX_SUM[PART_MAX] = {32, 104, 136};
00037
00038 static const int STR_PER_PART[3] = { 2048, 5056, 2048 };
00039 static const int B_STR_PER_SEG[2] = { 624, 688 };
00040 static const int STR_SUM[3] = { 2048, 7104, 9152 };
00041
00042 static const int EEID = 0;
00043 static const int BRID = 1;
00044 static const int EWID = 2;
00045 static const int XSTR = 0;
00046 static const int YSTR = 1;
00047 static const int ZSTR = 2;
00048 static const int PHISTR = 3;
00049
00050
00051 static const int E_SEG_NUM = 4;
00052 static const int E_LAY_NUM = 8;
00053 static const int E_STR_NUM = 64;
00054
00055
00056 static const int B_SEG_NUM = 8;
00057 static const int B_LAY_NUM = 9;
00058 static const int B_TOP = 2;
00059
00060 static const int B_ZSTR_NUM = 48;
00061 static const int B_PHISTR_NUM = 96;
00062 static const int B_TOPSTR_NUM = 112;
00063
00064 #endif
00065
00066