57 B03SetGeometryCell::iterator it =
58 fSetGeometryCell.find(cell);
59 if (it != fSetGeometryCell.end()) {
60 G4cout <<
"B03PVolumeStore::AddPVolume: cell already stored"
65 fSetGeometryCell.insert(cell);
75 for (B03SetGeometryCell::const_iterator it = fSetGeometryCell.begin();
76 it != fSetGeometryCell.end(); ++it) {
83 G4cout <<
"B03PVolumeStore::GetPVolume: no physical volume named: "
84 << name <<
", found" <<
G4endl;
93 for (B03SetGeometryCell::const_iterator it = fSetGeometryCell.begin();
94 it != fSetGeometryCell.end(); ++it) {
96 std::ostringstream os;
97 os << vol.
GetName() <<
"_" << it->GetReplicaNumber()
105 NameString += cellname;
Definition of the B03PVolumeStore class.
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4String GetPNames() const
const G4VPhysicalVolume * GetPVolume(const G4String &name) const
void AddPVolume(const G4GeometryCell &cell)