49 G4int nBin[] = { 1, 1, 1 };
68 auto itr = store->begin();
69 for(; itr != store->end(); itr++)
76 auto pvItr = pvStore->begin();
77 for(; pvItr != pvStore->end(); pvItr++)
79 if((*pvItr)->GetLogicalVolume() == (*itr))
81 nb += (*pvItr)->GetMultiplicity();
84 G4int nBin[] = { nb, 1, 1 };
87 auto region = (*itr)->GetRegion();
88 if((region !=
nullptr) && !(region->IsInMassGeometry()))
91 ed <<
"Logical Volume with name <" <<
logVolName
92 <<
"> is not used in the mass world.";
101 ed <<
"Logical Volume with name <" <<
logVolName <<
"> is not found";
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
#define G4MUTEX_INITIALIZER
G4GLOB_DLL std::ostream G4cout
static G4LogicalVolumeStore * GetInstance()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
static G4PhysicalVolumeStore * GetInstance()
void SetupGeometry(G4VPhysicalVolume *) override
G4ScoringRealWorld(G4String lvName)
void List() const override
virtual void List() const
G4MultiFunctionalDetector * fMFD
G4LogicalVolume * fMeshElementLogical
void SetNumberOfSegments(G4int nSegment[3])
void SetSize(G4double size[3])