65 G4float denCyto1, denCyto2, denCyto3, denNucl1, denNucl2, denNucl3;
81 fMap = fopen(
"phantom.dat",
"r");
85 fscanf(fMap,
"%f %f %f",&tmp, &tmp, &tmp);
86 fscanf(fMap,
"%f %f %f",&denCyto1, &denCyto2, &denCyto3);
87 fscanf(fMap,
"%f %f %f",&denNucl1, &denNucl2, &denNucl3);
96 fscanf(fMap,
"%f %f %f %i %i %f",&vx, &vy, &vz, &mat, &den, &tmp);
98 if (std::abs(mat-2)<1.e-30)
100 if (std::abs(den-1)<1.e-30) density = denNucl1*(
g/
cm3);
101 if (std::abs(den-2)<1.e-30) density = denNucl2*(
g/
cm3);
102 if (std::abs(den-3)<1.e-30) density = denNucl3*(
g/
cm3);
106 if (std::abs(mat-1)<1.e-30)
108 if (std::abs(den-1)<1e-30) density = denCyto1*(
g/
cm3);
109 if (std::abs(den-2)<1e-30) density = denCyto2*(
g/
cm3);
110 if (std::abs(den-3)<1e-30) density = denCyto3*(
g/
cm3);
CLHEP::Hep3Vector G4ThreeVector
static G4int fPhantomTotalPixels
G4ThreeVector * fVoxelThreeVector
static G4int fNucleusTotalPixels
static const double micrometer
static G4float fNucleusMass
static G4float fCytoplasmMass
static G4int fCytoplasmTotalPixels