Problem 694 - problem with geometry
Summary: problem with geometry
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry (show other problems)
Version: 6.2
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2004-11-24 11:20 CET by zbiri
Modified: 2004-11-25 01:32 CET (History)
0 users

See Also:


Attachments

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