1 #ifndef FUN4ALL_G4_MOMENTUM_PROJECTION_DETECTORS_C
2 #define FUN4ALL_G4_MOMENTUM_PROJECTION_DETECTORS_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)
52 double si_thickness[6] = {0.02, 0.02, 0.0625, 0.032, 0.032, 0.032};
53 double svxrad[6] = {2.71, 4.63, 11.765, 25.46, 41.38, 63.66};
54 double length[6] = {20., 20., 36., -1., -1., -1.};
57 for (
int ilayer = 0; ilayer < 6; ilayer++)
65 if (length[ilayer] > 0)
74 double mycylinder1_radius = 2.;
84 double mycylinder2_radius = 70.;
94 double myplane1_z = 100.;
157 if (!outfile.empty())
170 std::cout <<
"All done" << std::endl;