Geant4-11
|
#include <G4VUserDetectorConstruction.hh>
Public Member Functions | |
virtual void | CloneF () |
virtual void | CloneSD () |
virtual G4VPhysicalVolume * | Construct ()=0 |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
virtual void | ConstructSDandField () |
G4VUserDetectorConstruction () | |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
virtual | ~G4VUserDetectorConstruction () |
Protected Member Functions | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Private Attributes | |
std::vector< G4VUserParallelWorld * > | parallelWorld |
Definition at line 50 of file G4VUserDetectorConstruction.hh.
G4VUserDetectorConstruction::G4VUserDetectorConstruction | ( | ) |
Definition at line 47 of file G4VUserDetectorConstruction.cc.
|
virtual |
Definition at line 52 of file G4VUserDetectorConstruction.cc.
|
virtual |
Definition at line 126 of file G4VUserDetectorConstruction.cc.
References G4FieldManager::Clone(), FatalException, G4Exception(), G4LogicalVolumeStore::GetInstance(), second, and G4LogicalVolume::SetFieldManager().
|
virtual |
Definition at line 177 of file G4VUserDetectorConstruction.cc.
References G4VSensitiveDetector::Clone(), FatalException, G4Exception(), G4VSensitiveDetector::GetFullPathName(), G4LogicalVolumeStore::GetInstance(), G4VSensitiveDetector::GetName(), second, and G4LogicalVolume::SetSensitiveDetector().
|
pure virtual |
Implemented in DetectorConstruction, MyDetectorConstruction, pyG4VUserDetectorConstruction::CB_G4VUserDetectorConstruction, ExN01DetectorConstruction, ExN03DetectorConstruction, EzDetectorConstruction, QDetectorConstruction, and QDetectorConstruction.
Referenced by export_G4VUserDetectorConstruction(), G4RunManager::InitializeGeometry(), and G4ErrorRunManagerHelper::SetUserInitialization().
G4int G4VUserDetectorConstruction::ConstructParallelGeometries | ( | ) |
Definition at line 73 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by G4RunManager::InitializeGeometry().
void G4VUserDetectorConstruction::ConstructParallelSD | ( | ) |
Definition at line 86 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by G4RunManager::InitializeGeometry(), and G4WorkerRunManager::InitializeGeometry().
|
virtual |
Definition at line 111 of file G4VUserDetectorConstruction.cc.
Referenced by G4RunManager::InitializeGeometry(), and G4WorkerRunManager::InitializeGeometry().
G4int G4VUserDetectorConstruction::GetNumberOfParallelWorld | ( | ) | const |
Definition at line 96 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by GetParallelWorld().
G4VUserParallelWorld * G4VUserDetectorConstruction::GetParallelWorld | ( | G4int | i | ) | const |
Definition at line 103 of file G4VUserDetectorConstruction.cc.
References GetNumberOfParallelWorld(), and parallelWorld.
void G4VUserDetectorConstruction::RegisterParallelWorld | ( | G4VUserParallelWorld * | aPW | ) |
Definition at line 57 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4VUserParallelWorld::GetName(), and parallelWorld.
|
protected |
Definition at line 229 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4LogicalVolumeStore::GetInstance(), G4LogicalVolumeStore::GetMap(), G4VSensitiveDetector::GetName(), pos, and SetSensitiveDetector().
Referenced by MyDetectorConstruction::SetSDtoScoreVoxel(), and SetSensitiveDetector().
|
protected |
Definition at line 268 of file G4VUserDetectorConstruction.cc.
References G4SDManager::AddNewDetector(), G4MultiSensitiveDetector::AddSD(), G4Exception(), G4VSensitiveDetector::GetName(), G4LogicalVolume::GetName(), G4SDManager::GetSDMpointer(), G4LogicalVolume::GetSensitiveDetector(), JustWarning, and G4LogicalVolume::SetSensitiveDetector().
|
private |
Definition at line 82 of file G4VUserDetectorConstruction.hh.
Referenced by ConstructParallelGeometries(), ConstructParallelSD(), GetNumberOfParallelWorld(), GetParallelWorld(), and RegisterParallelWorld().