Message: Re: Can GEANT4 measure the volume of an object? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Can GEANT4 measure the volume of an object? 

Forum: Geometry
Re: Question Can GEANT4 measure the volume of an object? (Anuj Kapadia)
Re: None Re: Can GEANT4 measure the volume of an object? (michel maire)
Date: 23 Jul, 2008
From: John Allison <John Allison>

The relevant method is in G4VSolid:

    virtual G4double GetCubicVolume();
      // Returns an estimation of the solid volume in internal units.
      // This method may be overloaded by derived classes to compute the
      // exact geometrical quantity for solids where this is possible,
      // or anyway to cache the computed value.
      // Note: the computed value is NOT cached.

which is used by ASCIITree mentioned by Joseph Perl in his earlier reply. ASCIITree also uses G4LogicalVolume::GetMass, as mentioned by Michel Maire, but this always takes account of the daughters.

 Add Message Add Message
to: "Re: Can GEANT4 measure the volume of an object?"

 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 ]