Geant4-11
|
#include <DetectorConstruction.hh>
Public Member Functions | |
virtual void | CloneF () |
virtual void | CloneSD () |
G4VPhysicalVolume * | Construct () |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
virtual void | ConstructSDandField () |
DetectorConstruction () | |
G4Material * | GetMaterial () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
G4double | GetSize () |
const G4VPhysicalVolume * | GetWorld () |
void | PrintParameters () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
void | SetMaterial (G4String) |
~DetectorConstruction () | |
Protected Member Functions | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Private Member Functions | |
G4VPhysicalVolume * | ConstructVolumes () |
void | DefineMaterials () |
Private Attributes | |
G4Material * | aMaterial |
G4double | BoxSize |
DetectorMessenger * | detectorMessenger |
std::vector< G4VUserParallelWorld * > | parallelWorld |
G4VPhysicalVolume * | pBox |
Definition at line 45 of file DetectorConstruction.hh.
DetectorConstruction::DetectorConstruction | ( | ) |
Definition at line 53 of file DetectorConstruction.cc.
References BoxSize, DefineMaterials(), detectorMessenger, mm, and SetMaterial().
DetectorConstruction::~DetectorConstruction | ( | ) |
|
virtualinherited |
Definition at line 126 of file G4VUserDetectorConstruction.cc.
References G4FieldManager::Clone(), FatalException, G4Exception(), G4LogicalVolumeStore::GetInstance(), second, and G4LogicalVolume::SetFieldManager().
|
virtualinherited |
Definition at line 177 of file G4VUserDetectorConstruction.cc.
References G4VSensitiveDetector::Clone(), FatalException, G4Exception(), G4VSensitiveDetector::GetFullPathName(), G4LogicalVolumeStore::GetInstance(), G4VSensitiveDetector::GetName(), second, and G4LogicalVolume::SetSensitiveDetector().
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 69 of file DetectorConstruction.cc.
References ConstructVolumes().
|
inherited |
Definition at line 73 of file G4VUserDetectorConstruction.cc.
References G4VUserDetectorConstruction::parallelWorld.
Referenced by G4RunManager::InitializeGeometry().
|
inherited |
Definition at line 86 of file G4VUserDetectorConstruction.cc.
References G4VUserDetectorConstruction::parallelWorld.
Referenced by G4RunManager::InitializeGeometry(), and G4WorkerRunManager::InitializeGeometry().
|
virtualinherited |
Definition at line 111 of file G4VUserDetectorConstruction.cc.
Referenced by G4RunManager::InitializeGeometry(), and G4WorkerRunManager::InitializeGeometry().
|
private |
Definition at line 140 of file DetectorConstruction.cc.
References aMaterial, BoxSize, G4LogicalVolumeStore::Clean(), G4PhysicalVolumeStore::Clean(), G4SolidStore::Clean(), G4GeometryManager::GetInstance(), G4LogicalVolumeStore::GetInstance(), G4PhysicalVolumeStore::GetInstance(), G4SolidStore::GetInstance(), G4Material::GetName(), G4GeometryManager::OpenGeometry(), and pBox.
Referenced by Construct(), and SetMaterial().
|
private |
H2O->SetChemicalFormula("H_2O");
Definition at line 76 of file DetectorConstruction.cc.
References G4Material::AddElement(), G4Material::AddMaterial(), cm3, eV, g, G4cout, G4endl, G4Material::GetIonisation(), G4Material::GetMaterialTable(), mg, mole, perCent, and G4IonisParamMat::SetMeanExcitationEnergy().
Referenced by DetectorConstruction().
|
inline |
Definition at line 64 of file DetectorConstruction.hh.
References aMaterial.
Referenced by RunAction::BeginOfRunAction(), RunAction::CriticalEnergy(), and RunAction::GetCuts().
|
inherited |
Definition at line 96 of file G4VUserDetectorConstruction.cc.
References G4VUserDetectorConstruction::parallelWorld.
Referenced by G4VUserDetectorConstruction::GetParallelWorld().
|
inherited |
Definition at line 103 of file G4VUserDetectorConstruction.cc.
References G4VUserDetectorConstruction::GetNumberOfParallelWorld(), and G4VUserDetectorConstruction::parallelWorld.
|
inline |
Definition at line 63 of file DetectorConstruction.hh.
References BoxSize.
Referenced by PrimaryGeneratorAction::SetDefaultKinematic().
|
inline |
void DetectorConstruction::PrintParameters | ( | ) |
Definition at line 172 of file DetectorConstruction.cc.
References aMaterial, BoxSize, G4BestUnit, G4cout, G4endl, and G4Material::GetName().
|
inherited |
Definition at line 57 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4VUserParallelWorld::GetName(), and G4VUserDetectorConstruction::parallelWorld.
void DetectorConstruction::SetMaterial | ( | G4String | materialChoice | ) |
Definition at line 182 of file DetectorConstruction.cc.
References aMaterial, ConstructVolumes(), G4RunManager::DefineWorldVolume(), G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4RunManager::GetRunManager(), G4NistManager::Instance(), and pBox.
Referenced by BOOST_PYTHON_MODULE(), DetectorConstruction(), and DetectorMessenger::SetNewValue().
|
protectedinherited |
Definition at line 229 of file G4VUserDetectorConstruction.cc.
References FatalErrorInArgument, G4Exception(), G4LogicalVolumeStore::GetInstance(), G4LogicalVolumeStore::GetMap(), G4VSensitiveDetector::GetName(), pos, and G4VUserDetectorConstruction::SetSensitiveDetector().
Referenced by MyDetectorConstruction::SetSDtoScoreVoxel(), and G4VUserDetectorConstruction::SetSensitiveDetector().
|
protectedinherited |
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 73 of file DetectorConstruction.hh.
Referenced by ConstructVolumes(), GetMaterial(), PrintParameters(), and SetMaterial().
|
private |
Definition at line 72 of file DetectorConstruction.hh.
Referenced by ConstructVolumes(), DetectorConstruction(), GetSize(), and PrintParameters().
|
private |
Definition at line 75 of file DetectorConstruction.hh.
Referenced by DetectorConstruction(), and ~DetectorConstruction().
|
privateinherited |
Definition at line 82 of file G4VUserDetectorConstruction.hh.
Referenced by G4VUserDetectorConstruction::ConstructParallelGeometries(), G4VUserDetectorConstruction::ConstructParallelSD(), G4VUserDetectorConstruction::GetNumberOfParallelWorld(), G4VUserDetectorConstruction::GetParallelWorld(), and G4VUserDetectorConstruction::RegisterParallelWorld().
|
private |
Definition at line 70 of file DetectorConstruction.hh.
Referenced by ConstructVolumes(), GetWorld(), and SetMaterial().