|Message: Re: Discrepancy in mass calculations||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)|
Hi Bruno, by setting the 'propagate' boolean flag to 'false', GetMass() returns the mass of the logical volume tree subtracted by the portion of -its- mass for the volume(s) occupied by the daughters, taking into account if these are replicated and/or parameterised. Note also that the mass (and volume) computation provided can only be an approximate estimation, as not for all shapes it is possible to compute the exact capacity. Cheers, Gabriele ---------------- On Thu, 05 Apr 2018 18:20:08 GMT, Bruno wrote: > Hi! I have an LXe volume with a bunch of daughters inside (some teflon > pieces, and a Photo Multiplier Tube). I need to find the mass of LXe > inside, so I proceeded in two different ways > > 1. I calculated the volume of my LXe solid using GetCubicVolume(), then > did the same for all its daughters and subtracted their volume from the > LXe volume. Getting a number, I multiplied by the density I coded into > the program for LXe, and got 6.422kg > > 2. I used GetMass(true, false) on the LXe Logical Volume. The second > argument, if I understand correctly, means it will neglect the daughter > volumes. That gave me 6.2kg. > > If the GetMass() is internally calculated by Geant4 exactly by > approximating the cubic volume of our LV and using the density of the > material, as it says in the Application Guide, I shouldn't get such a > high disparity, right? I don't know what here could be wrong. Has anyone > had similar problems?
|Inline Depth:||Outline Depth:||Add message:|