Problem 179 - Problems with >1 G4PVParameterised placement
Summary: Problems with >1 G4PVParameterised placement
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/volumes (show other problems)
Version: 2.0
Hardware: PC Linux
: P2 normal
Assignee: John Apostolakis
URL: pls email me for example tar ball
Depends on:
Blocks:
 
Reported: 2000-12-20 12:15 CET by Anthony.Faust
Modified: 2000-12-24 19:58 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 Anthony.Faust 2000-12-20 12:15:21 CET
I find that when placing more than one G4PVParameterised
volume in a mother volume, G4 seems to get confused with volume
numbers; it ignores the subvolumes in the parametrised volume and
reports copy numbers as -1. It also begins to report
"G4Tubs::DistanceToOut(p), point p is outside !?" exceptions that
are not reported when only a single parametrised volume is used.
More generally, it occurs when I add a G4PVParameterised volume to
any mother volume that contains any other daughter volumes.
I have created this latter case as an example program that
recreates which I can email to any interested parties.
Comment 1 Makoto.Asai 2000-12-24 19:59:59 CET
By definition one mother volume can have ONLY ONE parameterized volume.
Also, once it has a parameterized volume, it must not have any other
daughter volumes by ordinary placement.