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