W pliku     src/MyDetectorConstruction.cc    (zmiany kolorem czerwonym)

------------------------------------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////
 // Beryllium target

  G4Material* beryllium = G4Material::GetMaterial("Beryllium");
  G4VSolid*    targetSolid =
          new G4Tubs("Target_Solid",  // its name
                             0.0*cm,                // its inner radius
                          3.63*cm,                 // its outer radius
                    6.31/2.0*cm,                 // its half length
                          0.0*deg,                  // starting phi angle
                      360.0*deg);                 // angle of the segment

  G4LogicalVolume* targetLogical =
       new G4LogicalVolume(targetSolid,         // its solid
                                             beryllium,           // its material
                                         "Target_Logical");  // its name
                                      
  new G4PVPlacement(0,                                          // no rotation
                    G4ThreeVector(0.0,0.0,6.31/2.0*cm),   // transition
                    targetLogical,                                       // current logical volume
                    "Target_Physical",                                // its anme
                    fpWorldLogical,                                   // mother logical volume
                    false,                                                    // true not implemented
                    0);                                                        // copy number
  ////////////////////////////////////////////////////////////////////////
  // Visualisation attributes

---------------------------------------------------------------------------------------------------------------