Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 ()
 
G4VPhysicalVolumeConstruct ()
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
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)
 

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
 

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 53 of file DicomDetectorConstruction.hh.

Constructor & Destructor Documentation

DicomDetectorConstruction::DicomDetectorConstruction ( )

Definition at line 45 of file DicomDetectorConstruction.cc.

DicomDetectorConstruction::~DicomDetectorConstruction ( )

Definition at line 72 of file DicomDetectorConstruction.cc.

Member Function Documentation

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

Definition at line 441 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 77 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 457 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void DicomDetectorConstruction::InitialisationOfMaterials ( )
protected

Definition at line 114 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 431 of file DicomDetectorConstruction.cc.

Here is the caller graph for this function:

void DicomDetectorConstruction::ReadPhantomData ( )
protected

Definition at line 304 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 334 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 506 of file DicomDetectorConstruction.cc.

Here is the call graph for this function:

Member Data Documentation

G4Material* DicomDetectorConstruction::fAir
protected

Definition at line 86 of file DicomDetectorConstruction.hh.

G4LogicalVolume* DicomDetectorConstruction::fContainer_logic
protected

Definition at line 94 of file DicomDetectorConstruction.hh.

G4VPhysicalVolume* DicomDetectorConstruction::fContainer_phys
protected

Definition at line 95 of file DicomDetectorConstruction.hh.

G4Box* DicomDetectorConstruction::fContainer_solid
protected

Definition at line 93 of file DicomDetectorConstruction.hh.

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

Definition at line 103 of file DicomDetectorConstruction.hh.

size_t* DicomDetectorConstruction::fMateIDs
protected

Definition at line 100 of file DicomDetectorConstruction.hh.

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

Definition at line 99 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNoFiles
protected

Definition at line 97 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNVoxelX
protected

Definition at line 108 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNVoxelY
protected

Definition at line 108 of file DicomDetectorConstruction.hh.

G4int DicomDetectorConstruction::fNVoxelZ
protected

Definition at line 108 of file DicomDetectorConstruction.hh.

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

Definition at line 98 of file DicomDetectorConstruction.hh.

G4double DicomDetectorConstruction::fVoxelHalfDimX
protected

Definition at line 109 of file DicomDetectorConstruction.hh.

G4double DicomDetectorConstruction::fVoxelHalfDimY
protected

Definition at line 109 of file DicomDetectorConstruction.hh.

G4double DicomDetectorConstruction::fVoxelHalfDimZ
protected

Definition at line 109 of file DicomDetectorConstruction.hh.

G4LogicalVolume* DicomDetectorConstruction::fWorld_logic
protected

Definition at line 90 of file DicomDetectorConstruction.hh.

G4VPhysicalVolume* DicomDetectorConstruction::fWorld_phys
protected

Definition at line 91 of file DicomDetectorConstruction.hh.

G4Box* DicomDetectorConstruction::fWorld_solid
protected

Definition at line 89 of file DicomDetectorConstruction.hh.

DicomPhantomZSliceHeader* DicomDetectorConstruction::fZSliceHeaderMerged
protected

Definition at line 106 of file DicomDetectorConstruction.hh.

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

Definition at line 105 of file DicomDetectorConstruction.hh.


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