6#include "G4LogicalVolumeStore.hh"
12 G4LogicalVolumeStore *lvs=G4LogicalVolumeStore::GetInstance();
13 for (
unsigned int i=0;i<lvs->size();i++)
15 std::string lname=((lvs->operator[](i))->GetName());
17 return (lvs->operator[](i));
28 const std::string& PVname)
35 if (PVname ==
static_cast<const std::string&
>(pv->GetName()))
46 return physVolIter->second;
59 if (name ==
static_cast<const std::string&
>(pv->GetName()))
PVMap m_thePhysicalVolumes
void SetPhysicalVolumeList(const std::string &)
const G4VPhysicalVolume * GetPhysicalVolume(int) const
G4LogicalVolume * GetLV(const std::string &)
G4LogicalVolume * m_theLogicalVolume
PhysicalVolumeAccessor(const std::string &)