Geant4  10.01.p02
G4GeometryMessenger Class Reference

#include <G4GeometryMessenger.hh>

+ Inheritance diagram for G4GeometryMessenger:
+ Collaboration diagram for G4GeometryMessenger:

Public Member Functions

 G4GeometryMessenger (G4TransportationManager *tman)
 
 ~G4GeometryMessenger ()
 
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
 

Private Member Functions

void Init ()
 
void CheckGeometry ()
 
void ResetNavigator ()
 
void SetVerbosity (G4String newValue)
 
void SetCheckMode (G4String newValue)
 
void SetPushFlag (G4String newValue)
 
void RecursiveOverlapTest ()
 

Private Attributes

G4UIdirectorygeodir
 
G4UIdirectorynavdir
 
G4UIdirectorytestdir
 
G4UIcmdWithABoolchkCmd
 
G4UIcmdWithABoolpchkCmd
 
G4UIcmdWithABoolverCmd
 
G4UIcmdWithoutParameterrecCmd
 
G4UIcmdWithoutParameterresCmd
 
G4UIcmdWithADoubleAndUnittolCmd
 
G4UIcmdWithAnIntegerverbCmd
 
G4UIcmdWithAnIntegerrslCmd
 
G4UIcmdWithAnIntegerrcsCmd
 
G4UIcmdWithAnIntegerrcdCmd
 
G4UIcmdWithAnIntegererrCmd
 
G4double tol
 
G4int recLevel
 
G4int recDepth
 
G4TransportationManagertmanager
 
G4GeomTestVolumetvolume
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 57 of file G4GeometryMessenger.hh.

Constructor & Destructor Documentation

G4GeometryMessenger::~G4GeometryMessenger ( )

Member Function Documentation

void G4GeometryMessenger::CheckGeometry ( )
private

Definition at line 274 of file G4GeometryMessenger.cc.

References G4GeometryManager::CloseGeometry(), G4GeometryManager::GetInstance(), G4GeometryManager::IsGeometryClosed(), and G4GeometryManager::OpenGeometry().

Referenced by RecursiveOverlapTest(), and ResetNavigator().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String G4GeometryMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 261 of file G4GeometryMessenger.cc.

References G4UIcommand::ConvertToString(), tol, and tolCmd.

+ Here is the call graph for this function:

void G4GeometryMessenger::Init ( )
private

Definition at line 193 of file G4GeometryMessenger.cc.

References G4TransportationManager::GetNavigatorForTracking(), G4Navigator::GetWorldVolume(), tmanager, and tvolume.

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryMessenger::RecursiveOverlapTest ( )
private

Definition at line 339 of file G4GeometryMessenger.cc.

References CheckGeometry(), recDepth, recLevel, G4GeomTestVolume::TestRecursiveOverlap(), and tvolume.

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryMessenger::ResetNavigator ( )
private

Definition at line 289 of file G4GeometryMessenger.cc.

References CheckGeometry(), G4TransportationManager::GetNavigatorForTracking(), G4Navigator::LocateGlobalPointAndSetup(), and tmanager.

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryMessenger::SetCheckMode ( G4String  newValue)
private

Definition at line 317 of file G4GeometryMessenger.cc.

References G4Navigator::CheckMode(), chkCmd, G4TransportationManager::GetNavigatorForTracking(), G4UIcmdWithABool::GetNewBoolValue(), and tmanager.

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryMessenger::SetPushFlag ( G4String  newValue)
private

Definition at line 328 of file G4GeometryMessenger.cc.

References G4TransportationManager::GetNavigatorForTracking(), G4UIcmdWithABool::GetNewBoolValue(), pchkCmd, G4Navigator::SetPushVerbosity(), and tmanager.

+ Here is the call graph for this function:

void G4GeometryMessenger::SetVerbosity ( G4String  newValue)
private

Definition at line 306 of file G4GeometryMessenger.cc.

References G4TransportationManager::GetNavigatorForTracking(), G4UIcmdWithAnInteger::GetNewIntValue(), G4Navigator::SetVerboseLevel(), tmanager, and verbCmd.

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4UIcmdWithABool* G4GeometryMessenger::chkCmd
private
G4UIcmdWithAnInteger * G4GeometryMessenger::errCmd
private

Definition at line 82 of file G4GeometryMessenger.hh.

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

G4UIdirectory* G4GeometryMessenger::geodir
private

Definition at line 78 of file G4GeometryMessenger.hh.

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

G4UIdirectory * G4GeometryMessenger::navdir
private

Definition at line 78 of file G4GeometryMessenger.hh.

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

G4UIcmdWithABool * G4GeometryMessenger::pchkCmd
private

Definition at line 79 of file G4GeometryMessenger.hh.

Referenced by G4GeometryMessenger(), SetPushFlag(), and ~G4GeometryMessenger().

G4UIcmdWithAnInteger * G4GeometryMessenger::rcdCmd
private

Definition at line 82 of file G4GeometryMessenger.hh.

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

G4UIcmdWithAnInteger * G4GeometryMessenger::rcsCmd
private

Definition at line 82 of file G4GeometryMessenger.hh.

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

G4UIcmdWithoutParameter* G4GeometryMessenger::recCmd
private

Definition at line 80 of file G4GeometryMessenger.hh.

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

G4int G4GeometryMessenger::recDepth
private

Definition at line 85 of file G4GeometryMessenger.hh.

Referenced by RecursiveOverlapTest(), and SetNewValue().

G4int G4GeometryMessenger::recLevel
private

Definition at line 85 of file G4GeometryMessenger.hh.

Referenced by RecursiveOverlapTest(), and SetNewValue().

G4UIcmdWithoutParameter * G4GeometryMessenger::resCmd
private

Definition at line 80 of file G4GeometryMessenger.hh.

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

G4UIcmdWithAnInteger * G4GeometryMessenger::rslCmd
private

Definition at line 82 of file G4GeometryMessenger.hh.

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

G4UIdirectory * G4GeometryMessenger::testdir
private

Definition at line 78 of file G4GeometryMessenger.hh.

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

G4TransportationManager* G4GeometryMessenger::tmanager
private

Definition at line 87 of file G4GeometryMessenger.hh.

Referenced by Init(), ResetNavigator(), SetCheckMode(), SetPushFlag(), and SetVerbosity().

G4double G4GeometryMessenger::tol
private

Definition at line 84 of file G4GeometryMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithADoubleAndUnit* G4GeometryMessenger::tolCmd
private
G4GeomTestVolume* G4GeometryMessenger::tvolume
private
G4UIcmdWithAnInteger* G4GeometryMessenger::verbCmd
private
G4UIcmdWithABool * G4GeometryMessenger::verCmd
private

Definition at line 79 of file G4GeometryMessenger.hh.

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


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