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

void MyDetectorConstruction::SetupGeometry()
{
.................................................................
 G4LogicalVolume* scoreLogical =
    new G4LogicalVolume(scoreSolid,      //its solid
                        air,             //its material
                        "Score_Logical");//its name

 SetupScoring(scoreLogical);
 ....................................................................