56 nSegment[0] = nSegment[1] = nSegment[2] = 0;
64 nSegment[0] = nSegment[1] = nSegment[2] = 0;
71 cylinderSize.
setX(dz);
72 cylinderSize.
setY(twopi);
73 cylinderSize.
setZ(dr);
76 nSegment[0] = nSeg[0];
77 nSegment[1] = nSeg[1];
78 nSegment[2] = nSeg[2];
82 G4double r0 = (cylinderSize[2]/nSegment[2])*(idx);
83 G4double r1 = (cylinderSize[2]/nSegment[2])*(idx+1);
87 G4double fullz = cylinderSize[0]/nSegment[0]*2.;
92 G4cout <<
" r0= " <<r0/cm <<
" r1= " << r1/cm<<
" fullz="<<fullz/cm<<
G4endl;
G4GLOB_DLL 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()