Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4RunMessenger Class Reference

Messenger class that defines commands for TG4RunManager. More...

#include <TG4RunMessenger.h>

Inheritance diagram for TG4RunMessenger:

Public Member Functions

 TG4RunMessenger (TG4RunManager *runManager)
 
virtual ~TG4RunMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4RunMessenger ()
 Not implemented.
 
 TG4RunMessenger (const TG4RunMessenger &right)
 Not implemented.
 
TG4RunMessengeroperator= (const TG4RunMessenger &right)
 Not implemented.
 

Private Attributes

TG4RunManagerfRunManager
 associated class
 
G4UIdirectory * fDirectory
 command directory
 
G4UIcmdWithoutParameter * fRootCmd
 command: root
 
G4UIcmdWithAString * fRootMacroCmd
 command: rootMacro
 
TG4UICmdWithAComplexStringfRootCommandCmd
 command: rootCmd
 
G4UIcmdWithABool * fUseRootRandomCmd
 command: useRootRandom
 
G4UIcmdWithoutParameter * fG3DefaultsCmd
 command: g3Defaults
 

Detailed Description

Messenger class that defines commands for TG4RunManager.

Implements commands:

  • /mcControl/root
  • /mcControl/rootMacro [macroName]
  • /mcControl/rootCmd [cmdString]
  • /mcControl/useRootRandom [true|false]
  • /mcControl/g3Defaults
Author
I. Hrivnacova; IPN, Orsay

Definition at line 41 of file TG4RunMessenger.h.

Constructor & Destructor Documentation

◆ TG4RunMessenger() [1/3]

TG4RunMessenger::TG4RunMessenger ( TG4RunManager * runManager)

Standard constructor

Definition at line 26 of file TG4RunMessenger.cxx.

◆ ~TG4RunMessenger()

TG4RunMessenger::~TG4RunMessenger ( )
virtual

Destructor

Definition at line 73 of file TG4RunMessenger.cxx.

◆ TG4RunMessenger() [2/3]

TG4RunMessenger::TG4RunMessenger ( )
private

Not implemented.

◆ TG4RunMessenger() [3/3]

TG4RunMessenger::TG4RunMessenger ( const TG4RunMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

void TG4RunMessenger::SetNewValue ( G4UIcommand * command,
G4String string )
virtual

Apply command to the associated object.

Definition at line 90 of file TG4RunMessenger.cxx.

◆ operator=()

TG4RunMessenger & TG4RunMessenger::operator= ( const TG4RunMessenger & right)
private

Not implemented.

Member Data Documentation

◆ fRunManager

TG4RunManager* TG4RunMessenger::fRunManager
private

associated class

Definition at line 59 of file TG4RunMessenger.h.

Referenced by SetNewValue().

◆ fDirectory

G4UIdirectory* TG4RunMessenger::fDirectory
private

command directory

Definition at line 60 of file TG4RunMessenger.h.

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

◆ fRootCmd

G4UIcmdWithoutParameter* TG4RunMessenger::fRootCmd
private

command: root

Definition at line 62 of file TG4RunMessenger.h.

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

◆ fRootMacroCmd

G4UIcmdWithAString* TG4RunMessenger::fRootMacroCmd
private

command: rootMacro

Definition at line 63 of file TG4RunMessenger.h.

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

◆ fRootCommandCmd

TG4UICmdWithAComplexString* TG4RunMessenger::fRootCommandCmd
private

command: rootCmd

Definition at line 64 of file TG4RunMessenger.h.

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

◆ fUseRootRandomCmd

G4UIcmdWithABool* TG4RunMessenger::fUseRootRandomCmd
private

command: useRootRandom

Definition at line 65 of file TG4RunMessenger.h.

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

◆ fG3DefaultsCmd

G4UIcmdWithoutParameter* TG4RunMessenger::fG3DefaultsCmd
private

command: g3Defaults

Definition at line 66 of file TG4RunMessenger.h.

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


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