Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
RE02PSPassageCellFlux Class Reference

#include <Doxymodules_runAndEvent.h>

Inheritance diagram for RE02PSPassageCellFlux:
G4PSPassageCellFlux G4VPrimitivePlotter G4VPrimitiveScorer

Public Member Functions

 RE02PSPassageCellFlux (G4String name, G4int nx, G4int ny, G4int nz)
 
virtual ~RE02PSPassageCellFlux ()
 

Protected Member Functions

virtual G4int GetIndex (G4Step *)
 

Private Attributes

G4int fNx
 
G4int fNy
 
G4int fNz
 

Detailed Description

Definition at line 57 of file Doxymodules_runAndEvent.h.

Constructor & Destructor Documentation

◆ RE02PSPassageCellFlux()

RE02PSPassageCellFlux::RE02PSPassageCellFlux ( G4String  name,
G4int  nx,
G4int  ny,
G4int  nz 
)

◆ ~RE02PSPassageCellFlux()

RE02PSPassageCellFlux::~RE02PSPassageCellFlux ( )
virtual

Definition at line 66 of file RE02PSPassageCellFlux.cc.

67{;}

Member Function Documentation

◆ GetIndex()

G4int RE02PSPassageCellFlux::GetIndex ( G4Step aStep)
protectedvirtual

Definition at line 70 of file RE02PSPassageCellFlux.cc.

71{
72 const G4VTouchable* touchable = aStep->GetPreStepPoint()->GetTouchable();
73 G4int ix = touchable->GetReplicaNumber(1);
74 G4int iy = touchable->GetReplicaNumber(2);
75 G4int iz = touchable->GetReplicaNumber(0);
76
77 G4int tmp = fNy;
78 if (tmp) return iy*fNx*fNz+ix*fNz+iz;
79 else return iy*fNx*fNz+ix*fNz+iz;
80}

Member Data Documentation

◆ fNx

G4int RE02PSPassageCellFlux::fNx
private

Definition at line 59 of file RE02PSPassageCellFlux.hh.

◆ fNy

G4int RE02PSPassageCellFlux::fNy
private

Definition at line 59 of file RE02PSPassageCellFlux.hh.

◆ fNz

G4int RE02PSPassageCellFlux::fNz
private

Definition at line 59 of file RE02PSPassageCellFlux.hh.


The documentation for this class was generated from the following files:

Applications | User Support | Publications | Collaboration