Geant4  10.01.p03
G4VScoreWriter Class Reference

#include <G4VScoreWriter.hh>

+ Inheritance diagram for G4VScoreWriter:
+ Collaboration diagram for G4VScoreWriter:

Public Member Functions

 G4VScoreWriter ()
 
virtual ~G4VScoreWriter ()
 
virtual void DumpQuantityToFile (const G4String &psName, const G4String &fileName, const G4String &option)
 
virtual void DumpAllQuantitiesToFile (const G4String &fileName, const G4String &option)
 
void SetScoringMesh (G4VScoringMesh *sm)
 
void SetVerboseLevel (G4int vl)
 

Protected Member Functions

G4int GetIndex (G4int x, G4int y, G4int z) const
 

Protected Attributes

G4int fNMeshSegments [3]
 
G4VScoringMeshfScoringMesh
 
G4int verboseLevel
 

Detailed Description

Definition at line 41 of file G4VScoreWriter.hh.

Constructor & Destructor Documentation

G4VScoreWriter::G4VScoreWriter ( )

Definition at line 40 of file G4VScoreWriter.cc.

References fNMeshSegments.

G4VScoreWriter::~G4VScoreWriter ( )
virtual

Definition at line 45 of file G4VScoreWriter.cc.

Member Function Documentation

void G4VScoreWriter::DumpAllQuantitiesToFile ( const G4String fileName,
const G4String option 
)
virtual

Definition at line 150 of file G4VScoreWriter.cc.

References G4String::first(), fNMeshSegments, fScoringMesh, G4cerr, G4endl, G4VScoringMesh::GetDivisionAxisNames(), GetIndex(), G4VScoringMesh::GetPSUnit(), G4VScoringMesh::GetPSUnitValue(), G4VScoringMesh::GetScoreMap(), G4VScoringMesh::GetWorldName(), ofile, and z.

Referenced by G4ScoringManager::DumpAllQuantitiesToFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VScoreWriter::DumpQuantityToFile ( const G4String psName,
const G4String fileName,
const G4String option 
)
virtual

Reimplemented in RE03UserScoreWriter, and BrachyUserScoreWriter.

Definition at line 53 of file G4VScoreWriter.cc.

References fNMeshSegments, fScoringMesh, G4cerr, G4endl, G4VScoringMesh::GetDivisionAxisNames(), GetIndex(), G4VScoringMesh::GetPSUnit(), G4VScoringMesh::GetPSUnitValue(), G4VScoringMesh::GetScoreMap(), G4VScoringMesh::GetWorldName(), ofile, and z.

Referenced by G4ScoringManager::DumpQuantityToFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4VScoreWriter::GetIndex ( G4int  x,
G4int  y,
G4int  z 
) const
protected

Definition at line 243 of file G4VScoreWriter.cc.

References fNMeshSegments, and z.

Referenced by DumpAllQuantitiesToFile(), DumpQuantityToFile(), BrachyUserScoreWriter::DumpQuantityToFile(), and RE03UserScoreWriter::DumpQuantityToFile().

+ Here is the caller graph for this function:

void G4VScoreWriter::SetScoringMesh ( G4VScoringMesh sm)

Definition at line 48 of file G4VScoreWriter.cc.

References fNMeshSegments, fScoringMesh, G4VScoringMesh::GetNumberOfSegments(), and G4InuclParticleNames::sm.

Referenced by G4ScoringManager::DumpAllQuantitiesToFile(), and G4ScoringManager::DumpQuantityToFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VScoreWriter::SetVerboseLevel ( G4int  vl)
inline

Definition at line 59 of file G4VScoreWriter.hh.

References verboseLevel.

Referenced by G4ScoringManager::SetScoreWriter(), and G4ScoringManager::SetVerboseLevel().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4VScoreWriter::verboseLevel
protected

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