BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxParameters.cxx
Go to the documentation of this file.
1#include "MdcxReco/MdcxParameters.h"
2
3/// constants
4const double MdcxParameters::c = 29.9792458; //cm/ns
5
6/// Track attribute
7const double MdcxParameters::maxTrkOmega = 0.2; //FIXME origin 0.08
8const double MdcxParameters::maxTrkLength = 250.0;
9double MdcxParameters::maxProca = 0.6; //OK
10double MdcxParameters::minTrkProb = 0.01; //FIXME
11
12const double MdcxParameters::maxDd0InMerge = 2.7; //OK
13const double MdcxParameters::maxDphi0InMerge = 0.15; //OK
14const double MdcxParameters::maxPdradInMerge = 0.22; //OK
15const double MdcxParameters::maxRcsInMerge = 18.0; //OK
16double MdcxParameters::maxRcsInAddSeg = 50.0; //FIXME
17
18const double MdcxParameters::maxAddHitCut = 5.; //FIXME
19double MdcxParameters::helixFitSigma= 5.; //FIXME 3, original
20
22double MdcxParameters::addHitFactor = 10.;//yzhang 2010-05-05
23double MdcxParameters::csmax4 = 50.; //FIXME 28, original
24double MdcxParameters::csmax3 = 1.; //FIXME 1, original
25
26/// MDC Geometry
27const double MdcxParameters::maxMdcRadius = 81.0;
28const double MdcxParameters::firstMdcAxialRadius= 18.9;//yzhang 2010-05-05
29const double MdcxParameters::maxMdcZLen = 170.;//115.4 original
30
31//MdcxFindTracks
32const double MdcxParameters::maxDlen = 150.;//FIXME
33
34////N sigma of drop hits in dropHits();
36 //yzhang put nSigma of layer 3,4 = 10
37 10.,5.,5.,10.,// 0,1,2,3
38 10.,5.,5.,10.,// 4,5,6,7
39 10.,5.,5.,5.,// 8,9,10,11
40 5.,5.,5.,5.,// 12,13,14,15
41 5.,5.,5.,10.,// 16,17,18,19
42 10.,5.,5.,5.,// 20,21,22,23
43 5.,5.,5.,5.,// 24,25,26,27
44 5.,5.,5.,5.,// 28,29,30,31
45 5.,5.,5.,10.,// 32,33,34,35
46 10.,5.,5.,5.,// 36,37,38,39
47 5.,5.,10. // 40,41,42
48};
49
50///-- relative to MdcxFindTracks
51const int MdcxParameters::findTrkGroup[nSegCombo][3] = {
52 { 4, 5, 6 },
53 { 2, 1, 0 },
54 { 3, 1, 0 },//yzhang add 2011-10-17
55 { 4, 1, 0 },//yzhang add 2011-10-17
56 { 9, 7, 8 },
57 { 3, 5, 6 },
58 { 10, 7, 8 },
59 { 3, 5, 1 },
60 { 4, 7, 8 },
61 { 9, 5, 6 },
62 { 3, 0, 1 },
63 { 4, 5, 1 },
64 { 2, 5, 1 }// from 2,5,1 to 3,5,1
65 /*
66 //yzhang bring 9,10 slayer combination forward,
67 //for Pt consideration, 2010-09-14
68 { 9, 7, 8 },
69 { 10, 7, 8 },
70 { 9, 5, 6 },
71 { 4, 5, 6 },
72 { 2, 1, 0 },
73 { 3, 5, 6 },
74 { 3, 5, 1 },
75 { 4, 7, 8 },
76 { 3, 0, 1 },
77 { 4, 5, 1 },
78 { 2, 5, 1 }// from 2,5,1 to 3,5,1
79 */
80};
81
82const float MdcxParameters::maxDp12[nSegCombo] = {
83 //0:0.19, 1:0.22, 2:0.20, 3:0.19, 4:0.22, 5:0.19, 6:0.22, 7:0.24, 8:0.23, 9:0.18, 10:0.21
84 0.5, 0.5,0.5, 0.5,0.5, 0.5,0.5, 0.5,0.5, 0.5, 0.5, 0.5, 0.5
85 //0.15, 0.22, 0.20, 0.15, 0.22, 0.15, 0.22, 0.24, 0.23, 0.18, 0.21
86};
87
88const float MdcxParameters::maxDp13[nSegCombo] = {
89 //0.33, 0.30, 0.25, 0.35, 0.25, 0.24, 0.35, 0.29, 0.30, 0.39, 0.25
90 0.5, 0.5,0.5, 0.5,0.5, 0.5,0.5, 0.5,0.5, 0.5, 0.5, 0.5, 0.5
91 //0.33, 0.39, 0.25, 0.35, 0.25, 0.24, 0.35, 0.29, 0.30, 0.39, 0.25
92};
93
94const int MdcxParameters::layerSet2AddSeg[nSegCombo][11] = {
95 { 7, 8, 9, 10, 3, 2, 1, 0, 6, 5, 4 },
96 { 3, 4, 5, 6, 7, 8, 9, 10, 2, 1, 0 },
97 { 4, 2, 5, 6, 7, 8, 9, 10, 3, 1, 0 },
98 { 3, 2, 5, 6, 7, 8, 9, 10, 4, 1, 0 },
99 { 10, 6, 5, 4, 3, 2, 1, 0, 9, 8, 7 },
100 { 4, 7, 8, 9, 10, 2, 1, 0, 6, 5, 3 },
101 { 9, 6, 5, 4, 3, 2, 1, 0, 10, 8, 7 },
102 { 4, 2, 6, 7, 8, 9, 10, 0, 5, 3, 1 },
103 { 6, 5, 9, 10, 3, 2, 1, 0, 8, 7, 4 },
104 { 7, 8, 10, 4, 3, 2, 1, 0, 9, 6, 5 },
105 { 2, 4, 5, 6, 7, 8, 9, 10, 3, 1, 0 },
106 { 3, 2, 6, 7, 8, 9, 10, 0, 5, 4, 1 },
107 { 3, 4, 6, 7, 8, 9, 10, 0, 5, 2, 1 }
108};
109
110int MdcxParameters::debug = 0;
static const double maxTrkOmega
Track attribute.
static const double maxMdcRadius
MDC Geometry.
static const int layerSet2AddSeg[nSegCombo][11]
static const int findTrkGroup[nSegCombo][3]
– relative to MdcxFindTracks