Message: Re: partial phantom dicom example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: partial phantom dicom example 

Forum: Medical Applications
Re: None partial phantom dicom example (Vanessa La Rosa)
Date: 11 Nov, 2011
From: D. M. Tishler <D. M. Tishler>

I dont belive I am answering your question, but material definitions in the DICOM example are found in the file: src/DicomDetectorConstruction.cc

Here, elements are defined and the materials built from them. You can use existing definitions as a template for adding your own materials.

//Elements
  G4Element* elN = new G4Element( name = "Nitrogen",
				  symbol = "N",
				  z = 7.0, a = 14.007 * g/mole );
  G4Element* elO = new G4Element( name = "Oxygen",
                                  symbol = "O",
                                  z = 8.0, a = 16.00  * g/mole );
// Materials
  air = new G4Material( "Air",
                        1.290*mg/cm3,
                        numberofElements = 2 );
  air->AddElement(elN, 0.7);
  air->AddElement(elO, 0.3); 

//----- Put the materials in a vector
  fOriginalMaterials.push_back(air); // rho = 0.00129

 Add Message Add Message
to: "Re: partial phantom dicom example"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]