1 #ifndef FUN4ALL_G4_MOMENTUM_PROJECTION_CALORIMETERS_C
2 #define FUN4ALL_G4_MOMENTUM_PROJECTION_CALORIMETERS_C
4 #include "G4_CEmc_Spacal.C"
25 R__LOAD_LIBRARY(libfun4all.so)
26 R__LOAD_LIBRARY(libg4testbench.so)
27 R__LOAD_LIBRARY(libg4detectors.so)
28 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)
126 if (!outfile.empty())
139 std::cout <<
"All done" << std::endl;