Geant4
10.01.p02
|
#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, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DicomDetectorConstruction, DMXDetectorConstruction, ElectronBenchmarkDetector, Em10DetectorConstruction, eRositaDetectorConstruction, ExErrorDetectorConstruction, ExExChDetectorConstruction, ExG4DetectorConstruction01, ExG4DetectorConstruction01, ExG4DetectorConstruction01, ExG4DetectorConstruction02, ExG4DetectorConstruction02, ExG4DetectorConstruction02, ExGflashDetectorConstruction, ExN01DetectorConstruction, ExN02DetectorConstruction, ExN03DetectorConstruction, ExN04DetectorConstruction, ExN04DetectorConstruction, ExP01DetectorConstruction, ExP02DetConstrReader, ExP02DetectorConstruction, exrdmDetectorConstruction, 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, GeometryConstruction, H02DetectorConstruction, LaserDrivenBeamLine, 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 G4FieldManager::Clone(), FatalException, G4Exception(), G4LogicalVolumeStore::GetInstance(), second, and G4LogicalVolume::SetFieldManager().
|
virtual |
Definition at line 153 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, Em10DetectorConstruction, CML2WorldConstruction, XrayFluoDetectorConstruction, DetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, F03DetectorConstruction, XrayFluoMercuryDetectorConstruction, DetectorConstruction, LaserDrivenBeamLine, DetectorConstruction, DetectorConstruction, XrayFluoPlaneDetectorConstruction, DetectorConstruction, ExN03DetectorConstruction, PurgMagDetectorConstruction, DMXDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, UltraDetectorConstruction, DetectorConstruction, ExErrorDetectorConstruction, DetectorConstruction, WLSDetectorConstruction, Collimator100BeamLine, Collimator40BeamLine, Collimator50BeamLine, Collimator60BeamLine, Collimator70BeamLine, Collimator80BeamLine, XrayTelDetectorConstruction, DetectorConstruction, G02DetectorConstruction, RMC01DetectorConstruction, DetectorConstruction, DicomDetectorConstruction, DetectorConstruction, DetectorConstruction, B4cDetectorConstruction, B4dDetectorConstruction, DetectorConstruction, ExG4DetectorConstruction02, ExG4DetectorConstruction02, ExG4DetectorConstruction02, DetectorConstruction, DetectorConstruction, DetectorConstruction, PassiveProtonBeamLine, FCALTestbeamSetup, B4DetectorConstruction, B4DetectorConstruction, F04DetectorConstruction, F06DetectorConstruction, DetectorConstruction, DetectorConstruction, DicomPartialDetectorConstruction, ExN02DetectorConstruction, G03DetectorConstruction, ExP01DetectorConstruction, ExG4DetectorConstruction01, ExG4DetectorConstruction01, F05DetectorConstruction, ExG4DetectorConstruction01, LXeDetectorConstruction, DetectorConstruction, DetectorConstruction, FFDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, XrayFluoGeometry, B5DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, exrdmDetectorConstruction, RE04DetectorConstruction, BrachyDetectorConstruction, eRositaDetectorConstruction, B2aDetectorConstruction, B2bDetectorConstruction, ExUCNDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, B2bDetectorConstruction, DetectorConstruction, GB04DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ElectronBenchmarkDetector, DetectorConstruction, ExN01DetectorConstruction, DetectorConstruction, ExExChDetectorConstruction, DetectorConstruction, MyDetectorConstruction, DetectorConstruction, G3toG4DetectorConstruction, ExGflashDetectorConstruction, B3DetectorConstruction, TRTDetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, DetectorConstruction, ExP02DetConstrReader, DetectorConstruction, RE06DetectorConstruction, GammaKnifeDetectorConstruction, PassiveCarbonBeamLine, G4HumanPhantomConstruction, B01DetectorConstruction, B02DetectorConstruction, GB01DetectorConstruction, GB02DetectorConstruction, GB03DetectorConstruction, GeometryConstruction, DetectorConstruction, G01DetectorConstruction, G04DetectorConstruction, EzDetectorConstruction, QDetectorConstruction, QDetectorConstruction, ExN04DetectorConstruction, ExP02DetectorConstruction, RE01DetectorConstruction, RE05DetectorConstruction, B1DetectorConstruction, B1DetectorConstruction, B03DetectorConstruction, ExTGDetectorConstruction, ExTGDetectorConstructionWithCpp, ExTGDetectorConstructionWithCuts, ExTGDetectorConstructionWithSD, RE03DetectorConstruction, B1DetectorConstruction, 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, GammaRayTelDetectorConstruction, DicomDetectorConstruction, XrayFluoDetectorConstruction, F01DetectorConstruction, F02DetectorConstruction, XrayFluoMercuryDetectorConstruction, F03DetectorConstruction, DetectorConstruction, LaserDrivenBeamLine, XrayFluoPlaneDetectorConstruction, DetectorConstruction, PurgMagDetectorConstruction, DMXDetectorConstruction, DetectorConstruction, WLSDetectorConstruction, UltraDetectorConstruction, DetectorConstruction, DetectorConstruction, B01DetectorConstruction, DetectorConstruction, B4cDetectorConstruction, B4dDetectorConstruction, DetectorConstruction, F04DetectorConstruction, FCALTestbeamSetup, B4DetectorConstruction, B4DetectorConstruction, F06DetectorConstruction, F05DetectorConstruction, LXeDetectorConstruction, DetectorConstruction, ExExChDetectorConstruction, B5DetectorConstruction, DetectorConstruction, ElectronBenchmarkDetector, B2aDetectorConstruction, B2bDetectorConstruction, ExUCNDetectorConstruction, B2bDetectorConstruction, G4HumanPhantomConstruction, GB04DetectorConstruction, DetectorConstruction, DetectorConstruction, ExGflashDetectorConstruction, B3DetectorConstruction, RE06DetectorConstruction, GB01DetectorConstruction, GB02DetectorConstruction, GB03DetectorConstruction, RE01DetectorConstruction, RE05DetectorConstruction, ExTGDetectorConstructionWithSD, RE03DetectorConstruction, DetectorConstruction, XDetectorConstruction, 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 LaserDrivenBeamLine::LaserDrivenBeamLine(), 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(), 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(), F01DetectorConstruction::ConstructSDandField(), F02DetectorConstruction::ConstructSDandField(), XrayFluoDetectorConstruction::ConstructSDandField(), DicomDetectorConstruction::ConstructSDandField(), GammaRayTelDetectorConstruction::ConstructSDandField(), MyDetectorConstruction::SetSDtoScoreVoxel(), GB03DetectorConstruction::SetupDetectors(), 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().