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