97 if (currentDepth == 0)
fVolume = currentVolume;
109 G4double subtractedMass = currentVolume * motherDensity;
110 G4double addedMass = currentVolume * currentDensity;
111 fMass -= subtractedMass;
128 "G4PhysicalVolumeMassScene::AccrueMass: WARNING:"
129 "\n Mass going negative for \""
133 ". Larger than mother?"
G4PhysicalVolumeMassScene(G4PhysicalVolumeModel *)
G4VPhysicalVolume * fpLastPV
G4Material * GetCurrentMaterial() const
G4double GetDensity() const
G4int GetCurrentDepth() const
G4GLOB_DLL std::ostream G4cout
virtual ~G4PhysicalVolumeMassScene()
const G4String & GetName() const
G4PhysicalVolumeModel * fpPVModel
virtual G4int GetCopyNo() const =0
void AccrueMass(const G4VSolid &)
G4VPhysicalVolume * GetCurrentPV() const
std::deque< G4double > fDensityStack