Re: (no subject)

From: Andrei Gheata <Andrei.Gheata_at_cern.ch>
Date: Wed, 11 May 2005 16:09:38 +0200


Hi Dmitry,

> Top volume is SiliconPlatePadX0. Master volume is TOP

This is quite strange: you should get TOP instead of SiliconPlatePadX0. Make sure TOP is the first volume that you create in your ConstructGeometry. Make also sure that you do not draw some volume meanwhile because this will change the current top volume.

> Warning in <TGeoManager::CloseGeometry>: geometry already closed

If your geometry is built/closed directly via TGeo (not VMC) you should call gMC->SetRootGeometry() after gGeoManager->CloseGeometry()

> Also a not clear thing for me is that I assumed to build the geometry in
> MCApplication::ConstructGeometry()

Your assumption is correct: here is the place to build your geometry or to load it from a root file.

Hope this helps,
Cheers,
Andrei

Dmitry Naumov wrote:

> Dear VMC developers,
>
> Let me ask you a further question. Just briefly let me remind -
> I adapted Ex03 from VMC for my application which builds
> geometry with TGeo, converts it in memory to G3,4 geometries.
>
> Up to now I was plying mainly with G4 engine, now I decided
> to check what happens if I turn on G3 instead of G4. What I find
> is that my original geometry defined as:
> TOP
> TOP/Plates
> TOP/Plates/tubes
> etc
> is seen with G3 in a strange way:
>
> <skip>
> Top volume is SiliconPlatePadX0. Master volume is TOP
> Warning in <TGeoManager::CloseGeometry>: geometry already closed
> <skip>
>
> Also a not clear thing for me is that I assumed to build the geometry in
> MCApplication::ConstructGeometry()
>
> This works perfectly in G4 interface, while it crashes with G3 interface.
> In order not have this crash I have to build the geometry before
> InitMC() method.
> Is it normal or I am confusing something?
>
>
> Thank you
> Dmitry
>
Received on Wed May 11 2005 - 16:14:31 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:21 MET