1 #if ROOT_VERSION_CODE >= ROOT_VERSION(6, 00, 0)
13 #include <g4eval/TrkrEvaluator.h>
17 #include <phgeom/PHGeomFileImport.h>
25 #include <trackreco/PHGenFitTrkProp.h>
26 #include <trackreco/PHHoughSeeding.h>
48 R__LOAD_LIBRARY(libcalo_reco.so)
49 R__LOAD_LIBRARY(libfun4all.so)
50 R__LOAD_LIBRARY(libg4tpc.so)
51 R__LOAD_LIBRARY(libg4detectors.so)
52 R__LOAD_LIBRARY(libg4eval.so)
53 R__LOAD_LIBRARY(libg4histos.so)
54 R__LOAD_LIBRARY(libg4testbench.so)
55 R__LOAD_LIBRARY(libg4tpc.so)
56 R__LOAD_LIBRARY(libg4intt.so)
57 R__LOAD_LIBRARY(libg4mvtx.so)
58 R__LOAD_LIBRARY(libg4hough.so)
59 R__LOAD_LIBRARY(libg4eval.so)
60 R__LOAD_LIBRARY(libintt.so)
61 R__LOAD_LIBRARY(libmvtx.so)
62 R__LOAD_LIBRARY(libtpc2019.so)
63 R__LOAD_LIBRARY(libtrack_reco.so)
74 gSystem->Load(
"libfun4all");
75 gSystem->Load(
"libg4detectors");
76 gSystem->Load(
"libg4testbench");
77 gSystem->Load(
"libg4histos");
78 gSystem->Load(
"libg4eval.so");
79 gSystem->Load(
"libqa_modules");
80 gSystem->Load(
"libg4tpc");
81 gSystem->Load(
"libtrack_io.so");
82 gSystem->Load(
"libfun4all.so");
83 gSystem->Load(
"libg4detectors.so");
84 gSystem->Load(
"libtpc2019.so");
85 gSystem->Load(
"libg4eval.so");
86 gSystem->Load(
"libfun4all.so");
87 gSystem->Load(
"libg4detectors.so");
88 gSystem->Load(
"libg4hough.so");
89 gSystem->Load(
"libtrack_reco.so");
92 bool dstreader =
true;
93 bool dstoutput =
false;
95 const double TPCDriftLength = 40;
108 double theta = 90 - 5;
109 double phi = 180 + 360 / 12 / 2;
111 double add_place_z = -TPCDriftLength * .5;
120 double angle = theta * TMath::Pi() / 180.;
123 gen->
set_phi_range(TMath::Pi() * phi / 180 - 0.001, TMath::Pi() * phi / 180 + 0.001);
184 for (
int i = 0;
i < 5;
i++)
237 double ADC_threshold = 4.0 * ENC;
240 cout <<
" Tpc digitizer: Setting ENC to " << ENC <<
" ADC threshold to " << ADC_threshold << endl;
256 const bool use_track_prop =
true;
300 eval =
new SvtxEvaluator(
"SVTXEVALUATOR",
"G4TPC_eval.root",
"SvtxTrackMap", 0, 0, n_gas_layer);
343 gSystem->ListLibraries();