50 G4int nBin[] = {1,1,1};
70 auto itr = store->begin();
71 for(;itr!=store->end();itr++)
78 auto pvItr = pvStore->begin();
79 for(;pvItr!=pvStore->end();pvItr++)
81 if((*pvItr)->GetLogicalVolume()==(*itr))
82 { nb += (*pvItr)->GetMultiplicity(); }
84 G4int nBin[] = {nb,1,1};
87 auto region = (*itr)->GetRegion();
88 if(region && !(region->IsInMassGeometry()))
91 ed <<
"Logical Volume with name <" <<
logVolName <<
"> is not used in the mass world.";
100 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])