Problem 1041

Summary: DICOM example does not compile
Product: Examples/Extended Reporter: Derek Dolney <nospam>
Component: medical/DICOMAssignee: Pedro.Arce
Status: RESOLVED FIXED    
Severity: minor CC: cirrone
Priority: P5    
Version: 9.2   
Hardware: All   
OS: All   
Attachments: To be put in source/geometry/navigation/src
To be put in source/geometry/navigation/src
To be put in source/geometry/navigation/include

Description Derek Dolney 2009-01-14 16:30:40 CET
There is an #include "G4RegNavHelper.hh" but no such file, and no G4RegNavHelper class definition anywhere else.
Comment 1 Pedro.Arce 2009-01-20 20:56:00 CET
Created attachment 32 [details]
To be put in source/geometry/navigation/src
Comment 2 Pedro.Arce 2009-01-20 20:56:38 CET
Created attachment 33 [details]
To be put in source/geometry/navigation/src
Comment 3 Pedro.Arce 2009-01-20 20:57:17 CET
Created attachment 34 [details]
To be put in source/geometry/navigation/include
Comment 4 Pedro.Arce 2009-01-20 20:59:09 CET
Dear Derek,

This is a known problem. The code regrettably did not enter in the release, our apologies. I am attaching it.

Pedro
Comment 5 Pedro.Arce 2009-02-21 22:33:23 CET
There is also a known problem when the G4RegularNavigation is used and the optiion to skip boundaries between voxels of the same material is switched on. The voxel ID of the secondary tracks produced by a particle that travels through several voxels is not properly updated. To avoid this problem, you have to modify the method G4SteppingManager::SetInitialStep, line 315 of source/tracking/src/G4SteppingManager.cc file 

if(newTopVolume != oldTopVolume ) {

by

if(newTopVolume != oldTopVolume || oldTopVolume->GetRegularStructureId() == 1 ){