Geant4  10.00.p03
RE02PSCellFlux Class Reference

Cell flux class for a parameterized volume in a three dimentional structure. More...

#include <RE02PSCellFlux.hh>

+ Inheritance diagram for RE02PSCellFlux:
+ Collaboration diagram for RE02PSCellFlux:

Public Member Functions

 RE02PSCellFlux (G4String name, G4int nx, G4int ny, G4int nz)
 
virtual ~RE02PSCellFlux ()
 
- Public Member Functions inherited from G4PSCellFlux
 G4PSCellFlux (G4String name, G4int depth=0)
 
 G4PSCellFlux (G4String name, const G4String &unit, G4int depth=0)
 
virtual ~G4PSCellFlux ()
 
void Weighted (G4bool flg=true)
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void DrawAll ()
 
virtual void PrintAll ()
 
virtual void SetUnit (const G4String &unit)
 
- Public Member Functions inherited from G4VPrimitiveScorer
 G4VPrimitiveScorer (G4String name, G4int depth=0)
 
virtual ~G4VPrimitiveScorer ()
 
G4int GetCollectionID (G4int)
 
void SetUnit (const G4String &unit)
 
const G4StringGetUnit () const
 
G4double GetUnitValue () const
 
void SetMultiFunctionalDetector (G4MultiFunctionalDetector *d)
 
G4MultiFunctionalDetectorGetMultiFunctionalDetector () const
 
G4String GetName () const
 
void SetFilter (G4VSDFilter *f)
 
G4VSDFilterGetFilter () const
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
void SetNijk (G4int i, G4int j, G4int k)
 

Protected Member Functions

virtual G4int GetIndex (G4Step *)
 
- Protected Member Functions inherited from G4PSCellFlux
virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
virtual G4double ComputeVolume (G4Step *, G4int idx)
 
virtual void DefineUnitAndCategory ()
 
- Protected Member Functions inherited from G4VPrimitiveScorer
void CheckAndSetUnit (const G4String &unit, const G4String &category)
 

Private Attributes

G4int fNx
 
G4int fNy
 
G4int fNz
 

Additional Inherited Members

- Protected Attributes inherited from G4VPrimitiveScorer
G4String primitiveName
 
G4MultiFunctionalDetectordetector
 
G4VSDFilterfilter
 
G4int verboseLevel
 
G4int indexDepth
 
G4String unitName
 
G4double unitValue
 
G4int fNi
 
G4int fNj
 
G4int fNk
 

Detailed Description

Cell flux class for a parameterized volume in a three dimentional structure.

(Description) This is a primitive scorer class for scoring cell flux. The Cell Flux is defined by a sum of track length divided by the geometry volume, where all of the tracks in the geometry are taken into account. e.g. the unit of Cell Flux is mm/mm3.

If you score only tracks passing through the geometry volume, use G4PSPassageCellFlux.

Definition at line 55 of file RE02PSCellFlux.hh.

Constructor & Destructor Documentation

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

Definition at line 61 of file RE02PSCellFlux.cc.

RE02PSCellFlux::~RE02PSCellFlux ( )
virtual

Definition at line 66 of file RE02PSCellFlux.cc.

Member Function Documentation

G4int RE02PSCellFlux::GetIndex ( G4Step aStep)
protectedvirtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 70 of file RE02PSCellFlux.cc.

References fNx, fNy, fNz, G4Step::GetPreStepPoint(), G4VTouchable::GetReplicaNumber(), G4StepPoint::GetTouchable(), and iz.

+ Here is the call graph for this function:

Member Data Documentation

G4int RE02PSCellFlux::fNx
private

Definition at line 65 of file RE02PSCellFlux.hh.

Referenced by GetIndex().

G4int RE02PSCellFlux::fNy
private

Definition at line 65 of file RE02PSCellFlux.hh.

Referenced by GetIndex().

G4int RE02PSCellFlux::fNz
private

Definition at line 65 of file RE02PSCellFlux.hh.

Referenced by GetIndex().


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