62 for(G4LogicalVolumeStore::iterator pos = store->begin(); pos != store->end();
65 if((*pos)->GetName() == logVolName)
69 G4String eM =
"More than one logical volumes of the name <";
70 eM += (*pos)->GetName();
71 eM +=
"> are found and thus the sensitive detector <";
73 eM +=
"> cannot be uniquely assigned.";
74 G4Exception(
"G4VUserParallelWorld::SetSensitiveDetector",
"Run5052",
83 G4String eM2 =
"No logical volume of the name <";
85 eM2 +=
"> is found. The specified sensitive detector <";
87 eM2 +=
"> couldn't be assigned to any volume.";
88 G4Exception(
"G4VUserParallelWorld::SetSensitiveDetector",
"Run5053",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static G4LogicalVolumeStore * GetInstance()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
static G4SDManager * GetSDMpointer()
void AddNewDetector(G4VSensitiveDetector *aSD)
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
static G4TransportationManager * GetTransportationManager()
void SetName(const G4String &pName)
G4VUserParallelWorld(G4String worldName)
G4VPhysicalVolume * GetWorld()
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
virtual void ConstructSD()
virtual ~G4VUserParallelWorld()