Problem 1433 - VOLU_ASSEMBLY not being placed
Summary: VOLU_ASSEMBLY not being placed
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: persistency/ascii (show other problems)
Version: 9.6
Hardware: All All
: P5 trivial
Assignee: Pedro.Arce
URL:
Depends on:
Blocks:
 
Reported: 2013-01-30 23:46 CET by Stephen Roe
Modified: 2013-04-02 15:54 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Stephen Roe 2013-01-30 23:46:39 CET
VOLU_ASSEMBLYs are not being added to the geometry.

This is demonstrated in examples/extended/persistency/P03
Rename g4geom_assembly.txt to g4geom.txt and then run textGeom

The issue appears to have been introduced in version 9.4.

It can be resolved by removing the else statement on line 164 in G4tgbVolume.cc in the method G4tgbVolume::ConstructG4Volumes

This else statement prevents the Assembly tree from being traversed and the volumes within the assembly being added to the geometry.
Comment 1 Stephen Roe 2013-01-30 23:48:08 CET
I should add that the source file references are from the 9.6 release.