Problem 694

Summary: problem with geometry
Product: Geant4 Reporter: zbiri
Component: geometryAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 6.2   
Hardware: PC   
OS: Linux   

Description zbiri 2004-11-24 11:20:15 CET
I define a world volume as a tube which contain a second tube, with tube1>tube2.
In compilation i have the following error message:

cannot convert `G4PVPlacement*' to `G4LogicalVolume*' in assignment

please can you help me to understund origin of this message.
Comment 1 Gabriele Cosmo 2004-11-25 01:32:59 CET
It seems here you have a problem in the way you're coding your detector
description in C++. G4PVPlacement and G4LogicalVolume are two different
types that obviously cannot be converted !  A physical-volume is NOT a
logical-volume ...
Please, check carefully what you're doing in your code.
Also please, do not post questions in the bug-report system which is just
meant to address potential bugs in the Geant4 code.
Use the Hypernews Forum instead, thanks.