1 #ifndef MACRO_G4MAGNET_C
2 #define MACRO_G4MAGNET_C
10 R__LOAD_LIBRARY(libg4detectors.so)
54 double magnet_inner_cryostat_wall_radius = 142;
55 double magnet_inner_cryostat_wall_thickness = 1;
56 double magnet_coil_radius = 150.8;
57 double magnet_coil_thickness = 9.38;
59 double coil_length = 361.5;
60 if (radius > magnet_inner_cryostat_wall_radius)
62 cout <<
"inconsistency: radius: " << radius
63 <<
" larger than Magnet inner radius: " << magnet_inner_cryostat_wall_radius << endl;
67 radius = magnet_inner_cryostat_wall_radius;
105 cout <<
"========================= G4_Magnet.C::Magnet() ===========================" << endl;
106 cout <<
" MAGNET Material Description:" << endl;
107 cout <<
" inner radius = " << magnet_inner_cryostat_wall_radius <<
" cm" << endl;
110 cout <<
"===========================================================================" << endl;