BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/TrkReco/include/TrkReco/TCurlFinderParameters.h
Go to the documentation of this file.
1#ifndef TCURLFINDERPARAMETERS_FLAG_
2#define TCURLFINDERPARAMETERS_FLAG_
3
4#include <iostream>
5
6#ifdef TRKRECO_DEBUG_DETAIL
7# ifndef TRKRECO_DEBUG
8# define TRKRECO_DEBUG
9# endif
10#endif
11
13public:
15 : // ALPHA_SAME_WITH_HELIX(222.376063),
16 ALPHA_SAME_WITH_HELIX( 333.564095 ){};
17 // jialk
18 // MIN_RADIUS_OF_STRANGE_TRACK(65.0) {};
19
21
22 void now( void ) {
23 std::cout << std::endl;
24 std::cout << "===== CURLFINDER PARAMETERS =====" << std::endl;
25 std::cout
26 << "ALHPA : " << ALPHA_SAME_WITH_HELIX << std::endl
27 << std::endl
28 << "MIN_SEGMENT : " << MIN_SEGMENT << std::endl
29 << std::endl
30 << "MIN_SALVAGE : " << MIN_SALVAGE << std::endl
31 << "BAD_DISTANCE_FOR_SALVAGE : " << BAD_DISTANCE_FOR_SALVAGE << std::endl
32 << "GOOD_DISTANCE_FOR_SALVAGE : " << GOOD_DISTANCE_FOR_SALVAGE << std::endl
33 << std::endl
34 << "MIN_SEQUENCE : " << MIN_SEQUENCE << std::endl
35 << "MAX_FULLWIRE : " << MAX_FULLWIRE << std::endl
36 << std::endl
37 << "RANGE_FOR_AXIAL_SEARCH : " << RANGE_FOR_AXIAL_SEARCH << std::endl
38 << "RANGE_FOR_AXIAL_LAST2D_SEARCH : " << RANGE_FOR_AXIAL_LAST2D_SEARCH << std::endl
39 << "RANGE_FOR_STEREO_LAST2D_SEARCH : " << RANGE_FOR_STEREO_LAST2D_SEARCH << std::endl
40 << "STEREO_2DFIND : " << STEREO_2DFIND << std::endl
41 << " SUPERLAYER_FOR_STEREO_SEARCH : " << SUPERLAYER_FOR_STEREO_SEARCH << std::endl
42 << " RANGE_FOR_STEREO_SEARCH : " << RANGE_FOR_STEREO_SEARCH << std::endl
43 << std::endl
44 << "TRACE2D_DISTANCE : " << TRACE2D_DISTANCE << std::endl
45 << "TRACE2D_FIRST_SUPERLAYER : " << TRACE2D_FIRST_SUPERLAYER << std::endl
46 << std::endl
47 << "TRACE3D_DISTANCE : " << TRACE3D_DISTANCE << std::endl
48 << std::endl
49 << "RATIO_USED_WIRE : " << RATIO_USED_WIRE << std::endl
50 << std::endl
51 << "DETERMINE_ONE_TRACK : " << DETERMINE_ONE_TRACK << std::endl
52 << std::endl
53 << "MERGE_EXE : " << MERGE_EXE << std::endl
54 << " MERGE_RATIO : " << MERGE_RATIO << std::endl
55 << " MERGE_Z_DIFF : " << MERGE_Z_DIFF << std::endl
56 << std::endl
57 << "MASK_DISTANCE : " << MASK_DISTANCE << std::endl
58 << std::endl
59 // jialk
60 //<< "MIN_RADIUS_OF_STRANGE_TRACK : " << MIN_RADIUS_OF_STRANGE_TRACK << std::endl
61 << std::endl
62 << "RANGE_FOR_STEREO_FIRST : " << RANGE_FOR_STEREO_FIRST << std::endl
63 << "RANGE_FOR_STEREO_SECOND : " << RANGE_FOR_STEREO_SECOND << std::endl
64 << "RANGE_FOR_STEREO_THIRD : " << RANGE_FOR_STEREO_THIRD << std::endl
65 << "RANGE_FOR_STEREO_FORTH : " << RANGE_FOR_STEREO_FORTH << std::endl
66 << "RANGE_FOR_STEREO_FIFTH : " << RANGE_FOR_STEREO_FIFTH << std::endl
67 << "RANGE_FOR_STEREO_FIFTH : " << RANGE_FOR_STEREO_SIXTH << std::endl
68 << std::endl
69 << "SVD_RECONSTRUCTION : " << SVD_RECONSTRUCTION << std::endl
70 << " MIN_SVD_ELECTRONS : " << MIN_SVD_ELECTRONS << std::endl
71 << "SELECTOR_MAX_IMPACT : " << SELECTOR_MAX_IMPACT << std::endl
72 << "SELECTOR_MAX_SIGMA : " << SELECTOR_MAX_SIGMA << std::endl
73 << "SELECTOR_STRANGE_PZ : " << SELECTOR_STRANGE_PZ << std::endl
74 << "SELECTOR_REPLACE_DZ : " << SELECTOR_REPLACE_DZ << std::endl
75 << std::endl
76 << "Z_CUT : " << Z_CUT << std::endl
77 << "Z_DIFF_FOR_LAST_ATTEND : " << Z_DIFF_FOR_LAST_ATTEND << std::endl
78 << std::endl
79 << "ON_CORRECTION : " << ON_CORRECTION << std::endl
80 << "OUTPUT_2DTRACKS : " << OUTPUT_2DTRACKS << std::endl
81 << std::endl
82 << "CURL_VERSION : " << CURL_VERSION << std::endl
83 << " : 0 default, 1 b20010409_2122" << std::endl;
84 std::cout << "=================================" << std::endl;
85 std::cout << std::endl;
86 }
87
88public:
89 //
90 // TCurlFinder.cc
91 //
92
93 // constant factor
94 const double ALPHA_SAME_WITH_HELIX;
95
96 // minimum size of segment
97 unsigned MIN_SEGMENT;
98
99 // Salvage Section
100 unsigned MIN_SALVAGE;
103
104 // If size of the segment is equal to or larger than MIN_SEQUENCE,
105 // it may be divided. --> exceptional type 1
106 unsigned MIN_SEQUENCE;
107
108 // exceptional type 3
109 unsigned MAX_FULLWIRE;
110
111 // range for appending axial wires to the segment. unit = cm.
117
118 // Trace Section
119 double TRACE2D_DISTANCE;
121 double TRACE3D_DISTANCE;
122
123 // determine one track (curler) by dz
124 unsigned DETERMINE_ONE_TRACK;
125
126 // stereo find at 2D section
127 unsigned STEREO_2DFIND;
128
129 // merge
130 unsigned MERGE_EXE;
131 double MERGE_RATIO;
132 double MERGE_Z_DIFF;
133
134 // mask
135 double MASK_DISTANCE;
136
137 // # of wire which should be used
138 double RATIO_USED_WIRE;
139
140 // jialk
141 // strange tracks or upper limit of radius -- Pt < ~300MeV
142 // const double MIN_RADIUS_OF_STRANGE_TRACK;//65=..300MeV(FIX)
143
144 // range for appending stereo wires of each super layer
151
152 // Output 2D tracks
153 unsigned OUTPUT_2DTRACKS;
154
155 // CurlFinder Version ... for development
156 // 0 is default
157 // others ... depend on development process
158 unsigned CURL_VERSION;
159
160 //
161 // TBuilderCurl.cc
162 //
163 // Global Fit
164 unsigned ON_CORRECTION;
165
166 // makes lines
167 double Z_CUT;
168
169 // appends stereo wires
171
172 // Svd Reconstruction Flag
173 unsigned SVD_RECONSTRUCTION;
174 double MIN_SVD_ELECTRONS;
175
176 // Track Selector Class
177 double SELECTOR_MAX_IMPACT;
178 double SELECTOR_MAX_SIGMA;
179 double SELECTOR_STRANGE_PZ;
180 double SELECTOR_REPLACE_DZ;
181 // jialk
182 double minimum_seedLength;
188};
189
190//
191// TSegmentCurl.cc
192//
193const unsigned TCURL_LARGE_SEQUENCE = 4; // 4
194
195#endif // TCURLFINDERPARAMETERS_FLAG_