CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
Muc/MucCalibConstSvc/MucCalibConstSvc-00-01-10/MucCalibConstSvc/MucCalibConst.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------|
2// [File ]: MucCalibConst.h |
3// [Brief ]: Head file of MUC structure constants for calibration |
4// [Author]: Xie Yuguang, <[email protected]> |
5// [Date ]: Aug 22, 2006 |
6//------------------------------------------------------------------------------|
7
8#ifndef MUC_STRUCT_CONST_H
9#define MUC_STRUCT_CONST_H
10
11//#include<iostream>
12
13//using namespace std;
14
15static const double DEFAULT_EFF = 0.95;
16static const double DEFAULT_NOS = 0.01;
17static const double DEFAULT_CLST = 4;
18
19static const double LIMIT_CUT = 0.000001;
20
21static const int CLST_CUT = 1;
22static const int CLST_MAX = 20;
23
24static const double DEFAULT_MHIT_PRO[MULTI_HIT_MAX] = {0.9, 0.95, 0.98, 0.99, 1.0};
25
26// Globle structure
27static const int PART_MAX = 3;
28static const int SEGMENT_MAX = 8;
29static const int LAYER_MAX = 9;
30static const int BOX_MAX = 136;
31static const int STRIP_MAX = 9152;
32static const int STRIP_INBOX_MAX = 112;
33
34static const int BOX_PER_PART[PART_MAX] = {32, 72, 32};
35static const int BOX_PER_SEG[PART_MAX] = {8, 9, 8};
36static const int BOX_SUM[PART_MAX] = {32, 104, 136};
37
38static const int STR_PER_PART[3] = { 2048, 5056, 2048 };
39static const int B_STR_PER_SEG[2] = { 624, 688 };
40static const int STR_SUM[3] = { 2048, 7104, 9152 };
41
42static const int EEID = 0; // east endcap id
43static const int BRID = 1; // berral id
44static const int EWID = 2; // west endcap id
45static const int XSTR = 0; // strip read out from x direction
46static const int YSTR = 1; // strip read out from y direction
47static const int ZSTR = 2; // strip read out from z direction
48static const int PHISTR = 3; // strip read out from phi direction
49
50// Endcap( only one part, not total, east and west is the same)
51static const int E_SEG_NUM = 4; // segment number
52static const int E_LAY_NUM = 8; // layer number ( gap layer number )
53static const int E_STR_NUM = 64; // strip number persegment per layer
54
55// Barrel
56static const int B_SEG_NUM = 8; // segment number
57static const int B_LAY_NUM = 9; // layer number
58static const int B_TOP = 2; // top segment id
59
60static const int B_ZSTR_NUM = 48; // strip number in Z-readout box
61static const int B_PHISTR_NUM = 96; // strip number in Phi-readout(Tangent) box
62static const int B_TOPSTR_NUM = 112; // strip number in Phi-readout(Tangent) box of TOP segment
63
64#endif
65
66//END