33 G4PhysicalVolumeStore* store = G4PhysicalVolumeStore::GetInstance();
34 std::set<std::pair<G4String, G4String>> volumes;
38 for (
unsigned int i = 0; i < store->size(); i++) {
40 std::pair<G4String, G4String>(
41 (*store)[i]->GetName(), (*store)[i]->GetLogicalVolume()->GetName()
45 for (
auto& vol : volumes) {
47 <<
" full: " << vol.first
48 <<
" logical: " << vol.second