|
Geant4
10.02.p02
|
Dicom detector construction. More...
#include <DicomDetectorConstruction.hh>
Inheritance diagram for DicomDetectorConstruction:
Collaboration diagram for DicomDetectorConstruction:Public Member Functions | |
| DicomDetectorConstruction () | |
| ~DicomDetectorConstruction () | |
| virtual G4VPhysicalVolume * | Construct () |
Public Member Functions inherited from G4VUserDetectorConstruction | |
| G4VUserDetectorConstruction () | |
| virtual | ~G4VUserDetectorConstruction () |
| 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 | InitialisationOfMaterials () |
| void | ReadPhantomData () |
| void | ReadPhantomDataFile (const G4String &fname) |
| void | MergeZSliceHeaders () |
| G4Material * | BuildMaterialWithChangingDensity (const G4Material *origMate, float density, G4String newMateName) |
| void | ConstructPhantomContainer () |
| virtual void | ConstructPhantom ()=0 |
| void | SetScorer (G4LogicalVolume *voxel_logic) |
| virtual void | ConstructSDandField () |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
| void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
| void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Protected Attributes | |
| G4Material * | fAir |
| G4Box * | fWorld_solid |
| G4LogicalVolume * | fWorld_logic |
| G4VPhysicalVolume * | fWorld_phys |
| G4Box * | fContainer_solid |
| G4LogicalVolume * | fContainer_logic |
| G4VPhysicalVolume * | fContainer_phys |
| G4int | fNoFiles |
| std::vector< G4Material * > | fOriginalMaterials |
| std::vector< G4Material * > | fMaterials |
| size_t * | fMateIDs |
| std::map< G4int, G4double > | fDensityDiffs |
| std::vector < DicomPhantomZSliceHeader * > | fZSliceHeaders |
| DicomPhantomZSliceHeader * | fZSliceHeaderMerged |
| G4int | fNVoxelX |
| G4int | fNVoxelY |
| G4int | fNVoxelZ |
| G4double | fVoxelHalfDimX |
| G4double | fVoxelHalfDimY |
| G4double | fVoxelHalfDimZ |
| DicomPhantomZSliceMerged * | fMergedSlices |
| std::set< G4LogicalVolume * > | fScorers |
| G4bool | fConstructed |
Dicom detector construction.
History: 30.11.07 First version
Definition at line 58 of file DicomDetectorConstruction.hh.
| DicomDetectorConstruction::DicomDetectorConstruction | ( | ) |
Definition at line 53 of file DicomDetectorConstruction.cc.
| DicomDetectorConstruction::~DicomDetectorConstruction | ( | ) |
Definition at line 83 of file DicomDetectorConstruction.cc.
|
protected |
Definition at line 467 of file DicomDetectorConstruction.cc.
References G4Material::AddElement(), cm3, g, G4Material::GetElement(), G4Material::GetFractionVector(), G4Material::GetNumberOfElements(), and kStateUndefined.
Referenced by ReadPhantomDataFile(), and DicomPartialDetectorConstruction::ReadVoxelDensitiesPartial().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements G4VUserDetectorConstruction.
Reimplemented in DicomPartialDetectorConstruction.
Definition at line 88 of file DicomDetectorConstruction.cc.
References ConstructPhantom(), ConstructPhantomContainer(), fAir, fConstructed, fWorld_logic, fWorld_phys, fWorld_solid, InitialisationOfMaterials(), m, and ReadPhantomData().
Here is the call graph for this function:
|
protectedpure virtual |
Implemented in DicomPartialDetectorConstruction, DicomRegularDetectorConstruction, and DicomNestedParamDetectorConstruction.
Referenced by Construct().
Here is the caller graph for this function:
|
protected |
Definition at line 485 of file DicomDetectorConstruction.cc.
References fContainer_logic, fContainer_phys, fContainer_solid, fMaterials, fNVoxelX, fNVoxelY, fNVoxelZ, fVoxelHalfDimX, fVoxelHalfDimY, fVoxelHalfDimZ, fWorld_logic, fZSliceHeaderMerged, G4cout, G4endl, DicomPhantomZSliceHeader::GetMaxX(), DicomPhantomZSliceHeader::GetMaxY(), DicomPhantomZSliceHeader::GetMaxZ(), DicomPhantomZSliceHeader::GetMinX(), DicomPhantomZSliceHeader::GetMinY(), DicomPhantomZSliceHeader::GetMinZ(), DicomPhantomZSliceHeader::GetNoVoxelX(), DicomPhantomZSliceHeader::GetNoVoxelY(), DicomPhantomZSliceHeader::GetNoVoxelZ(), DicomPhantomZSliceHeader::GetVoxelHalfX(), DicomPhantomZSliceHeader::GetVoxelHalfY(), and DicomPhantomZSliceHeader::GetVoxelHalfZ().
Referenced by Construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 556 of file DicomDetectorConstruction.cc.
References fNVoxelX, fNVoxelY, fNVoxelZ, fScorers, G4cout, G4endl, G4MultiFunctionalDetector::RegisterPrimitive(), and G4VUserDetectorConstruction::SetSensitiveDetector().
Here is the call graph for this function:
|
protected |
Definition at line 126 of file DicomDetectorConstruction.cc.
References a, G4Material::AddElement(), cm3, density, elC, elH, elN, elO, fAir, fOriginalMaterials, g, mg, mole, name, symbol, and z.
Referenced by DicomPartialDetectorConstruction::Construct(), and Construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 456 of file DicomDetectorConstruction.cc.
References fZSliceHeaderMerged, and fZSliceHeaders.
Referenced by ReadPhantomData().
Here is the caller graph for this function:
|
protected |
Definition at line 315 of file DicomDetectorConstruction.cc.
References FatalException, fNoFiles, G4Exception(), MergeZSliceHeaders(), and ReadPhantomDataFile().
Referenced by Construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 348 of file DicomDetectorConstruction.cc.
References BuildMaterialWithChangingDensity(), G4UIcommand::ConvertToDouble(), G4UIcommand::ConvertToString(), density, FatalErrorInArgument, fDensityDiffs, fMateIDs, fMaterials, fNoFiles, fOriginalMaterials, fZSliceHeaders, G4cerr, G4cout, G4endl, G4Exception(), G4Material::GetName(), and DicomPhantomZSliceHeader::GetNoVoxels().
Referenced by ReadPhantomData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 544 of file DicomDetectorConstruction.cc.
References fScorers, G4cout, G4endl, and G4LogicalVolume::GetName().
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), and DicomRegularDetectorConstruction::ConstructPhantom().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 96 of file DicomDetectorConstruction.hh.
Referenced by DicomPartialDetectorConstruction::Construct(), Construct(), DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantomContainer(), and InitialisationOfMaterials().
|
protected |
Definition at line 130 of file DicomDetectorConstruction.hh.
Referenced by Construct().
|
protected |
Definition at line 104 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantomContainer(), and ConstructPhantomContainer().
|
protected |
Definition at line 105 of file DicomDetectorConstruction.hh.
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantomContainer(), and ConstructPhantomContainer().
|
protected |
Definition at line 103 of file DicomDetectorConstruction.hh.
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and ConstructPhantomContainer().
Definition at line 115 of file DicomDetectorConstruction.hh.
Referenced by ReadPhantomDataFile().
|
protected |
Definition at line 112 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), and ReadPhantomDataFile().
|
protected |
Definition at line 109 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), ConstructPhantomContainer(), ReadPhantomDataFile(), and DicomPartialDetectorConstruction::ReadVoxelDensitiesPartial().
|
protected |
Definition at line 126 of file DicomDetectorConstruction.hh.
|
protected |
Definition at line 107 of file DicomDetectorConstruction.hh.
Referenced by ReadPhantomData(), and ReadPhantomDataFile().
|
protected |
Definition at line 123 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantom(), ConstructPhantomContainer(), ConstructSDandField(), DicomPartialDetectorConstruction::ReadPhantomDataFile(), and DicomPartialDetectorConstruction::ReadVoxelDensitiesPartial().
|
protected |
Definition at line 123 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantom(), ConstructPhantomContainer(), ConstructSDandField(), DicomPartialDetectorConstruction::ReadPhantomDataFile(), and DicomPartialDetectorConstruction::ReadVoxelDensitiesPartial().
|
protected |
Definition at line 123 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantom(), ConstructPhantomContainer(), ConstructSDandField(), DicomPartialDetectorConstruction::ReadPhantomDataFile(), and DicomPartialDetectorConstruction::ReadVoxelDensitiesPartial().
|
protected |
Definition at line 108 of file DicomDetectorConstruction.hh.
Referenced by InitialisationOfMaterials(), ReadPhantomDataFile(), and DicomPartialDetectorConstruction::ReadVoxelDensitiesPartial().
|
protected |
Definition at line 128 of file DicomDetectorConstruction.hh.
Referenced by ConstructSDandField(), and SetScorer().
|
protected |
Definition at line 124 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), and ConstructPhantomContainer().
|
protected |
Definition at line 124 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), and ConstructPhantomContainer().
|
protected |
Definition at line 124 of file DicomDetectorConstruction.hh.
Referenced by DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), and ConstructPhantomContainer().
|
protected |
Definition at line 100 of file DicomDetectorConstruction.hh.
Referenced by DicomPartialDetectorConstruction::Construct(), Construct(), DicomPartialDetectorConstruction::ConstructPhantomContainer(), and ConstructPhantomContainer().
|
protected |
Definition at line 101 of file DicomDetectorConstruction.hh.
Referenced by Construct().
|
protected |
Definition at line 99 of file DicomDetectorConstruction.hh.
Referenced by Construct().
|
protected |
Definition at line 120 of file DicomDetectorConstruction.hh.
Referenced by ConstructPhantomContainer(), and MergeZSliceHeaders().
|
protected |
Definition at line 118 of file DicomDetectorConstruction.hh.
Referenced by MergeZSliceHeaders(), and ReadPhantomDataFile().