BOSS 8.0.0
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 }, { 2, 1, 0 }, { 3, 1, 0 }, // yzhang add 2011-10-17
53 { 4, 1, 0 }, // yzhang add 2011-10-17
54 { 9, 7, 8 }, { 3, 5, 6 }, { 10, 7, 8 }, { 3, 5, 1 }, { 4, 7, 8 },
55 { 9, 5, 6 }, { 3, 0, 1 }, { 4, 5, 1 }, { 2, 5, 1 } // from 2,5,1 to 3,5,1
56 /*
57 //yzhang bring 9,10 slayer combination forward,
58 //for Pt consideration, 2010-09-14
59 { 9, 7, 8 },
60 { 10, 7, 8 },
61 { 9, 5, 6 },
62 { 4, 5, 6 },
63 { 2, 1, 0 },
64 { 3, 5, 6 },
65 { 3, 5, 1 },
66 { 4, 7, 8 },
67 { 3, 0, 1 },
68 { 4, 5, 1 },
69 { 2, 5, 1 }// from 2,5,1 to 3,5,1
70 */
71};
72
73const float MdcxParameters::maxDp12[nSegCombo] = {
74 // 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
75 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5,
76 0.5, 0.5, 0.5, 0.5, 0.5, 0.5
77 // 0.15, 0.22, 0.20, 0.15, 0.22, 0.15, 0.22, 0.24, 0.23, 0.18, 0.21
78};
79
80const float MdcxParameters::maxDp13[nSegCombo] = {
81 // 0.33, 0.30, 0.25, 0.35, 0.25, 0.24, 0.35, 0.29, 0.30, 0.39, 0.25
82 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5,
83 0.5, 0.5, 0.5, 0.5, 0.5, 0.5
84 // 0.33, 0.39, 0.25, 0.35, 0.25, 0.24, 0.35, 0.29, 0.30, 0.39, 0.25
85};
86
87const int MdcxParameters::layerSet2AddSeg[nSegCombo][11] = {
88 { 7, 8, 9, 10, 3, 2, 1, 0, 6, 5, 4 }, { 3, 4, 5, 6, 7, 8, 9, 10, 2, 1, 0 },
89 { 4, 2, 5, 6, 7, 8, 9, 10, 3, 1, 0 }, { 3, 2, 5, 6, 7, 8, 9, 10, 4, 1, 0 },
90 { 10, 6, 5, 4, 3, 2, 1, 0, 9, 8, 7 }, { 4, 7, 8, 9, 10, 2, 1, 0, 6, 5, 3 },
91 { 9, 6, 5, 4, 3, 2, 1, 0, 10, 8, 7 }, { 4, 2, 6, 7, 8, 9, 10, 0, 5, 3, 1 },
92 { 6, 5, 9, 10, 3, 2, 1, 0, 8, 7, 4 }, { 7, 8, 10, 4, 3, 2, 1, 0, 9, 6, 5 },
93 { 2, 4, 5, 6, 7, 8, 9, 10, 3, 1, 0 }, { 3, 2, 6, 7, 8, 9, 10, 0, 5, 4, 1 },
94 { 3, 4, 6, 7, 8, 9, 10, 0, 5, 2, 1 } };
95
static const int findTrkGroup[nSegCombo][3]
– relative to MdcxFindTracks