1 #ifndef FUN4ALL_G4_MOMENTUM_PROJECTION_C
2 #define FUN4ALL_G4_MOMENTUM_PROJECTION_C
23 R__LOAD_LIBRARY(libfun4all.so)
24 R__LOAD_LIBRARY(libg4testbench.so)
25 R__LOAD_LIBRARY(libg4detectors.so)
26 R__LOAD_LIBRARY(libg4trackfastsim.so)
53 double si_thickness[6] = {0.02, 0.02, 0.0625, 0.032, 0.032, 0.032};
54 double svxrad[6] = {2.71, 4.63, 11.765, 25.46, 41.38, 63.66};
55 double length[6] = {20., 20., 36., -1., -1., -1.};
58 for (
int ilayer = 0; ilayer < 6; ilayer++)
66 if (length[ilayer] > 0)
126 if (!outfile.empty())
139 std::cout <<
"All done" << std::endl;