|Message: Re: GPS confine and GDML||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
> names aren't necessarily constant. Specifically, when you export GDML, > the volume names generated start with the user's assigned names, but > also have the hexadecimal pointer address appended!
By default yes, but you can switch it off.
> If this user wrote their GPS macros without those (run dependent) > pointers as part of the name strings, then their macro won't work. IMHO, > the exported GDML ought to match the original GEANT4.
If it can... but the problem is that in C++ object the names (strings) do not need to be unique. You can have several volumes with the name 'MyVolume' and there is not problem as far as G4 geometry is concerned. This does not work, however, in GDML, because the names MUST be unique. The name is the only way 'objets' are identified within the GDML description.
That's why we came up with that idea of appending the hexadecimal pointer (guaranteed to be unique). Very ugly, I agree, but 100% safe and efficient.
But, yes, it can be switched of during the writing, see the third parameter:
inline void Write(const G4String& filename, const G4VPhysicalVolume* pvol = 0, G4bool storeReferences = true, const G4String& SchemaLocation = G4GDML_DEFAULT_SCHEMALOCATION); // // Exports on a GDML file, specified by 'filename' a geometry tree // starting from 'pvol' as top volume. Uniqueness of stored entities // is guaranteed by storing pointer-references by default. // Alternative path for the schema location can be specified; by default // the URL to the GDML web site is used.
> > -- Mike >