58 B02SetGeometryCell::iterator it =
59 fSetGeometryCell.find(cell);
60 if (it != fSetGeometryCell.end()) {
61 G4cout <<
"B02PVolumeStore::AddPVolume: cell already stored"
66 fSetGeometryCell.insert(cell);
76 for (B02SetGeometryCell::const_iterator it = fSetGeometryCell.begin();
77 it != fSetGeometryCell.end(); ++it) {
84 G4cout <<
"B02PVolumeStore::GetPVolume: no physical volume named: "
85 << name <<
", found" <<
G4endl;
94 for (B02SetGeometryCell::const_iterator it = fSetGeometryCell.begin();
95 it != fSetGeometryCell.end(); ++it) {
97 std::ostringstream os;
98 os << vol.
GetName() <<
"_" << it->GetReplicaNumber()
106 NameString += cellname;
114 return fSetGeometryCell.size();
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
const G4VPhysicalVolume * GetPVolume(const G4String &name) const
Definition of the B02PVolumeStore class.
G4String GetPNames() const
void AddPVolume(const G4GeometryCell &cell)