70{
73 auto itr = store->begin();
74 for(; itr != store->end(); ++itr)
75 {
77 {
81 auto pvItr = pvStore->begin();
82 for(; pvItr != pvStore->end(); ++pvItr)
83 {
84 if((*pvItr)->GetLogicalVolume() == (*itr))
85 {
86 nb += (*pvItr)->GetMultiplicity();
87 }
88 }
89 G4int nBin[] = { nb, 1, 1 };
91
92 auto region = (*itr)->GetRegion();
93 if((region != nullptr) && !(region->IsInMassGeometry()))
94 {
96 ed <<
"Logical Volume with name <" <<
logVolName
97 << "> is not used in the mass world.";
99 }
100
102 return;
103 }
104 }
106 ed <<
"Logical Volume with name <" <<
logVolName <<
"> is not found";
108}
G4TemplateAutoLock< G4Mutex > G4AutoLock
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
static G4LogicalVolumeStore * GetInstance()
static G4PhysicalVolumeStore * GetInstance()
G4MultiFunctionalDetector * fMFD
G4LogicalVolume * fMeshElementLogical