Re: Overlap check with sampling option

From: Andrei Gheata <Andrei.Gheata_at_cern.ch>
Date: Mon, 15 Oct 2007 13:35:41 +0200


Dear Alberto,

If you use a ROOT version more recent than August 20 you get the overlaps created in the list. You should however be aware that for each CheckOverlaps() query this list is overwritten !! Do it volume by volume. Be aware of not abusing assemblies if you can - as well as composite shapes, they may spoil the overall performance...

Andrei

Alberto Pulvirenti wrote:
> Dear Andrei,
>
> the overlaps I detect are findable only with the "s" option in
> TGeoManager::CheckOverlaps(), so they cannot be listed in the "Illegal
> Overlap" directory which can be browsed, in fact that directory is empty.
> The problem is that in simple geometry examples I manage to view
> directly the red dots which fill the overlapping regions, but in this
> case, where I place lots of volumes and subvolumes, this is not as clear.
>
> Usually, I use also to put VisLevel to 0 by default.
> I will try with TopVisible.
>
> But in general, are you telling me that it will not be possible in any
> way to retrieve this overlapped region except than looking at the
> drawing and trying to find it?
>
> Cheers, thanks.
>
> Alberto
>
> Andrei Gheata wrote:

>> Hi Alberto,
>>
>> First check the list of overlaps in the browser - it may give hints.
>>
>> After the drawing is done, try of the following:
>> gGeoManager->SetTopVisible();
>> gGeoManager->SetVisLevel(0);
>> This may help to spotting the red points position.
>>
>> You cannot retrieve the polymarker (except by clicking on it in the pad)
>>
>> Cheers,
>> Andrei
>>
>> Alberto Pulvirenti wrote:
>>> Dear all,
>>>
>>> I am working with TGeo and I built a somewhat complicated assembly of 
>>> volumes, which has to be then placed on another container volume.
>>> When I do this operation, I run the CheckOverlaps with the sampling 
>>> method, which is more suitable for my purposes. This operation finds 
>>> an overlap region, but I got confused when looking at the drawing of 
>>> this object, because it contains several volumes, and I didn't manage 
>>> to find where the overlap region is visually. Is there a method which 
>>> allow to retrieve the point where the overlap has been found, in 
>>> order to look in the right place and correct it?
>>>
>>> Thanks, best regards
>>>
>>>       Alberto
>>>

>
Received on Mon Oct 15 2007 - 13:36:00 CEST

This archive was generated by hypermail 2.2.0 : Mon Oct 15 2007 - 17:50:01 CEST