Message: Excluding GDML module from write Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Excluding GDML module from write 

Forum: Persistency
Date: 10 Aug, 2017
From: Jeremy McCormick <Jeremy McCormick>


I have a GDML geometry defined in a series of modules with multiple GDML files (which overall is working fine). I load the geometry via a single 'detector.gdml' file that references these module files.

In one of these modules there is a complex volume defined which uses a shape definition that is not supported by ROOT. So when exporting to a flat file for reading into the ROOT geometry manager, I would like to exclude it.

What is the best way to go about doing this?

The best way I have come up with is defining multiple setup elements, with one of them referencing a world volume hierarchy where this module is not included. Then I can reference the name of this setup when writing out the geometry.

Is this is easiest way to go about accomplishing this exclusion or perhaps there is a more obvious method?


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

1 None: Re: Excluding GDML module from write   (John Watts - 11 Aug, 2017)
 Add Message Add Message
to: "Excluding GDML module from write"

 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 ]