Problem 566 - AssemblyVolume instance number
Summary: AssemblyVolume instance number
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry (show other problems)
Version: 5.2
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2004-01-19 03:16 CET by farnea
Modified: 2004-01-19 07:12 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description farnea 2004-01-19 03:16:43 CET
In G4AssemblyVolume.cc, lines 168, 248 the condition:

if( copyNumBase != 0 )

should be:

if( copyNumBase == 0 )

otherwise it is not possible to force a copy number for the physical objects.
Comment 1 Radovan.Chytracek 2004-01-19 06:10:59 CET
Hi,
    you're correct. It needs to be reversed to work as ment to be.

Radovan
Comment 2 Gabriele Cosmo 2004-01-19 07:12:59 CET
Thanks. The fix is now introduced in the development version.
It will be available in a future patch to the latest release.