Geant4
10.00.p01
|
#include <G4VUserDetectorConstruction.hh>
Inherited by B01DetectorConstruction, B02DetectorConstruction, B03DetectorConstruction, B1DetectorConstruction, B1DetectorConstruction, B1DetectorConstruction, B2aDetectorConstruction, B2bDetectorConstruction, B2bDetectorConstruction, B3DetectorConstruction, B4cDetectorConstruction, B4dDetectorConstruction, B4DetectorConstruction, B4DetectorConstruction, B5DetectorConstruction, BrachyDetectorConstruction, CCalDetectorConstruction, CexmcSetup, CML2WorldConstruction, Collimator100BeamLine, Collimator40BeamLine, Collimator50BeamLine, Collimator60BeamLine, Collimator70BeamLine, Collimator80BeamLine, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DicomDetectorConstruction, DMXDetectorConstruction, ElectronBenchmarkDetector, Em10DetectorConstruction, eRositaDetectorConstruction, ExErrorDetectorConstruction, ExG4DetectorConstruction01, ExG4DetectorConstruction02, ExGflashDetectorConstruction, exGPSGeometryConstruction, ExN01DetectorConstruction, ExN02DetectorConstruction, ExN03DetectorConstruction, ExN04DetectorConstruction, ExN04DetectorConstruction, ExP01DetectorConstruction, ExP02DetConstrReader, ExP02DetectorConstruction, exrdmDetectorConstruction, ExTGDetectorConstruction, ExTGDetectorConstructionWithCpp, ExTGDetectorConstructionWithCuts, ExTGDetectorConstructionWithSD, EzDetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, F03DetectorConstruction, F04DetectorConstruction, F05DetectorConstruction, F06DetectorConstruction, FCALTestbeamSetup, G01DetectorConstruction, G02DetectorConstruction, G03DetectorConstruction, G04DetectorConstruction, G3toG4DetectorConstruction, G4HumanPhantomConstruction, GammaKnifeDetectorConstruction, GammaRayTelDetectorConstruction, GB01DetectorConstruction, GB02DetectorConstruction, H02DetectorConstruction, LXeDetectorConstruction, MyDetectorConstruction, OpNoviceDetectorConstruction, Par01DetectorConstruction, PassiveCarbonBeamLine, PassiveProtonBeamLine, PurgMagDetectorConstruction, pyG4VUserDetectorConstruction::CB_G4VUserDetectorConstruction, QDetectorConstruction, QDetectorConstruction, RE01DetectorConstruction, RE02DetectorConstruction, RE03DetectorConstruction, RE04DetectorConstruction, RE05DetectorConstruction, RE06DetectorConstruction, RMC01DetectorConstruction, TRTDetectorConstruction, UltraDetectorConstruction, WLSDetectorConstruction, XDetectorConstruction, XrayFluoDetectorConstruction, XrayFluoGeometry, XrayFluoMercuryDetectorConstruction, XrayFluoPlaneDetectorConstruction, and XrayTelDetectorConstruction.
Public Member Functions | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual G4VPhysicalVolume * | Construct ()=0 |
virtual void | ConstructSDandField () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
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 40 of file G4VUserDetectorConstruction.cc.
|
virtual |
Definition at line 43 of file G4VUserDetectorConstruction.cc.
|
virtual |
Definition at line 107 of file G4VUserDetectorConstruction.cc.
References assert, G4FieldManager::Clone(), FatalException, G4Exception(), G4LogicalVolumeStore::GetInstance(), second, and G4LogicalVolume::SetFieldManager().
|
virtual |
Definition at line 153 of file G4VUserDetectorConstruction.cc.
References assert, G4VSensitiveDetector::Clone(), FatalException, G4Exception(), G4VSensitiveDetector::GetFullPathName(), G4LogicalVolumeStore::GetInstance(), G4VSensitiveDetector::GetName(), second, and G4LogicalVolume::SetSensitiveDetector().
|
pure virtual |
Implemented in RE02DetectorConstruction, CexmcSetup, GammaRayTelDetectorConstruction, Em10DetectorConstruction, XrayFluoDetectorConstruction, CML2WorldConstruction, DetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, XrayFluoMercuryDetectorConstruction, F03DetectorConstruction, DetectorConstruction, DetectorConstruction, XrayFluoPlaneDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ExN03DetectorConstruction, DetectorConstruction, UltraDetectorConstruction, DMXDetectorConstruction, PurgMagDetectorConstruction, DetectorConstruction, ExErrorDetectorConstruction, DetectorConstruction, WLSDetectorConstruction, DetectorConstruction, Collimator100BeamLine, Collimator40BeamLine, Collimator50BeamLine, Collimator60BeamLine, Collimator70BeamLine, Collimator80BeamLine, XrayTelDetectorConstruction, G02DetectorConstruction, RMC01DetectorConstruction, DetectorConstruction, DicomDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, B4cDetectorConstruction, B4dDetectorConstruction, FCALTestbeamSetup, ExG4DetectorConstruction02, DetectorConstruction, DetectorConstruction, B4DetectorConstruction, B4DetectorConstruction, DetectorConstruction, F04DetectorConstruction, F06DetectorConstruction, DetectorConstruction, DetectorConstruction, DicomPartialDetectorConstruction, ExN02DetectorConstruction, G03DetectorConstruction, ExP01DetectorConstruction, ExG4DetectorConstruction01, DetectorConstruction, F05DetectorConstruction, LXeDetectorConstruction, PassiveProtonBeamLine, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, XrayFluoGeometry, B5DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, exrdmDetectorConstruction, RE04DetectorConstruction, BrachyDetectorConstruction, eRositaDetectorConstruction, B2aDetectorConstruction, B2bDetectorConstruction, DetectorConstruction, DetectorConstruction, B2bDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ElectronBenchmarkDetector, DetectorConstruction, ExN01DetectorConstruction, DetectorConstruction, MyDetectorConstruction, DetectorConstruction, DetectorConstruction, G3toG4DetectorConstruction, ExGflashDetectorConstruction, PassiveCarbonBeamLine, B3DetectorConstruction, TRTDetectorConstruction, DetectorConstruction, ExP02DetConstrReader, DetectorConstruction, RE06DetectorConstruction, GammaKnifeDetectorConstruction, G4HumanPhantomConstruction, B01DetectorConstruction, B02DetectorConstruction, GB01DetectorConstruction, GB02DetectorConstruction, DetectorConstruction, G01DetectorConstruction, G04DetectorConstruction, EzDetectorConstruction, QDetectorConstruction, QDetectorConstruction, ExN04DetectorConstruction, ExP02DetectorConstruction, RE01DetectorConstruction, RE05DetectorConstruction, B1DetectorConstruction, B1DetectorConstruction, B03DetectorConstruction, ExTGDetectorConstruction, ExTGDetectorConstructionWithCpp, ExTGDetectorConstructionWithCuts, ExTGDetectorConstructionWithSD, RE03DetectorConstruction, B1DetectorConstruction, exGPSGeometryConstruction, XDetectorConstruction, pyG4VUserDetectorConstruction::CB_G4VUserDetectorConstruction, DetectorConstruction, ExN04DetectorConstruction, OpNoviceDetectorConstruction, Par01DetectorConstruction, CCalDetectorConstruction, H02DetectorConstruction, DetectorConstruction, and DetectorConstruction.
Referenced by export_G4VUserDetectorConstruction(), G4RunManager::InitializeGeometry(), and G4ErrorRunManagerHelper::SetUserInitialization().
G4int G4VUserDetectorConstruction::ConstructParallelGeometries | ( | ) |
Definition at line 63 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by G4RunManager::InitializeGeometry().
void G4VUserDetectorConstruction::ConstructParallelSD | ( | ) |
Definition at line 75 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by G4WorkerRunManager::InitializeGeometry(), and G4RunManager::InitializeGeometry().
|
virtual |
Reimplemented in RE02DetectorConstruction, DicomDetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, F03DetectorConstruction, DetectorConstruction, DetectorConstruction, WLSDetectorConstruction, UltraDetectorConstruction, DetectorConstruction, DetectorConstruction, B01DetectorConstruction, DetectorConstruction, B4cDetectorConstruction, B4dDetectorConstruction, F04DetectorConstruction, B4DetectorConstruction, B4DetectorConstruction, F06DetectorConstruction, DetectorConstruction, F05DetectorConstruction, LXeDetectorConstruction, B5DetectorConstruction, ElectronBenchmarkDetector, B2aDetectorConstruction, B2bDetectorConstruction, B2bDetectorConstruction, G4HumanPhantomConstruction, DetectorConstruction, ExGflashDetectorConstruction, B3DetectorConstruction, RE06DetectorConstruction, GB02DetectorConstruction, RE01DetectorConstruction, RE05DetectorConstruction, ExTGDetectorConstructionWithSD, RE03DetectorConstruction, DetectorConstruction, Par01DetectorConstruction, DetectorConstruction, and DetectorConstruction.
Definition at line 93 of file G4VUserDetectorConstruction.cc.
Referenced by G4WorkerRunManager::InitializeGeometry(), and G4RunManager::InitializeGeometry().
G4int G4VUserDetectorConstruction::GetNumberOfParallelWorld | ( | ) | const |
Definition at line 82 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by GetParallelWorld().
G4VUserParallelWorld * G4VUserDetectorConstruction::GetParallelWorld | ( | G4int | i | ) | const |
Definition at line 85 of file G4VUserDetectorConstruction.cc.
References GetNumberOfParallelWorld(), and parallelWorld.
Referenced by RE06DetectorConstruction::SetSerialGeometry(), and HadrontherapyDetectorConstruction::UpdateGeometry().
void G4VUserDetectorConstruction::RegisterParallelWorld | ( | G4VUserParallelWorld * | aPW | ) |
Definition at line 46 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4VUserParallelWorld::GetName(), and parallelWorld.
Referenced by main(), PassiveCarbonBeamLine::PassiveCarbonBeamLine(), and PassiveProtonBeamLine::PassiveProtonBeamLine().
|
protected |
Definition at line 204 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4LogicalVolumeStore::GetInstance(), G4VSensitiveDetector::GetName(), and pos.
Referenced by H02DetectorConstruction::Construct(), ExTGDetectorConstructionWithSD::ConstructSDandField(), RE01DetectorConstruction::ConstructSDandField(), RE05DetectorConstruction::ConstructSDandField(), B3DetectorConstruction::ConstructSDandField(), G4HumanPhantomConstruction::ConstructSDandField(), B2bDetectorConstruction::ConstructSDandField(), B2aDetectorConstruction::ConstructSDandField(), ElectronBenchmarkDetector::ConstructSDandField(), LXeDetectorConstruction::ConstructSDandField(), B4dDetectorConstruction::ConstructSDandField(), B4cDetectorConstruction::ConstructSDandField(), B01DetectorConstruction::ConstructSDandField(), UltraDetectorConstruction::ConstructSDandField(), WLSDetectorConstruction::ConstructSDandField(), F03DetectorConstruction::ConstructSDandField(), F02DetectorConstruction::ConstructSDandField(), F01DetectorConstruction::ConstructSDandField(), DicomDetectorConstruction::ConstructSDandField(), MyDetectorConstruction::SetSDtoScoreVoxel(), and RE06DetectorConstruction::SetupDetectors().
|
protected |
Definition at line 239 of file G4VUserDetectorConstruction.cc.
References G4SDManager::AddNewDetector(), G4SDManager::GetSDMpointer(), and G4LogicalVolume::SetSensitiveDetector().
|
private |
Definition at line 74 of file G4VUserDetectorConstruction.hh.
Referenced by ConstructParallelGeometries(), ConstructParallelSD(), GetNumberOfParallelWorld(), GetParallelWorld(), and RegisterParallelWorld().