57 B02SetGeometryCell::iterator it =
58 fSetGeometryCell.find(cell);
59 if (it != fSetGeometryCell.end()) {
60 G4cout <<
"B02PVolumeStore::AddPVolume: cell already stored"
65 fSetGeometryCell.insert(cell);
74 for (B02SetGeometryCell::const_iterator it = fSetGeometryCell.begin();
75 it != fSetGeometryCell.end(); ++it) {
82 G4cout <<
"B02PVolumeStore::GetPVolume: no physical volume named: "
83 << name <<
", found" <<
G4endl;
92 for (B02SetGeometryCell::const_iterator it = fSetGeometryCell.begin();
93 it != fSetGeometryCell.end(); ++it) {
95 std::ostringstream os;
96 os << vol.
GetName() <<
"_" << it->GetReplicaNumber()
104 NameString += cellname;
112 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)