6 const int crossings = 0,
7 const int absorberactive = 0,
10 double magnet_inner_cryostat_wall_radius = 142;
11 double magnet_inner_cryostat_wall_thickness = 1;
14 double magnet_coil_radius = 150.8;
15 double magnet_coil_thickness = 9.38;
17 double coil_length = 361.5;
18 if (radius > magnet_inner_cryostat_wall_radius) {
19 cout <<
"inconsistency: radius: " << radius
20 <<
" larger than Magnet inner radius: " << magnet_inner_cryostat_wall_radius << endl;
24 gSystem->Load(
"libg4detectors.so");
25 gSystem->Load(
"libg4testbench.so");
27 radius = magnet_inner_cryostat_wall_radius;
61 cout <<
"========================= G4_Magnet.C::Magnet() ===========================" << endl;
62 cout <<
" MAGNET Material Description:" << endl;
63 cout <<
" inner radius = " << magnet_inner_cryostat_wall_radius <<
" cm" << endl;
64 cout <<
" outer radius = " << magnet_outer_cryostat_wall_radius + magnet_outer_cryostat_wall_thickness <<
" cm" << endl;
65 cout <<
" length = " << magnet_length <<
" cm" << endl;
66 cout <<
"===========================================================================" << endl;