Geant4  10.02.p02
G4PSPassageTrackLength3D Class Reference

#include <G4PSPassageTrackLength3D.hh>

+ Inheritance diagram for G4PSPassageTrackLength3D:
+ Collaboration diagram for G4PSPassageTrackLength3D:

Public Member Functions

 G4PSPassageTrackLength3D (G4String name, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0)
 
 G4PSPassageTrackLength3D (G4String name, const G4String &unit, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0)
 
virtual ~G4PSPassageTrackLength3D ()
 
- Public Member Functions inherited from G4PSPassageTrackLength
 G4PSPassageTrackLength (G4String name, G4int depth=0)
 
 G4PSPassageTrackLength (G4String name, const G4String &unit, G4int depth=0)
 
virtual ~G4PSPassageTrackLength ()
 
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 G4PSPassageTrackLength
virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
G4bool IsPassed (G4Step *)
 
- Protected Member Functions inherited from G4VPrimitiveScorer
void CheckAndSetUnit (const G4String &unit, const G4String &category)
 

Private Attributes

G4int fDepthi
 
G4int fDepthj
 
G4int fDepthk
 

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

Definition at line 46 of file G4PSPassageTrackLength3D.hh.

Constructor & Destructor Documentation

G4PSPassageTrackLength3D::G4PSPassageTrackLength3D ( G4String  name,
G4int  ni = 1,
G4int  nj = 1,
G4int  nk = 1,
G4int  depi = 2,
G4int  depj = 1,
G4int  depk = 0 
)
G4PSPassageTrackLength3D::G4PSPassageTrackLength3D ( G4String  name,
const G4String unit,
G4int  ni = 1,
G4int  nj = 1,
G4int  nk = 1,
G4int  depi = 2,
G4int  depj = 1,
G4int  depk = 0 
)

Definition at line 54 of file G4PSPassageTrackLength3D.cc.

References G4VPrimitiveScorer::fNi, G4VPrimitiveScorer::fNj, G4VPrimitiveScorer::fNk, and G4PSPassageTrackLength::SetUnit().

+ Here is the call graph for this function:

G4PSPassageTrackLength3D::~G4PSPassageTrackLength3D ( )
virtual

Definition at line 66 of file G4PSPassageTrackLength3D.cc.

Member Function Documentation

G4int G4PSPassageTrackLength3D::GetIndex ( G4Step aStep)
protectedvirtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 69 of file G4PSPassageTrackLength3D.cc.

References fDepthi, fDepthj, fDepthk, G4VPrimitiveScorer::fNj, G4VPrimitiveScorer::fNk, G4Step::GetPreStepPoint(), G4VTouchable::GetReplicaNumber(), and G4StepPoint::GetTouchable().

+ Here is the call graph for this function:

Member Data Documentation

G4int G4PSPassageTrackLength3D::fDepthi
private

Definition at line 63 of file G4PSPassageTrackLength3D.hh.

Referenced by GetIndex().

G4int G4PSPassageTrackLength3D::fDepthj
private

Definition at line 63 of file G4PSPassageTrackLength3D.hh.

Referenced by GetIndex().

G4int G4PSPassageTrackLength3D::fDepthk
private

Definition at line 63 of file G4PSPassageTrackLength3D.hh.

Referenced by GetIndex().


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