55 G4double env_sizeXY = 20*cm, env_sizeZ = 30*cm;
56 G4Material* env_mat = nist->FindOrBuildMaterial(
"G4_WATER");
60 G4bool checkOverlaps =
true;
65 G4double world_sizeXY = 1.2*env_sizeXY;
66 G4double world_sizeZ = 1.2*env_sizeZ;
67 G4Material* world_mat = nist->FindOrBuildMaterial(
"G4_AIR");
69 auto solidWorld =
new G4Box(
"World",
70 0.5 * world_sizeXY, 0.5 * world_sizeXY, 0.5 * world_sizeZ);
88 auto solidEnv =
new G4Box(
"Envelope",
89 0.5 * env_sizeXY, 0.5 * env_sizeXY, 0.5 * env_sizeZ);
107 G4Material* shape1_mat = nist->FindOrBuildMaterial(
"G4_A-150_TISSUE");
108 G4ThreeVector pos1 = G4ThreeVector(0, 2*cm, -7*cm);
111 G4double shape1_rmina = 0.*cm, shape1_rmaxa = 2.*cm;
112 G4double shape1_rminb = 0.*cm, shape1_rmaxb = 4.*cm;
113 G4double shape1_hz = 3.*cm;
114 G4double shape1_phimin = 0.*deg, shape1_phimax = 360.*deg;
115 auto solidShape1 =
new G4Cons(
"Shape1", shape1_rmina, shape1_rmaxa, shape1_rminb, shape1_rmaxb,
116 shape1_hz, shape1_phimin, shape1_phimax);
134 G4Material* shape2_mat = nist->FindOrBuildMaterial(
"G4_BONE_COMPACT_ICRU");
135 G4ThreeVector pos2 = G4ThreeVector(0, -1*cm, 7*cm);
138 G4double shape2_dxa = 12*cm, shape2_dxb = 12*cm;
139 G4double shape2_dya = 10*cm, shape2_dyb = 16*cm;
140 G4double shape2_dz = 6*cm;
141 auto solidShape2 =
new G4Trd(
"Shape2",
142 0.5 * shape2_dxa, 0.5 * shape2_dxb, 0.5 * shape2_dya, 0.5 * shape2_dyb,