GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » TGeoCompositeShape sustraction
Re: TGeoCompositeShape sustraction [message #5087 is a reply to message #5086] Wed, 26 September 2007 17:13 Go to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi that is still the old release.

I have checked again, it works.
the problem was related with a bad copy numbering.


anyway if somebody tries to substrate two volumes by using
TGeoCompositeShape, pay attention because there is a bug in the root class documentation.

TGeoCompositeShape *cv = new TGeoCompositeShape("cv"," first\ second")

Don't use (\) for susbatration, it doesn't work.
The proper expression is (-)
TGeoCompositeShape *cv = new TGeoCompositeShape("cv"," first- second")

best regards
alicia
 
Read Message
Read Message
Read Message
Previous Topic: Bug in trackbase
Next Topic: Problem with cmake
Goto Forum:
  


Current Time: Fri Mar 01 16:23:25 CET 2024

Total time taken to generate the page: 0.01099 seconds