1 #ifndef MACRO_G4TRACKING_C
2 #define MACRO_G4TRACKING_C
7 R__LOAD_LIBRARY(libg4eval.so)
8 R__LOAD_LIBRARY(libtrack_reco.so)
9 R__LOAD_LIBRARY(libtpccalib.so)
10 R__LOAD_LIBRARY(libqa_modules.so)
12 #include <G4_ActsGeom.C>
17 #include <G4_Micromegas.C>
21 #include <g4eval/TrackSeedTrackMapConverter.h>
36 #include <trackermillepedealignment/MakeMilleFiles.h>
37 #include <trackermillepedealignment/HelicalFitter.h>
39 #include <qa_modules/QAG4SimulationTracking.h>
40 #include <qa_modules/QAG4SimulationUpsilon.h>
41 #include <qa_modules/QAG4SimulationVertex.h>
72 se->registerSubsystem(tpcLoadDistortionCorrection);
105 pat_rec->Verbosity(verbosity);
106 pat_rec->set_track_map_name(
"TpcTrackSeedContainer");
109 se->registerSubsystem(pat_rec);
119 seeder->Verbosity(verbosity);
120 seeder->SetLayerRange(7, 55);
121 seeder->SetSearchWindow(50., 1.);
122 seeder->SetMinHitsPerCluster(0);
123 seeder->SetMinClustersPerTrack(3);
124 seeder->useConstBField(
false);
125 seeder->useFixedClusterError(
true);
126 se->registerSubsystem(
seeder);
135 cprop->useConstBField(
false);
136 cprop->useFixedClusterError(
true);
137 cprop->set_max_window(5.);
138 cprop->set_cluster_version(G4TRACKING::cluster_version);
139 cprop->Verbosity(verbosity);
140 se->registerSubsystem(cprop);
145 se->registerSubsystem(hprop);
150 std::cout <<
"Tracking_Reco_TrackSeed - Using Micromegas matching " << std::endl;
158 mm_match->set_rphi_search_window_lyr1(0.2);
159 mm_match->set_rphi_search_window_lyr2(13.0);
160 mm_match->set_z_search_window_lyr1(26.0);
161 mm_match->set_z_search_window_lyr2(0.2);
164 mm_match->set_rphi_search_window_lyr1(0.2);
165 mm_match->set_rphi_search_window_lyr2(13.0);
166 mm_match->set_z_search_window_lyr1(26.0);
167 mm_match->set_z_search_window_lyr2(0.2);
169 mm_match->set_min_tpc_layer(38);
170 mm_match->set_test_windows_printout(
false);
171 se->registerSubsystem(mm_match);
177 std::cout <<
"Tracking_Reco_TrackSeed - Using full truth track seeding" << std::endl;
183 pat_rec->Verbosity(verbosity);
184 pat_rec->set_track_map_name(
"SvtxTrackSeedContainer");
185 se->registerSubsystem(pat_rec);
215 mille->set_datafile_name(datafilename +
".bin");
216 mille->set_steeringfile_name(steeringfilename +
".txt");
221 helical->set_datafile_name(datafilename +
"_helical.bin");
222 helical->set_steeringfile_name(steeringfilename +
"_helical.txt");
264 eval =
new SvtxEvaluator(
"SVTXEVALUATOR", outputfile,
"SvtxTrackMap",
276 bool embed_scan =
true;
280 std::cout <<
"SvtxEvaluator: pp_mode set to " <<
TRACKING::pp_mode <<
" and scan_for_embedded set to " << embed_scan << std::endl;
282 eval->set_cluster_version(G4TRACKING::cluster_version);
332 #endif // MACRO_G4TRACKING_C