Re: A question about TGeo volumes

From: Alberto Pulvirenti <alberto.pulvirenti_at_ct.infn.it>
Date: Fri, 4 Jul 2008 12:33:23 +0200


Hello,

then another question: when I try to draw those volumes, I don't manage to find a visLevel value which allws me to view both, in order to check appropriately that they are properly placed. Speaking the truth, this composite volume is then a node of another volume. I tried to give a transparency to the container, in order to see the content, but it makes the whole container transparend and I see what is behind it, but not what is INSIDE it. How can I do?

Thanks, best regards

    Alberto

Andrei Gheata wrote:
> Hi Alberto,
>
> Please see below:
>
> Alberto Pulvirenti wrote:
>> Dear ROOTers,
>>
>> I hope that someone can help me in a subtle question about building
>> TGeo volumes.
>> My question is the following: suppose that I have to implement a box
>> of a given material which is surrounded by another box of another
>> material.
>> My first idea would be to build a composite shape given by the
>> subtraction of a box with the dimension of the "outer" one, minus the
>> shape of the inner one, and then to insert inside it (in the
>> remaining empty space), the inner box.
>
> No need to do this.
>
>> Do I gain the same result if I create the outer box as a "full" box
>> and then I insert the inner box as a node of this one?
>
> Yes, this is what a node means: the space filled by the node in a
> volume always belongs to the node.
>
>>
>> Thanks, best regards
>>
>> Alberto
>>
> Cheers,
> Andrei
Received on Fri Jul 04 2008 - 12:33:23 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 04 2008 - 17:50:01 CEST