1 #ifndef MACRO_TRKRRECO_C
2 #define MACRO_TRKRRECO_C
6 #include <trackingdiagnostics/TrackSeedTrackMapConverter.h>
29 #include <trackermillepedealignment/HelicalFitter.h>
30 #include <trackermillepedealignment/MakeMilleFiles.h>
34 #include <trackingdiagnostics/TrackContainerCombiner.h>
38 R__LOAD_LIBRARY(libTrackingDiagnostics.so)
39 R__LOAD_LIBRARY(libtrack_reco.so)
40 R__LOAD_LIBRARY(libtpccalib.so)
41 R__LOAD_LIBRARY(libtpc.so)
42 R__LOAD_LIBRARY(libtrackeralign.so)
70 se->registerSubsystem(silicon_Seeding);
74 se->registerSubsystem(merger);
82 seeder->useConstBField(
false);
87 seeder->useConstBField(
true);
90 seeder->Verbosity(verbosity);
91 seeder->SetLayerRange(7, 55);
92 seeder->SetSearchWindow(1.5, 0.05);
93 seeder->SetMinHitsPerCluster(0);
94 seeder->SetMinClustersPerTrack(3);
95 seeder->useFixedClusterError(
true);
96 se->registerSubsystem(
seeder);
107 cprop->useConstBField(
false);
110 cprop->useFixedClusterError(
true);
111 cprop->set_max_window(5.);
112 cprop->Verbosity(verbosity);
113 se->registerSubsystem(cprop);
115 std::cout <<
"Tracking_Reco_TrackSeed - Using stub matching for Si matching " << std::endl;
121 std::cout <<
"PHSiliconTpcTrackMatching pp_mode set to " <<
TRACKING::pp_mode << std::endl;
126 silicon_match->set_phi_search_window(0.04);
127 silicon_match->set_eta_search_window(0.008);
132 silicon_match->set_phi_search_window(0.03);
133 silicon_match->set_eta_search_window(0.005);
135 silicon_match->set_test_windows_printout(
false);
136 se->registerSubsystem(silicon_match);
141 std::cout <<
"Tracking_Reco_TrackSeed - Using Micromegas matching " << std::endl;
149 mm_match->set_rphi_search_window_lyr1(0.2);
150 mm_match->set_rphi_search_window_lyr2(13.0);
151 mm_match->set_z_search_window_lyr1(26.0);
152 mm_match->set_z_search_window_lyr2(0.2);
157 mm_match->set_rphi_search_window_lyr1(0.2);
158 mm_match->set_rphi_search_window_lyr2(13.0);
159 mm_match->set_z_search_window_lyr1(26.0);
160 mm_match->set_z_search_window_lyr2(0.2);
162 mm_match->set_min_tpc_layer(38);
163 mm_match->set_test_windows_printout(
false);
164 se->registerSubsystem(mm_match);
217 se->registerSubsystem(deltazcorr);
227 actsFit->useActsEvaluator(
false);
228 actsFit->useOutlierFinder(
false);
230 se->registerSubsystem(actsFit);
241 residuals->Verbosity(verbosity);
242 se->registerSubsystem(residuals);
258 se->registerSubsystem(cleaner);
267 se->registerSubsystem(vtxProp);
276 se->registerSubsystem(projection);
290 silicon_Seeding->sigmaScattering(50.);
291 silicon_Seeding->setRPhiSearchWindow(2.);
292 silicon_Seeding->helixcut(0.01);
293 se->registerSubsystem(silicon_Seeding);
297 se->registerSubsystem(merger);
306 seeder->Verbosity(verbosity);
307 seeder->SetLayerRange(7, 55);
308 seeder->SetSearchWindow(1.5, 0.05);
309 seeder->SetMinHitsPerCluster(0);
310 seeder->SetMinClustersPerTrack(3);
311 seeder->useConstBField(
false);
312 seeder->useFixedClusterError(
true);
313 se->registerSubsystem(
seeder);
322 cprop->useConstBField(
false);
323 cprop->useFixedClusterError(
true);
324 cprop->set_max_window(5.);
325 cprop->Verbosity(verbosity);
326 se->registerSubsystem(cprop);
336 silicon_match->set_phi_search_window(0.2);
337 silicon_match->set_eta_search_window(0.015);
338 silicon_match->set_x_search_window(std::numeric_limits<double>::max());
339 silicon_match->set_y_search_window(std::numeric_limits<double>::max());
340 silicon_match->set_z_search_window(std::numeric_limits<double>::max());
342 silicon_match->set_test_windows_printout(
false);
343 se->registerSubsystem(silicon_match);
352 mm_match->set_rphi_search_window_lyr1(0.4);
353 mm_match->set_rphi_search_window_lyr2(13.0);
354 mm_match->set_z_search_window_lyr1(26.0);
355 mm_match->set_z_search_window_lyr2(0.2);
357 mm_match->set_min_tpc_layer(38);
358 mm_match->set_test_windows_printout(
false);
359 se->registerSubsystem(mm_match);
371 mille->set_datafile_name(datafilename +
".bin");
372 mille->set_steeringfile_name(steeringfilename +
".txt");
377 helical->set_datafile_name(datafilename +
"_helical.bin");
378 helical->set_steeringfile_name(steeringfilename +
"_helical.txt");