Re: "'Vacuum' has no defaults" when ROOT read geometry written in GDML

From: Xinchun Tian <tianxc_at_gmail.com>
Date: Fri, 8 Apr 2011 11:08:54 -0400


Hi Andrei,

OS: Scientific Linux SLF release 5.4 (Lederman) GCC: 4.5.1
ROOT: 5.28.00a

Thanks,
Xinchun

On Fri, Apr 8, 2011 at 11:03 AM, Andrei Gheata <Andrei.Gheata_at_cern.ch>wrote:

> Hi Xinchun,
> What root version are you using? I cannot reproduce.
>
> Regards,
> Andrei
>
>
> On 04/07/2011 03:49 PM, Xinchun Tian wrote:
>
>> Hi Andrei,
>>
>> Thanks for you help, but I have already tried what you have suggested
>> and I still got the same error:
>>
>> <material Z="1" formula=" " name="Vacuum" >
>> <D value="1e-25" />
>> <atom value="1.00794" />
>> </material>
>>
>> Any idea?
>>
>> Thanks,
>> Xinchun
>>
>> On Thu, Apr 7, 2011 at 4:08 AM, Andrei Gheata <Andrei.Gheata_at_cern.ch
>> <mailto:Andrei.Gheata_at_cern.ch>> wrote:
>>
>> Hi,
>> Define materials like below. If they are made of single elements, do
>> not define them as compounds.
>>
>> Cheers,
>> Andrei
>>
>> <material Z="13.0" name="ALUMINIUM">
>> <D value="2.7"/>
>> <atom value="26.98"/>
>> </material>
>> <element formula="IRON" Z="26.0" name="FE">
>> <atom value="55.847"/>
>> </element>
>> <element formula="NICKEL" Z="28.0" name="NI">
>> <atom value="58.71"/>
>> </element>
>> <element formula="CHROMIUM" Z="24.0" name="CR">
>> <atom value="51.998"/>
>> </element>
>> <material name="IRON(COMPOUND)">
>> <D value="7.8"/>
>> <fraction ref="NI" n="0.099"/>
>> <fraction ref="FE" n="0.703964"/>
>> <fraction ref="CR" n="0.197"/>
>> </material>
>>
>>
>>
>> On 04/06/2011 06:41 PM, Xinchun Tian wrote:
>>
>> Hi,
>>
>> I defined "Vacuum" as following:
>>
>> <materials>
>> <element Z="1" formula="Vacuum" name="videRef"> <atom
>> value="1"/></element>
>> <material formula=" " name="Vacuum">
>> <D value="1.e-25" unit="g/cc"/>
>> <fraction n="1.0" ref="videRef"/>
>> </material>
>>
>> <volume name="vCornerCutoutExtruNDOSV">
>> <materialref ref="Vacuum"/>
>> <solidref ref="sCornerCutoutExtruNDOSV"/>
>> </volume>
>>
>> When ROOT read this geometry, I got "'Vacuum' has no defaults",
>> what
>> does that mean and how to solve it?
>>
>> I also played with "Lead" which gives the same message.
>>
>> Thanks,
>>
>> Xinchun
>>
>>
>>
>
Received on Fri Apr 08 2011 - 17:09:01 CEST

This archive was generated by hypermail 2.2.0 : Sat Apr 09 2011 - 23:50:01 CEST