BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/include/CalibData/Muc/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, <ygxie@mail.ihep.ac.cn> |
5// [Date ]: Aug 22, 2006 |
6//------------------------------------------------------------------------------|
7
8#ifndef MUC_CALIB_CONST_H
9# define MUC_CALIB_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 = 5;
18
19static const double LIMIT_CUT = 0.000001;
20
21static const int CLST_CUT = 1;
22static const int CLST_MAX = 10;
23
24static const double DEFAULT_CLST_PRO[CLST_MAX] = {
25 0.80701, 0.97357, 0.99515, 0.99822, 0.99876, 0.99894, 0.99905, 0.99913, 0.99920, 0.99926 };
26
27// Globle structure
28static const int PART_MAX = 3;
29static const int SEGMENT_MAX = 8;
30static const int LAYER_MAX = 9;
31static const int BOX_MAX = 136;
32static const int STRIP_MAX = 9152;
33static const int STRIP_INBOX_MAX = 112;
34
35static const int BOX_PER_PART[PART_MAX] = { 32, 72, 32 };
36static const int BOX_PER_SEG[PART_MAX] = { 8, 9, 8 };
37static const int BOX_SUM[PART_MAX] = { 32, 104, 136 };
38
39static const int STR_PER_PART[3] = { 2048, 5056, 2048 };
40static const int B_STR_PER_SEG[2] = { 624, 688 };
41static const int STR_SUM[3] = { 2048, 7104, 9152 };
42
43static const int EEID = 0; // east endcap id
44static const int BRID = 1; // berral id
45static const int EWID = 2; // west endcap id
46static const int XSTR = 0; // strip read out from x direction
47static const int YSTR = 1; // strip read out from y direction
48static const int ZSTR = 2; // strip read out from z direction
49static const int PHISTR = 3; // strip read out from phi direction
50
51// Endcap( only one part, not total, east and west is the same)
52static const int E_SEG_NUM = 4; // segment number
53static const int E_LAY_NUM = 8; // layer number ( gap layer number )
54static const int E_STR_NUM = 64; // strip number persegment per layer
55
56// Barrel
57static const int B_SEG_NUM = 8; // segment number
58static const int B_LAY_NUM = 9; // layer number
59static const int B_TOP = 2; // top segment id
60
61static const int B_ZSTR_NUM = 48; // strip number in Z-readout box
62static const int B_PHISTR_NUM = 96; // strip number in Phi-readout(Tangent) box
63static const int B_TOPSTR_NUM = 112; // strip number in Phi-readout(Tangent) box of TOP segment
64
65#endif
66
67// END