9 #include "G4PhysicalVolumeStore.hh"
10 #include "G4LogicalVolume.hh"
13 #include "GaudiKernel/Bootstrap.h"
14 #include "GaudiKernel/ISvcLocator.h"
15 #include "GaudiKernel/IMessageSvc.h"
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