Message: Re: Discrepancy in mass calculations Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Discrepancy in mass calculations 

Forum: Geometry
Re: None Discrepancy in mass calculations (Bruno)
Date: 06 Apr, 2018
From: Gabriele Cosmo <Gabriele Cosmo>

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:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Discrepancy in mass calculations   (Bruno - 06 Apr, 2018)
(_ Feedback: Re: Discrepancy in mass calculations   (Gabriele Cosmo - 09 Apr, 2018)
 Add Message Add Message
to: "Re: Discrepancy in mass calculations"

 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 ]