65{
68 auto itr = store->begin();
69 for(; itr != store->end(); itr++)
70 {
72 {
76 auto pvItr = pvStore->begin();
77 for(; pvItr != pvStore->end(); pvItr++)
78 {
79 if((*pvItr)->GetLogicalVolume() == (*itr))
80 {
81 nb += (*pvItr)->GetMultiplicity();
82 }
83 }
84 G4int nBin[] = { nb, 1, 1 };
86
87 auto region = (*itr)->GetRegion();
88 if((region != nullptr) && !(region->IsInMassGeometry()))
89 {
91 ed <<
"Logical Volume with name <" <<
logVolName
92 << "> is not used in the mass world.";
94 }
95
97 return;
98 }
99 }
101 ed <<
"Logical Volume with name <" <<
logVolName <<
"> is not found";
103}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
static G4LogicalVolumeStore * GetInstance()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
static G4PhysicalVolumeStore * GetInstance()
G4MultiFunctionalDetector * fMFD
G4LogicalVolume * fMeshElementLogical