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?"
G4VPhysicalVolume * fpLastPV
G4PhysicalVolumeModel * fpPVModel
void ProcessVolume(const G4VSolid &)
std::deque< G4double > fDensityStack
G4PhysicalVolumeMassScene(G4PhysicalVolumeModel *)
virtual G4int GetCopyNo() const =0
G4Material * GetCurrentMaterial() const
G4int GetCurrentDepth() const
G4VPhysicalVolume * GetCurrentPV() const
G4GLOB_DLL std::ostream G4cout
virtual ~G4PhysicalVolumeMassScene()
const G4String & GetName() const
G4double GetDensity() const