76 G4double dr = (cylinderSize[1] - cylinderSize[0]) / nSegment[2];
77 G4double r0 = cylinderSize[0] + dr * (idx);
78 G4double r1 = cylinderSize[0] + dr * (idx + 1);
79 G4double dRArea = (r1 * r1 - r0 * r0) * pi;
82 G4double fullz = cylinderSize[2] / nSegment[0] * 2.;
83 G4double phiRatio = (fAngle[1] / (CLHEP::twopi*rad)) / nSegment[1];
84 G4double v = dRArea * fullz * phiRatio;
88 G4cout <<
" r0= " << r0 / cm <<
" r1= " << r1 / cm
89 <<
" fullz=" << fullz / cm <<
G4endl;
90 G4cout <<
" idx= " << idx <<
" v(cm3)= " << v / cm3 <<
G4endl;