Message: Re: GPS confine and GDML Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GPS confine and GDML 

Forum: Geometry
Re: Question GPS confine and GDML (bilal)
Date: 07 Mar, 2013
From: Witek Pokorski <Witek Pokorski>

Hi Bilal,

I am not sure I understand your question.

GDML parser, parses the GDML file and instantiate the G4 geometry in memory. Once the parsing is done (at the very beginning of the run) the GDML parser is not involved anymore. You just have the G4 geometry in memory as you would have it doing the normal detector construction using C++ G4 geometry classes.

How to you attach your sources to the volumes? Do you do it by name of the volume? Could it be that the names of the volumes are different when you build the geometry from GDML or from C++?

As I have said, once the parsing of the GDML file is done, the whole G4 geometry is in memory, and the parser.Read method is not involved anymore.

Please try to see how exactly GPS confinement works, so you can then trace down the difference between your GDML geometry construction and normal C++ one.

Cheers, Witek

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: GPS confine and GDML   (Michael H. Kelsey - 07 Mar, 2013)
1 None: Re: GPS confine and GDML   (Witek Pokorski - 07 Mar, 2013)
2 None: Re: GPS confine and GDML   (bilal - 07 Mar, 2013)
1 None: Re: GPS confine and GDML   (Mike Kelsey - 07 Mar, 2013)
... 1 Message(s)
 Add Message Add Message
to: "Re: GPS confine and GDML"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]