Problem 1041 - DICOM example does not compile
Summary: DICOM example does not compile
Status: RESOLVED FIXED
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: medical/DICOM (show other problems)
Version: 9.2
Hardware: All All
: P5 minor
Assignee: Pedro.Arce
URL:
Depends on:
Blocks:
 
Reported: 2009-01-14 16:30 CET by Derek Dolney
Modified: 2009-02-21 22:33 CET (History)
1 user (show)

See Also:


Attachments
To be put in source/geometry/navigation/src (351 bytes, text/x-c++src)
2009-01-20 20:56 CET, Pedro.Arce
Details
To be put in source/geometry/navigation/src (13.63 KB, text/x-c++src)
2009-01-20 20:56 CET, Pedro.Arce
Details
To be put in source/geometry/navigation/include (373 bytes, text/x-c++hdr)
2009-01-20 20:57 CET, Pedro.Arce
Details

Note You need to log in before you can comment on or make changes to this problem.
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 ){