1 #ifndef MACRO_G4_Disk_C
2 #define MACRO_G4_Disk_C
11 #include <Geant4/G4SystemOfUnits.hh>
12 #include <Geant4/G4Material.hh>
28 using namespace mySim;
32 double radius = 2*z*atan(exp(-1*eta));
51 for (
int i = 0; i <
nLayers; ++i)
57 std::cout <<
"Layer " << i << std::endl;
58 std::cout <<
"Disk width: = " << diskWidth << std::endl;
59 std::cout <<
"IR = " << dRICH_r_coverage.first <<
", OR = " << dRICH_r_coverage.second << std::endl;
60 std::cout <<
"Z position = " << z_position << std::endl;
70 cyl->
set_double_param(
"thickness", (dRICH_r_coverage.second - dRICH_r_coverage.first));
77 return dRICH_r_coverage.first;