122 z = 6.0, a = 12.011 *
g/
mole );
125 z = 1.0, a = 1.008 *
g/
mole );
128 z = 7.0, a = 14.007 *
g/
mole );
131 z = 8.0, a = 16.00 *
g/
mole );
134 z= 11.0, a = 22.98977*
g/
mole );
137 z = 16.0,a = 32.065*
g/
mole );
140 z = 17.0, a = 35.453*
g/
mole );
143 z = 19.0, a = 30.0983*
g/
mole );
146 z = 30.0, a = 30.973976*
g/
mole );
149 z = 26, a = 56.845*
g/
mole );
152 z = 12.0, a = 24.3050*
g/
mole );
155 z = 20.0, a = 40.078*
g/
mole );
158 G4int numberofElements;
163 numberofElements = 2 );
169 density = 0.217*
g/
cm3,
170 numberofElements = 9);
183 density = 0.508*
g/
cm3,
184 numberofElements = 9 );
197 density = 0.967*
g/
cm3,
198 numberofElements = 7);
209 density = 0.990*
g/
cm3,
210 numberofElements = 8 );
223 numberofElements = 2 );
229 density = 1.061*
g/
cm3,
230 numberofElements = 9 );
243 density = 1.071*
g/
cm3,
244 numberofElements = 9);
257 density = 1.159*
g/
cm3,
258 numberofElements = 12 );
274 density = 1.575*
g/
cm3,
275 numberofElements = 11 );
306 std::ifstream finDF(
"Data.dat");
308 if(finDF.good() != 1 ) {
309 G4Exception(
" DicomDetectorConstruction::ReadPhantomData",
312 "Problem reading data file: Data.dat");
316 finDF >> compression;
337 G4cout <<
" DicomDetectorConstruction::ReadPhantomDataFile opening file " << fname <<
G4endl;
340 if( !
fin.is_open() ) {
341 G4Exception(
"DicomDetectorConstruction::ReadPhantomDataFile",
344 G4String(
"File not found " + fname ).c_str());
347 char*
part = getenv(
"DICOM_CHANGE_MATERIAL_DENSITY" );
350 if( densityDiff != -1. ) {
378 for(
G4int ii = 0; ii < nVoxels; ii++, voxelCopyNo++ ){
386 for(
G4int ii = 0; ii < nVoxels; ii++, voxelCopyNo++ ){
395 float densityBin = 0.;
396 if( densityDiff != -1.) {
405 if(
fMaterials[im]->GetName() == newMateName ) {
414 if( densityDiff != -1.) {
419 G4Exception(
"DicomDetectorConstruction::ReadPhantomDataFile",
422 "Wrong index in material");
447 for(
G4int ii = 0; ii < nelem; ii++ ){
487 G4cout <<
" placing voxel container volume at " << posCentreVoxels <<
G4endl;
512 G4String concreteSDname =
"phantomSD";