#include <G4VUserParallelWorld.hh>
Definition at line 48 of file G4VUserParallelWorld.hh.
G4VUserParallelWorld::G4VUserParallelWorld |
( |
G4String |
worldName | ) |
|
G4VUserParallelWorld::~G4VUserParallelWorld |
( |
| ) |
|
|
virtual |
virtual void G4VUserParallelWorld::Construct |
( |
| ) |
|
|
pure virtual |
void G4VUserParallelWorld::ConstructSD |
( |
| ) |
|
|
virtual |
Definition at line 48 of file G4VUserParallelWorld.cc.
void SetName(const G4String &pName)
static G4TransportationManager * GetTransportationManager()
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
Definition at line 58 of file G4VUserParallelWorld.cc.
62 for(G4LogicalVolumeStore::iterator
pos=store->begin();
pos!=store->end();
pos++)
64 if((*pos)->GetName()==logVolName)
68 G4String eM =
"More than one logical volumes of the name <";
69 eM += (*pos)->GetName();
70 eM +=
"> are found and thus the sensitive detector <";
72 eM +=
"> cannot be uniquely assigned.";
73 G4Exception(
"G4VUserParallelWorld::SetSensitiveDetector",
82 G4String eM2 =
"No logical volume of the name <";
84 eM2 +=
"> is found. The specified sensitive detector <";
86 eM2 +=
"> couldn't be assigned to any volume.";
87 G4Exception(
"G4VUserParallelWorld::SetSensitiveDetector",
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
static G4LogicalVolumeStore * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
Definition at line 93 of file G4VUserParallelWorld.cc.
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
G4String G4VUserParallelWorld::fWorldName |
|
protected |
The documentation for this class was generated from the following files: