Geant4  10.02.p02
G4ScoringMessenger Class Reference

#include <G4ScoringMessenger.hh>

+ Inheritance diagram for G4ScoringMessenger:
+ Collaboration diagram for G4ScoringMessenger:

Public Member Functions

 G4ScoringMessenger (G4ScoringManager *SManager)
 
 ~G4ScoringMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
G4String GetCurrentValue (G4UIcommand *command)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Protected Member Functions

void FillTokenVec (G4String newValues, G4TokenVec &token)
 
void MeshBinCommand (G4VScoringMesh *mesh, G4TokenVec &token)
 
- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 

Private Attributes

G4ScoringManagerfSMan
 
G4UIdirectoryscoreDir
 
G4UIcmdWithoutParameterlistCmd
 
G4UIcmdWithoutParameterdumpCmd
 
G4UIcmdWithAnIntegerverboseCmd
 
G4UIdirectorymeshCreateDir
 
G4UIcmdWithAStringmeshBoxCreateCmd
 
G4UIcmdWithAStringmeshCylinderCreateCmd
 
G4UIdirectorymeshDir
 
G4UIcmdWithAStringmeshOpnCmd
 
G4UIcmdWithoutParametermeshClsCmd
 
G4UIcmdWith3VectorAndUnitmBoxSizeCmd
 
G4UIcommandmCylinderSizeCmd
 
G4UIcommandmBinCmd
 
G4UIdirectorymTransDir
 
G4UIcmdWithoutParametermTResetCmd
 
G4UIcmdWith3VectorAndUnitmTXyzCmd
 
G4UIdirectorymRotDir
 
G4UIcmdWithoutParametermRResetCmd
 
G4UIcmdWithADoubleAndUnitmRotXCmd
 
G4UIcmdWithADoubleAndUnitmRotYCmd
 
G4UIcmdWithADoubleAndUnitmRotZCmd
 
G4UIcommanddrawCmd
 
G4UIcommanddrawColumnCmd
 
G4UIdirectorycolorMapDir
 
G4UIcmdWithoutParameterlistColorMapCmd
 
G4UIcmdWithAStringfloatMinMaxCmd
 
G4UIcommandcolorMapMinMaxCmd
 
G4UIcommanddumpQtyToFileCmd
 
G4UIcommanddumpAllQtsToFileCmd
 

Additional Inherited Members

- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 63 of file G4ScoringMessenger.hh.

Constructor & Destructor Documentation

Member Function Documentation

void G4ScoringMessenger::FillTokenVec ( G4String  newValues,
G4TokenVec token 
)
protected

Definition at line 538 of file G4ScoringMessenger.cc.

Referenced by SetNewValue().

+ Here is the caller graph for this function:

G4String G4ScoringMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 529 of file G4ScoringMessenger.cc.

References G4UIcommand::ConvertToString(), fSMan, G4ScoringManager::GetVerboseLevel(), and verboseCmd.

+ Here is the call graph for this function:

void G4ScoringMessenger::MeshBinCommand ( G4VScoringMesh mesh,
G4TokenVec token 
)
protected

Definition at line 548 of file G4ScoringMessenger.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4VScoringMesh::SetNumberOfSegments(), and G4UImessenger::StoI().

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ScoringMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 334 of file G4ScoringMessenger.cc.

References boxMesh, G4ScoringManager::CloseCurrentMesh(), colorMapMinMaxCmd, cylinderMesh, drawCmd, drawColumnCmd, G4ScoringManager::DrawMesh(), G4ScoringManager::Dump(), dumpAllQtsToFileCmd, G4ScoringManager::DumpAllQuantitiesToFile(), dumpCmd, dumpQtyToFileCmd, G4ScoringManager::DumpQuantityToFile(), FillTokenVec(), G4ScoringManager::FindMesh(), floatMinMaxCmd, fSMan, G4cerr, G4endl, G4UIcommand::GetCommandPath(), G4ScoringManager::GetCurrentMesh(), G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), G4ScoringManager::GetScoreColorMap(), G4VScoringMesh::GetShape(), G4VScoringMesh::GetWorldName(), G4ScoringManager::List(), listCmd, listColorMapCmd, G4ScoringManager::ListScoreColorMaps(), mBinCmd, mBoxSizeCmd, mCylinderSizeCmd, MeshBinCommand(), meshBoxCreateCmd, meshClsCmd, meshCylinderCreateCmd, meshOpnCmd, mRotXCmd, mRotYCmd, mRotZCmd, mRResetCmd, mTResetCmd, mTXyzCmd, G4ScoringManager::RegisterScoringMesh(), G4VScoringMesh::RotateX(), G4VScoringMesh::RotateY(), G4VScoringMesh::RotateZ(), G4VScoringMesh::SetCenterPosition(), G4ScoringManager::SetCurrentMesh(), G4VScoreColorMap::SetFloatingMinMax(), G4VScoreColorMap::SetMinMax(), G4VScoringMesh::SetSize(), G4ScoringManager::SetVerboseLevel(), G4UImessenger::StoD(), G4UImessenger::StoI(), G4UIcommand::ValueOf(), and verboseCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4UIdirectory* G4ScoringMessenger::colorMapDir
private

Definition at line 123 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), and ~G4ScoringMessenger().

G4UIcommand* G4ScoringMessenger::colorMapMinMaxCmd
private

Definition at line 126 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcommand* G4ScoringMessenger::drawCmd
private

Definition at line 121 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcommand* G4ScoringMessenger::drawColumnCmd
private

Definition at line 122 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcommand* G4ScoringMessenger::dumpAllQtsToFileCmd
private

Definition at line 131 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithoutParameter* G4ScoringMessenger::dumpCmd
private

Definition at line 87 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcommand* G4ScoringMessenger::dumpQtyToFileCmd
private

Definition at line 130 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithAString* G4ScoringMessenger::floatMinMaxCmd
private

Definition at line 125 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4ScoringManager* G4ScoringMessenger::fSMan
private

Definition at line 84 of file G4ScoringMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithoutParameter* G4ScoringMessenger::listCmd
private

Definition at line 86 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithoutParameter* G4ScoringMessenger::listColorMapCmd
private

Definition at line 124 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcommand* G4ScoringMessenger::mBinCmd
private

Definition at line 108 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWith3VectorAndUnit* G4ScoringMessenger::mBoxSizeCmd
private

Definition at line 103 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcommand* G4ScoringMessenger::mCylinderSizeCmd
private

Definition at line 104 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithAString* G4ScoringMessenger::meshBoxCreateCmd
private

Definition at line 91 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithoutParameter* G4ScoringMessenger::meshClsCmd
private

Definition at line 99 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIdirectory* G4ScoringMessenger::meshCreateDir
private

Definition at line 90 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), and ~G4ScoringMessenger().

G4UIcmdWithAString* G4ScoringMessenger::meshCylinderCreateCmd
private

Definition at line 92 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIdirectory* G4ScoringMessenger::meshDir
private

Definition at line 96 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), and ~G4ScoringMessenger().

G4UIcmdWithAString* G4ScoringMessenger::meshOpnCmd
private

Definition at line 97 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIdirectory* G4ScoringMessenger::mRotDir
private

Definition at line 114 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), and ~G4ScoringMessenger().

G4UIcmdWithADoubleAndUnit* G4ScoringMessenger::mRotXCmd
private

Definition at line 116 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithADoubleAndUnit* G4ScoringMessenger::mRotYCmd
private

Definition at line 117 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithADoubleAndUnit* G4ScoringMessenger::mRotZCmd
private

Definition at line 118 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWithoutParameter* G4ScoringMessenger::mRResetCmd
private

Definition at line 115 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIdirectory* G4ScoringMessenger::mTransDir
private

Definition at line 111 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), and ~G4ScoringMessenger().

G4UIcmdWithoutParameter* G4ScoringMessenger::mTResetCmd
private

Definition at line 112 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIcmdWith3VectorAndUnit* G4ScoringMessenger::mTXyzCmd
private

Definition at line 113 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), SetNewValue(), and ~G4ScoringMessenger().

G4UIdirectory* G4ScoringMessenger::scoreDir
private

Definition at line 85 of file G4ScoringMessenger.hh.

Referenced by G4ScoringMessenger(), and ~G4ScoringMessenger().

G4UIcmdWithAnInteger* G4ScoringMessenger::verboseCmd
private

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