58 nSegment[0] = nSegment[1] = nSegment[2] = 0;
66 nSegment[0] = nSegment[1] = nSegment[2] = 0;
73 cylinderSize.
setX(dz);
74 cylinderSize.
setY(twopi);
75 cylinderSize.
setZ(dr);
78 nSegment[0] = nSeg[0];
79 nSegment[1] = nSeg[1];
80 nSegment[2] = nSeg[2];
84 G4double r0 = (cylinderSize[2]/nSegment[2])*(idx);
85 G4double r1 = (cylinderSize[2]/nSegment[2])*(idx+1);
89 G4double fullz = cylinderSize[0]/nSegment[0]*2.;
94 G4cout <<
" r0= " <<r0/cm <<
" r1= " << r1/cm<<
" fullz="<<fullz/cm<<
G4endl;
G4DLLIMPORT std::ostream G4cout
void SetNumberOfSegments(G4int nSeg[3])
void SetCylinderSize(G4double dr, G4double dz)
virtual G4double ComputeVolume(G4Step *, G4int idx)
G4PSCellFluxForCylinder3D(G4String name, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0)
virtual ~G4PSCellFluxForCylinder3D()