1 #ifndef MACRO_G4MAGNET_C
2 #define MACRO_G4MAGNET_C
35 G4MAGNET::magfield = string(getenv(
"CALIBRATIONROOT")) + string(
"/Field/Map/sphenix3dbigmapxyz.root");
53 double magnet_inner_cryostat_wall_radius = 142;
54 double magnet_inner_cryostat_wall_thickness = 1;
55 double magnet_coil_radius = 150.8;
56 double magnet_coil_thickness = 9.38;
58 double coil_length = 361.5;
59 if (radius > magnet_inner_cryostat_wall_radius)
61 cout <<
"inconsistency: radius: " << radius
62 <<
" larger than Magnet inner radius: " << magnet_inner_cryostat_wall_radius << endl;
66 radius = magnet_inner_cryostat_wall_radius;
104 cout <<
"========================= G4_Magnet.C::Magnet() ===========================" << endl;
105 cout <<
" MAGNET Material Description:" << endl;
106 cout <<
" inner radius = " << magnet_inner_cryostat_wall_radius <<
" cm" << endl;
109 cout <<
"===========================================================================" << endl;