#include <G4PSSphereSurfaceFlux3D.hh>
Inheritance diagram for G4PSSphereSurfaceFlux3D:
Public Member Functions | |
G4PSSphereSurfaceFlux3D (G4String name, G4int direction, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0) | |
G4PSSphereSurfaceFlux3D (G4String name, G4int direction, const G4String &unit, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0) | |
virtual | ~G4PSSphereSurfaceFlux3D () |
Protected Member Functions | |
virtual G4int | GetIndex (G4Step *) |
Definition at line 53 of file G4PSSphereSurfaceFlux3D.hh.
G4PSSphereSurfaceFlux3D::G4PSSphereSurfaceFlux3D | ( | G4String | name, | |
G4int | direction, | |||
G4int | ni = 1 , |
|||
G4int | nj = 1 , |
|||
G4int | nk = 1 , |
|||
G4int | depi = 2 , |
|||
G4int | depj = 1 , |
|||
G4int | depk = 0 | |||
) |
Definition at line 50 of file G4PSSphereSurfaceFlux3D.cc.
References G4VPrimitiveScorer::fNi, G4VPrimitiveScorer::fNj, and G4VPrimitiveScorer::fNk.
00053 :G4PSSphereSurfaceFlux(name,direction), 00054 fDepthi(depi),fDepthj(depj),fDepthk(depk) 00055 { 00056 fNi=ni; 00057 fNj=nj; 00058 fNk=nk; 00059 }
G4PSSphereSurfaceFlux3D::G4PSSphereSurfaceFlux3D | ( | G4String | name, | |
G4int | direction, | |||
const G4String & | unit, | |||
G4int | ni = 1 , |
|||
G4int | nj = 1 , |
|||
G4int | nk = 1 , |
|||
G4int | depi = 2 , |
|||
G4int | depj = 1 , |
|||
G4int | depk = 0 | |||
) |
Definition at line 61 of file G4PSSphereSurfaceFlux3D.cc.
References G4VPrimitiveScorer::fNi, G4VPrimitiveScorer::fNj, G4VPrimitiveScorer::fNk, and G4PSSphereSurfaceFlux::SetUnit().
00065 :G4PSSphereSurfaceFlux(name,direction), 00066 fDepthi(depi),fDepthj(depj),fDepthk(depk) 00067 { 00068 fNi=ni; 00069 fNj=nj; 00070 fNk=nk; 00071 SetUnit(unit); 00072 }
G4PSSphereSurfaceFlux3D::~G4PSSphereSurfaceFlux3D | ( | ) | [virtual] |
Reimplemented from G4VPrimitiveScorer.
Definition at line 77 of file G4PSSphereSurfaceFlux3D.cc.
References G4VPrimitiveScorer::fNj, G4VPrimitiveScorer::fNk, G4Step::GetPreStepPoint(), G4VTouchable::GetReplicaNumber(), and G4StepPoint::GetTouchable().
00078 { 00079 const G4VTouchable* touchable = aStep->GetPreStepPoint()->GetTouchable(); 00080 G4int i = touchable->GetReplicaNumber(fDepthi); 00081 G4int j = touchable->GetReplicaNumber(fDepthj); 00082 G4int k = touchable->GetReplicaNumber(fDepthk); 00083 00084 return i*fNj*fNk+j*fNk+k; 00085 }