BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MucRecRoadFinderParameter.h
Go to the documentation of this file.
1
2#ifndef MUC_REC_ROAD_FINDER_PARAMETER_H_
3#define MUC_REC_ROAD_FINDER_PARAMETER_H_
4
5#include "Identifier/MucID.h"
6
7const int kNSeedLoops = 3;
8
9// Number of gaps to search in each orient.
10const int kSearchLength[kNSeedLoops][3][2] = { { { 4, 4 }, { 4, 5 }, { 4, 4 } },
11 { { 4, 4 }, { 4, 5 }, { 4, 4 } },
12 { { 4, 4 }, { 4, 5 }, { 4, 4 } } };
13// Searching order of gaps in each orient[iLoop][iPart][iOrient][iGap]
14const int kSearchOrder[kNSeedLoops][3][2][5] = {
15 { { { 0, 4, 2, 6, 0 }, { 1, 5, 3, 7, 1 } },
16 { { 1, 3, 5, 7, 1 }, { 0, 2, 4, 6, 8 } },
17 { { 0, 4, 2, 6, 0 }, { 1, 5, 3, 7, 1 } } },
18 { { { 2, 4, 0, 6, 2 }, { 3, 5, 1, 7, 3 } },
19 { { 3, 5, 1, 7, 3 }, { 2, 4, 0, 6, 8 } },
20 { { 2, 4, 0, 6, 2 }, { 3, 5, 1, 7, 3 } } },
21 { { { 0, 2, 4, 6, 0 }, { 1, 3, 5, 7, 1 } },
22 { { 1, 5, 3, 7, 1 }, { 0, 4, 2, 6, 8 } },
23 { { 0, 2, 4, 6, 0 }, { 1, 3, 5, 7, 1 } } },
24};
25
26// const int kSearchOrder[kNSeedLoops][3][2][5] =
27//{ { { {0,4,2,6,1}, {1,5,3,7,0} },
28// { {1,5,3,7,0}, {0,4,2,6,1} },
29// { {0,4,2,6,1}, {1,5,3,7,0} } },
30//{ { {2,4,0,6,1}, {3,5,1,7,0} },
31// { {3,5,1,7,0}, {2,4,0,6,1} },
32// { {2,4,0,6,1}, {3,5,1,7,0} } } };
33
34// const float WeightPar2D[5] = {0.0,0.0,0.0,0.0,0.0};
35// const float WindowParAlpha[5] = {0.0,0.0,0.0,0.0,0.0};
36// const float WindowParBeta[5] = {0.0,0.0,0.0,0.0,0.0};
37// const float WindowParGamma[5] = {10.0,10.0,10.0,10.0,10.0};
38
39// Parameters for 2D road quality check
40const int kMinLastGap2D = 2;
41const int kMinFiredGaps = 2;
42const int kMaxSkippedGaps = 1;
43const int kMinSharedHits2D = 2;
44
45// Parameters for 3D road quality check
46const int kMinLastGap3D = 3; // Last gap a 3D road should arrive at least
48 5; // Max tolerance of the difference between the last gap of the two 2D roads
49// const int maxDelHitsPerGap = 1;
51 10; // Max tolerance of the difference between total hits of the two 2D roads
52// const float WeightPar3D[5] = {0.0,0.0,0.0,0.0,0.0};
53const float kMaxXChisq = 1000.0;
54const float kMaxYChisq = 1000.0;
55const int kMinSharedHits3D = 4;
56// const int kmvdvertex = 0;
57// const float MutrWindow = 20;
58// const float MuidWindow = 30;
59// const float MutrZNorth = 620;
60// const float MutrZSouth = -470;
61
62const float kRpcEfficiency = 1.0;
63const int kPartSeq[3] = { 1, 0, 2 }; // search on barrel first.
64const float kWindowSize[3][9] = {
65 { 200.0, 200.0, 200.0, 240.0, 240.0, 280.0, 280.0, 280.0, 280.0 },
66 { 200.0, 200.0, 120.0, 120.0, 120.0, 240.0, 240.0, 240.0, 240.0 },
67 { 200.0, 200.0, 200.0, 240.0, 240.0, 280.0, 280.0, 280.0, 280.0 } };
68const int kNSegSearch = 3;
69const int kDeltaSeg[kNSegSearch] = { 0, -1, 1 };
70
71#endif // MUC_REC_ROAD_FINDER_PARAMETER_H_
const int kMaxDeltaLastGap
const float kRpcEfficiency
const int kMinLastGap3D
const int kMinLastGap2D
const int kNSegSearch
const int kMinSharedHits2D
const int kPartSeq[3]
const int kDeltaSeg[kNSegSearch]
const int kMaxDeltaTotalHits
const int kNSeedLoops
const float kMaxYChisq
const float kWindowSize[3][9]
const int kSearchOrder[kNSeedLoops][3][2][5]
const float kMaxXChisq
const int kMaxSkippedGaps
const int kSearchLength[kNSeedLoops][3][2]
const int kMinFiredGaps
const int kMinSharedHits3D