Geant4_10
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DicomDetectorConstruction Class Referenceabstract

#include <DicomDetectorConstruction.hh>

Inheritance diagram for DicomDetectorConstruction:
Inheritance graph
[legend]
Collaboration diagram for DicomDetectorConstruction:
Collaboration graph
[legend]

Public Member Functions

 DicomDetectorConstruction ()
 
 ~DicomDetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
- 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
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Protected Member Functions

void InitialisationOfMaterials ()
 
void ReadPhantomData ()
 
void ReadPhantomDataFile (const G4String &fname)
 
void MergeZSliceHeaders ()
 
G4MaterialBuildMaterialWithChangingDensity (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

G4MaterialfAir
 
G4BoxfWorld_solid
 
G4LogicalVolumefWorld_logic
 
G4VPhysicalVolumefWorld_phys
 
G4BoxfContainer_solid
 
G4LogicalVolumefContainer_logic
 
G4VPhysicalVolumefContainer_phys
 
G4int fNoFiles
 
std::vector< G4Material * > fOriginalMaterials
 
std::vector< G4Material * > fMaterials
 
size_t * fMateIDs
 
std::map< G4int, G4doublefDensityDiffs
 
std::vector
< DicomPhantomZSliceHeader * > 
fZSliceHeaders
 
DicomPhantomZSliceHeaderfZSliceHeaderMerged
 
G4int fNVoxelX
 
G4int fNVoxelY
 
G4int fNVoxelZ
 
G4double fVoxelHalfDimX
 
G4double fVoxelHalfDimY
 
G4double fVoxelHalfDimZ
 
DicomPhantomZSliceMergedmergedSlices
 
std::set< G4LogicalVolume * > scorers
 
G4bool fConstructed
 

Detailed Description

Dicom detector construction

 - Start the building of the geometry
 - Initialisation of materials
 - Creation of the world
 - Reading of the DICOM data

History: 30.11.07 First version

Author
P. Arce

Definition at line 58 of file DicomDetectorConstruction.hh.

Constructor & Destructor Documentation

DicomDetectorConstruction::DicomDetectorConstruction ( )

Definition at line 53 of file DicomDetectorConstruction.cc.

DicomDetectorConstruction::~DicomDetectorConstruction ( )

Definition at line 83 of file DicomDetectorConstruction.cc.

Member Function Documentation

G4Material * DicomDetectorConstruction::BuildMaterialWithChangingDensity ( const G4Material origMate,
float  density,
G4String  newMateName 
)
protected

Definition at line 465 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4VPhysicalVolume * DicomDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Reimplemented in DicomPartialDetectorConstruction.

Definition at line 88 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

virtual void DicomDetectorConstruction::ConstructPhantom ( )
protectedpure virtual

Here is the caller graph for this function:

void DicomDetectorConstruction::ConstructPhantomContainer ( )
protected

Definition at line 483 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void DicomDetectorConstruction::ConstructSDandField ( )
protectedvirtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 568 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

void DicomDetectorConstruction::InitialisationOfMaterials ( )
protected

Definition at line 127 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void DicomDetectorConstruction::MergeZSliceHeaders ( )
protected

Definition at line 454 of file DicomDetectorConstruction.cc.

Here is the caller graph for this function:

void DicomDetectorConstruction::ReadPhantomData ( )
protected

Definition at line 317 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void DicomDetectorConstruction::ReadPhantomDataFile ( const G4String fname)
protected

Definition at line 350 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void DicomDetectorConstruction::SetScorer ( G4LogicalVolume voxel_logic)
protected

Definition at line 537 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Member Data Documentation

G4Material* DicomDetectorConstruction::fAir
protected

Definition at line 96 of file DicomDetectorConstruction.hh.

G4bool DicomDetectorConstruction::fConstructed
protected

Definition at line 130 of file DicomDetectorConstruction.hh.

G4LogicalVolume* DicomDetectorConstruction::fContainer_logic
protected

Definition at line 104 of file DicomDetectorConstruction.hh.

G4VPhysicalVolume* DicomDetectorConstruction::fContainer_phys
protected

Definition at line 105 of file DicomDetectorConstruction.hh.

G4Box* DicomDetectorConstruction::fContainer_solid
protected

Definition at line 103 of file DicomDetectorConstruction.hh.

std::map<G4int,G4double> DicomDetectorConstruction::fDensityDiffs
protected

Definition at line 115 of file DicomDetectorConstruction.hh.

size_t* DicomDetectorConstruction::fMateIDs
protected

Definition at line 112 of file DicomDetectorConstruction.hh.

std::vector<G4Material*> DicomDetectorConstruction::fMaterials
protected

Definition at line 109 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNoFiles
protected

Definition at line 107 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNVoxelX
protected

Definition at line 123 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNVoxelY
protected

Definition at line 123 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNVoxelZ
protected

Definition at line 123 of file DicomDetectorConstruction.hh.

std::vector<G4Material*> DicomDetectorConstruction::fOriginalMaterials
protected

Definition at line 108 of file DicomDetectorConstruction.hh.

G4double DicomDetectorConstruction::fVoxelHalfDimX
protected

Definition at line 124 of file DicomDetectorConstruction.hh.

G4double DicomDetectorConstruction::fVoxelHalfDimY
protected

Definition at line 124 of file DicomDetectorConstruction.hh.

G4double DicomDetectorConstruction::fVoxelHalfDimZ
protected

Definition at line 124 of file DicomDetectorConstruction.hh.

G4LogicalVolume* DicomDetectorConstruction::fWorld_logic
protected

Definition at line 100 of file DicomDetectorConstruction.hh.

G4VPhysicalVolume* DicomDetectorConstruction::fWorld_phys
protected

Definition at line 101 of file DicomDetectorConstruction.hh.

G4Box* DicomDetectorConstruction::fWorld_solid
protected

Definition at line 99 of file DicomDetectorConstruction.hh.

DicomPhantomZSliceHeader* DicomDetectorConstruction::fZSliceHeaderMerged
protected

Definition at line 120 of file DicomDetectorConstruction.hh.

std::vector<DicomPhantomZSliceHeader*> DicomDetectorConstruction::fZSliceHeaders
protected

Definition at line 118 of file DicomDetectorConstruction.hh.

DicomPhantomZSliceMerged* DicomDetectorConstruction::mergedSlices
protected

Definition at line 126 of file DicomDetectorConstruction.hh.

std::set<G4LogicalVolume*> DicomDetectorConstruction::scorers
protected

Definition at line 128 of file DicomDetectorConstruction.hh.


The documentation for this class was generated from the following files: