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