50 G4int nBin[] = { 1, 1, 1 };
71 auto itr = store->begin();
72 for(; itr != store->end(); itr++)
79 auto pvItr = pvStore->begin();
80 for(; pvItr != pvStore->end(); pvItr++)
82 if((*pvItr)->GetLogicalVolume() == (*itr))
84 nb += (*pvItr)->GetMultiplicity();
87 G4int nBin[] = { nb, 1, 1 };
90 auto region = (*itr)->GetRegion();
91 if(region && !(region->IsInMassGeometry()))
94 ed <<
"Logical Volume with name <" <<
logVolName
95 <<
"> is not used in the mass world.";
104 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()
virtual void List() const
virtual void SetupGeometry(G4VPhysicalVolume *)
G4ScoringRealWorld(G4String lvName)
virtual void List() const
G4MultiFunctionalDetector * fMFD
G4LogicalVolume * fMeshElementLogical
void SetNumberOfSegments(G4int nSegment[3])
void SetSize(G4double size[3])