Geant4  10.01.p02
G4SmartVoxelStat Class Reference

#include <G4SmartVoxelStat.hh>

+ Collaboration diagram for G4SmartVoxelStat:

Classes

struct  ByCpu
 
struct  ByMemory
 

Public Member Functions

 G4SmartVoxelStat (const G4LogicalVolume *theVolume, const G4SmartVoxelHeader *theVoxel, G4double theSysTime, G4double theUserTime)
 
const G4LogicalVolumeGetVolume () const
 
const G4SmartVoxelHeaderGetVoxel () const
 
G4double GetSysTime () const
 
G4double GetUserTime () const
 
G4double GetTotalTime () const
 
G4long GetNumberHeads () const
 
G4long GetNumberNodes () const
 
G4long GetNumberPointers () const
 
G4long GetMemoryUse () const
 

Protected Member Functions

void CountHeadsAndNodes (const G4SmartVoxelHeader *head)
 

Protected Attributes

const G4LogicalVolumevolume
 
const G4SmartVoxelHeadervoxel
 
G4double sysTime
 
G4double userTime
 
G4long heads
 
G4long nodes
 
G4long pointers
 

Detailed Description

Definition at line 50 of file G4SmartVoxelStat.hh.

Constructor & Destructor Documentation

G4SmartVoxelStat::G4SmartVoxelStat ( const G4LogicalVolume theVolume,
const G4SmartVoxelHeader theVoxel,
G4double  theSysTime,
G4double  theUserTime 
)

Definition at line 49 of file G4SmartVoxelStat.cc.

References CountHeadsAndNodes(), and voxel.

+ Here is the call graph for this function:

Member Function Documentation

void G4SmartVoxelStat::CountHeadsAndNodes ( const G4SmartVoxelHeader head)
protected

Definition at line 133 of file G4SmartVoxelStat.cc.

References G4SmartVoxelProxy::GetHeader(), G4SmartVoxelHeader::GetNoSlices(), G4SmartVoxelHeader::GetSlice(), heads, G4SmartVoxelProxy::IsNode(), nodes, and pointers.

Referenced by G4SmartVoxelStat().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4long G4SmartVoxelStat::GetMemoryUse ( ) const

Definition at line 112 of file G4SmartVoxelStat.cc.

References heads, nodes, and pointers.

Referenced by G4SmartVoxelStat::ByMemory::operator()().

+ Here is the caller graph for this function:

G4long G4SmartVoxelStat::GetNumberHeads ( ) const

Definition at line 93 of file G4SmartVoxelStat.cc.

References heads.

G4long G4SmartVoxelStat::GetNumberNodes ( ) const

Definition at line 98 of file G4SmartVoxelStat.cc.

References nodes.

G4long G4SmartVoxelStat::GetNumberPointers ( ) const

Definition at line 103 of file G4SmartVoxelStat.cc.

References pointers.

G4double G4SmartVoxelStat::GetSysTime ( ) const

Definition at line 78 of file G4SmartVoxelStat.cc.

References sysTime.

G4double G4SmartVoxelStat::GetTotalTime ( ) const

Definition at line 88 of file G4SmartVoxelStat.cc.

References sysTime, and userTime.

Referenced by G4SmartVoxelStat::ByCpu::operator()().

+ Here is the caller graph for this function:

G4double G4SmartVoxelStat::GetUserTime ( ) const

Definition at line 83 of file G4SmartVoxelStat.cc.

References userTime.

const G4LogicalVolume * G4SmartVoxelStat::GetVolume ( ) const

Definition at line 68 of file G4SmartVoxelStat.cc.

References volume.

const G4SmartVoxelHeader * G4SmartVoxelStat::GetVoxel ( ) const

Definition at line 73 of file G4SmartVoxelStat.cc.

References voxel.

Member Data Documentation

G4long G4SmartVoxelStat::heads
protected

Definition at line 98 of file G4SmartVoxelStat.hh.

Referenced by CountHeadsAndNodes(), GetMemoryUse(), and GetNumberHeads().

G4long G4SmartVoxelStat::nodes
protected

Definition at line 99 of file G4SmartVoxelStat.hh.

Referenced by CountHeadsAndNodes(), GetMemoryUse(), and GetNumberNodes().

G4long G4SmartVoxelStat::pointers
protected

Definition at line 100 of file G4SmartVoxelStat.hh.

Referenced by CountHeadsAndNodes(), GetMemoryUse(), and GetNumberPointers().

G4double G4SmartVoxelStat::sysTime
protected

Definition at line 95 of file G4SmartVoxelStat.hh.

Referenced by GetSysTime(), and GetTotalTime().

G4double G4SmartVoxelStat::userTime
protected

Definition at line 96 of file G4SmartVoxelStat.hh.

Referenced by GetTotalTime(), and GetUserTime().

const G4LogicalVolume* G4SmartVoxelStat::volume
protected

Definition at line 92 of file G4SmartVoxelStat.hh.

Referenced by GetVolume().

const G4SmartVoxelHeader* G4SmartVoxelStat::voxel
protected

Definition at line 93 of file G4SmartVoxelStat.hh.

Referenced by G4SmartVoxelStat(), and GetVoxel().


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