|Message: Re: Local/Global coordinate transformation to establish primary vertex?||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)|
I have the same question as James, except I don't have a moveable phantom. I'm trying to simulate radioactive sources and I don't want to have to calculate it's global position by hand in order to set the primary vertex.
I don't follow the logic in your reply to James. To the extent that one can write a description of a geometry in C++, the coordinate transformation of every volume is defined explicitly outside of a run. I can understand that in order to allow for various configurations from the same C++ code, a geometry isn't truly "defined" until a Construct stage, in which the flags are handled and a particular geometry is compiled. However, the notion that one "must" select some global point in order to find the location of a particular volume is, I think, absurd. At least by the end of the Construct stage, G4 should be able to search the geometry tree for a physical volume name and determine whether or not several copies of the same name exist. If someone wants to find the global position / rotation / transformation of a particular volume, they should be able to do so outside of tracking (e.g. in the primary vertex generation phase) by supplying a name and, if necessary, a copy number. Can't something like this be implemented somewhere in G4, so that users don't have to do this themselves all the time? I would think that in the majority of cases in which this would be useful, the user is going to be requesting some particular volume that is placed only once, so only those with lots of copies are going to need to do some work by hand (i.e. to find the copy number).
|Inline Depth:||Outline Depth:||Add message:|