Geant4
10.03
|
#include <G4VUserDetectorConstruction.hh>
Inherited by B01DetectorConstruction, B02DetectorConstruction, B03DetectorConstruction, B1DetectorConstruction, B1DetectorConstruction, B1DetectorConstruction, B2aDetectorConstruction, B2bDetectorConstruction, B2bDetectorConstruction, B3DetectorConstruction, 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, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DicomDetectorConstruction, DMXDetectorConstruction, ElectronBenchmarkDetector, eRositaDetectorConstruction, ExErrorDetectorConstruction, ExExChDetectorConstruction, ExG4DetectorConstruction01, ExG4DetectorConstruction01, ExG4DetectorConstruction01, ExG4DetectorConstruction02, ExG4DetectorConstruction02, ExG4DetectorConstruction02, ExGflashDetectorConstruction, ExN01DetectorConstruction, ExN02DetectorConstruction, ExN03DetectorConstruction, ExN04DetectorConstruction, ExN04DetectorConstruction, ExP01DetectorConstruction, ExP02DetConstrReader, ExP02DetectorConstruction, ExTGDetectorConstruction, ExTGDetectorConstructionWithCpp, ExTGDetectorConstructionWithCuts, ExTGDetectorConstructionWithSD, ExUCNDetectorConstruction, EzDetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, F03DetectorConstruction, F04DetectorConstruction, F05DetectorConstruction, F06DetectorConstruction, FCALTestbeamSetup, FFDetectorConstruction, G01DetectorConstruction, G02DetectorConstruction, G03DetectorConstruction, G04DetectorConstruction, G3toG4DetectorConstruction, G4HumanPhantomConstruction, GammaKnifeDetectorConstruction, GammaRayTelDetectorConstruction, GB01DetectorConstruction, GB02DetectorConstruction, GB03DetectorConstruction, GB04DetectorConstruction, GB05DetectorConstruction, GB06DetectorConstruction, GeometryConstruction, H02DetectorConstruction, LaserDrivenBeamLine, LXeDetectorConstruction, MyDetectorConstruction, OpNoviceDetectorConstruction, Par01DetectorConstruction, Par02DetectorConstruction, PassiveCarbonBeamLine, PassiveProtonBeamLine, PurgMagDetectorConstruction, pyG4VUserDetectorConstruction::CB_G4VUserDetectorConstruction, QDetectorConstruction, QDetectorConstruction, RE01DetectorConstruction, RE02DetectorConstruction, RE03DetectorConstruction, RE04DetectorConstruction, RE05DetectorConstruction, RE06DetectorConstruction, RMC01DetectorConstruction, TSDetectorConstruction, 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 42 of file G4VUserDetectorConstruction.cc.
|
virtual |
Definition at line 45 of file G4VUserDetectorConstruction.cc.
|
virtual |
Definition at line 109 of file G4VUserDetectorConstruction.cc.
References G4FieldManager::Clone(), FatalException, G4Exception(), G4LogicalVolumeStore::GetInstance(), second, and G4LogicalVolume::SetFieldManager().
|
virtual |
Definition at line 155 of file G4VUserDetectorConstruction.cc.
References G4VSensitiveDetector::Clone(), FatalException, G4Exception(), G4VSensitiveDetector::GetFullPathName(), G4LogicalVolumeStore::GetInstance(), G4VSensitiveDetector::GetName(), second, and G4LogicalVolume::SetSensitiveDetector().
|
pure virtual |
Implemented in RE02DetectorConstruction, CexmcSetup, GammaRayTelDetectorConstruction, TSDetectorConstruction, CML2WorldConstruction, XrayFluoDetectorConstruction, DetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, F03DetectorConstruction, XrayFluoMercuryDetectorConstruction, DetectorConstruction, DicomDetectorConstruction, DetectorConstruction, DetectorConstruction, XrayFluoPlaneDetectorConstruction, DetectorConstruction, ExN03DetectorConstruction, PurgMagDetectorConstruction, DMXDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, UltraDetectorConstruction, DetectorConstruction, DetectorConstruction, ExErrorDetectorConstruction, DetectorConstruction, WLSDetectorConstruction, Collimator100BeamLine, Collimator40BeamLine, Collimator50BeamLine, Collimator60BeamLine, Collimator70BeamLine, Collimator80BeamLine, XrayTelDetectorConstruction, DetectorConstruction, G02DetectorConstruction, LaserDrivenBeamLine, RMC01DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, B4cDetectorConstruction, B4dDetectorConstruction, ExG4DetectorConstruction02, DetectorConstruction, ExG4DetectorConstruction02, ExG4DetectorConstruction02, DetectorConstruction, DetectorConstruction, DetectorConstruction, FCALTestbeamSetup, B4DetectorConstruction, B4DetectorConstruction, F04DetectorConstruction, F06DetectorConstruction, DetectorConstruction, DetectorConstruction, ExN02DetectorConstruction, Par02DetectorConstruction, G03DetectorConstruction, ExP01DetectorConstruction, ExG4DetectorConstruction01, ExG4DetectorConstruction01, F05DetectorConstruction, ExG4DetectorConstruction01, DetectorConstruction, LXeDetectorConstruction, DetectorConstruction, DetectorConstruction, FFDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, XrayFluoGeometry, B5DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ExExChDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, RE04DetectorConstruction, BrachyDetectorConstruction, eRositaDetectorConstruction, B2aDetectorConstruction, B2bDetectorConstruction, ExUCNDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ElectronBenchmarkDetector, B2bDetectorConstruction, DetectorConstruction, DetectorConstruction, PassiveProtonBeamLine, GB04DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ExN01DetectorConstruction, DetectorConstruction, DetectorConstruction, DicomPartialDetectorConstruction, DetectorConstruction, DetectorConstruction, MyDetectorConstruction, DetectorConstruction, GB01DetectorConstruction, GB02DetectorConstruction, GB06DetectorConstruction, G3toG4DetectorConstruction, B3DetectorConstruction, B3DetectorConstruction, ExGflashDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ExP02DetConstrReader, RE06DetectorConstruction, GammaKnifeDetectorConstruction, PassiveCarbonBeamLine, G4HumanPhantomConstruction, B01DetectorConstruction, B02DetectorConstruction, GB03DetectorConstruction, GB05DetectorConstruction, GeometryConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, G01DetectorConstruction, DetectorConstruction, EzDetectorConstruction, QDetectorConstruction, QDetectorConstruction, OpNoviceDetectorConstruction, ExN04DetectorConstruction, ExP02DetectorConstruction, RE05DetectorConstruction, B1DetectorConstruction, B1DetectorConstruction, B03DetectorConstruction, Par01DetectorConstruction, G04DetectorConstruction, ExTGDetectorConstruction, ExTGDetectorConstructionWithCpp, ExTGDetectorConstructionWithCuts, ExTGDetectorConstructionWithSD, RE01DetectorConstruction, RE03DetectorConstruction, B1DetectorConstruction, XDetectorConstruction, pyG4VUserDetectorConstruction::CB_G4VUserDetectorConstruction, DetectorConstruction, ExN04DetectorConstruction, CCalDetectorConstruction, H02DetectorConstruction, DetectorConstruction, DetectorConstruction, and DetectorConstruction.
Referenced by export_G4VUserDetectorConstruction(), G4RunManager::InitializeGeometry(), and G4ErrorRunManagerHelper::SetUserInitialization().
G4int G4VUserDetectorConstruction::ConstructParallelGeometries | ( | ) |
Definition at line 65 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by G4RunManager::InitializeGeometry().
void G4VUserDetectorConstruction::ConstructParallelSD | ( | ) |
Definition at line 77 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by G4WorkerRunManager::InitializeGeometry(), and G4RunManager::InitializeGeometry().
|
virtual |
Reimplemented in RE02DetectorConstruction, DicomDetectorConstruction, TSDetectorConstruction, GammaRayTelDetectorConstruction, XrayFluoDetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, XrayFluoMercuryDetectorConstruction, F03DetectorConstruction, DetectorConstruction, XrayFluoPlaneDetectorConstruction, DetectorConstruction, DetectorConstruction, PurgMagDetectorConstruction, DMXDetectorConstruction, DetectorConstruction, WLSDetectorConstruction, UltraDetectorConstruction, DetectorConstruction, LaserDrivenBeamLine, DetectorConstruction, B01DetectorConstruction, DetectorConstruction, DetectorConstruction, B4cDetectorConstruction, B4dDetectorConstruction, F04DetectorConstruction, Par02DetectorConstruction, FCALTestbeamSetup, B4DetectorConstruction, B4DetectorConstruction, ExExChDetectorConstruction, F06DetectorConstruction, F05DetectorConstruction, DetectorConstruction, LXeDetectorConstruction, DetectorConstruction, ElectronBenchmarkDetector, B5DetectorConstruction, DetectorConstruction, B2aDetectorConstruction, B2bDetectorConstruction, ExUCNDetectorConstruction, B2bDetectorConstruction, G4HumanPhantomConstruction, GB04DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, GB01DetectorConstruction, GB02DetectorConstruction, GB06DetectorConstruction, B3DetectorConstruction, B3DetectorConstruction, ExGflashDetectorConstruction, RE06DetectorConstruction, GB03DetectorConstruction, GB05DetectorConstruction, RE05DetectorConstruction, Par01DetectorConstruction, G04DetectorConstruction, ExTGDetectorConstructionWithSD, RE01DetectorConstruction, RE03DetectorConstruction, DetectorConstruction, XDetectorConstruction, DetectorConstruction, DetectorConstruction, and DetectorConstruction.
Definition at line 95 of file G4VUserDetectorConstruction.cc.
Referenced by G4WorkerRunManager::InitializeGeometry(), and G4RunManager::InitializeGeometry().
G4int G4VUserDetectorConstruction::GetNumberOfParallelWorld | ( | ) | const |
Definition at line 84 of file G4VUserDetectorConstruction.cc.
References parallelWorld.
Referenced by GetParallelWorld().
G4VUserParallelWorld * G4VUserDetectorConstruction::GetParallelWorld | ( | G4int | i | ) | const |
Definition at line 87 of file G4VUserDetectorConstruction.cc.
References GetNumberOfParallelWorld(), and parallelWorld.
Referenced by RE06DetectorConstruction::SetSerialGeometry(), and HadrontherapyDetectorConstruction::UpdateGeometry().
void G4VUserDetectorConstruction::RegisterParallelWorld | ( | G4VUserParallelWorld * | aPW | ) |
Definition at line 48 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4VUserParallelWorld::GetName(), and parallelWorld.
Referenced by LaserDrivenBeamLine::LaserDrivenBeamLine(), main(), PassiveCarbonBeamLine::PassiveCarbonBeamLine(), and PassiveProtonBeamLine::PassiveProtonBeamLine().
|
protected |
Definition at line 206 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4LogicalVolumeStore::GetInstance(), G4VSensitiveDetector::GetName(), and pos.
Referenced by H02DetectorConstruction::Construct(), XDetectorConstruction::ConstructSDandField(), ExTGDetectorConstructionWithSD::ConstructSDandField(), RE01DetectorConstruction::ConstructSDandField(), RE05DetectorConstruction::ConstructSDandField(), B3DetectorConstruction::ConstructSDandField(), G4HumanPhantomConstruction::ConstructSDandField(), B2aDetectorConstruction::ConstructSDandField(), B2bDetectorConstruction::ConstructSDandField(), ElectronBenchmarkDetector::ConstructSDandField(), LXeDetectorConstruction::ConstructSDandField(), FCALTestbeamSetup::ConstructSDandField(), B4cDetectorConstruction::ConstructSDandField(), B4dDetectorConstruction::ConstructSDandField(), B01DetectorConstruction::ConstructSDandField(), UltraDetectorConstruction::ConstructSDandField(), WLSDetectorConstruction::ConstructSDandField(), DMXDetectorConstruction::ConstructSDandField(), XrayFluoPlaneDetectorConstruction::ConstructSDandField(), XrayFluoMercuryDetectorConstruction::ConstructSDandField(), F03DetectorConstruction::ConstructSDandField(), F02DetectorConstruction::ConstructSDandField(), F01DetectorConstruction::ConstructSDandField(), XrayFluoDetectorConstruction::ConstructSDandField(), GammaRayTelDetectorConstruction::ConstructSDandField(), TSDetectorConstruction::ConstructSDandField(), DicomDetectorConstruction::ConstructSDandField(), MyDetectorConstruction::SetSDtoScoreVoxel(), GB03DetectorConstruction::SetupDetectors(), and RE06DetectorConstruction::SetupDetectors().
|
protected |
Definition at line 241 of file G4VUserDetectorConstruction.cc.
References G4SDManager::AddNewDetector(), G4MultiSensitiveDetector::AddSD(), G4LogicalVolume::GetName(), G4SDManager::GetSDMpointer(), G4LogicalVolume::GetSensitiveDetector(), and G4LogicalVolume::SetSensitiveDetector().
|
private |
Definition at line 74 of file G4VUserDetectorConstruction.hh.
Referenced by ConstructParallelGeometries(), ConstructParallelSD(), GetNumberOfParallelWorld(), GetParallelWorld(), and RegisterParallelWorld().