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

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

#include <TG4RunActionMessenger.h>

Inheritance diagram for TG4RunActionMessenger:

Public Member Functions

 TG4RunActionMessenger (TG4RunAction *runAction)
 
virtual ~TG4RunActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4RunActionMessenger ()
 Not implemented.
 
 TG4RunActionMessenger (const TG4RunActionMessenger &right)
 Not implemented.
 
TG4RunActionMessengeroperator= (const TG4RunActionMessenger &right)
 Not implemented.
 

Private Attributes

TG4RunActionfRunAction
 associated class
 
G4UIdirectory * fRunDirectory
 command directory
 
G4UIcmdWithABool * fSaveRandomStatusCmd
 command: saveRandom
 
G4UIcmdWithABool * fReadRandomStatusCmd
 command: readRandom
 
G4UIcmdWithAString * fRandomStatusFileCmd
 command: setRandomFile
 
G4UIcmdWithADoubleAndUnit * fSetLooperThresholdWarningEnergyCmd
 setLooperThresholdWarningEnergy command
 
G4UIcmdWithADoubleAndUnit * fSetLooperThresholdImportantEnergyCmd
 setLooperThresholImportantEnergy command
 
G4UIcmdWithAnInteger * fSetNumberOfLooperThresholdTrialsCmd
 setNumberOfLooperThresholdTrials
 

Detailed Description

Messenger class that defines commands for TG4RunAction.

Implements command

  • /mcRun/saveRandom [true|false]
  • /mcRun/readRandom [true|false]
  • /mcRun/setRandomFile fileName
  • /mcRun/setLooperThresholdWarningEnergy value unit
  • /mcRun/setLooperThresholImportantEnergy value unit
  • /mcRun/setNumberOfLooperThresholdTrials value
Author
I. Hrivnacova; IPN, Orsay

Definition at line 41 of file TG4RunActionMessenger.h.

Constructor & Destructor Documentation

◆ TG4RunActionMessenger() [1/3]

TG4RunActionMessenger::TG4RunActionMessenger ( TG4RunAction * runAction)

Standard constructor

Definition at line 26 of file TG4RunActionMessenger.cxx.

◆ ~TG4RunActionMessenger()

TG4RunActionMessenger::~TG4RunActionMessenger ( )
virtual

Destructor

Definition at line 97 of file TG4RunActionMessenger.cxx.

◆ TG4RunActionMessenger() [2/3]

TG4RunActionMessenger::TG4RunActionMessenger ( )
private

Not implemented.

◆ TG4RunActionMessenger() [3/3]

TG4RunActionMessenger::TG4RunActionMessenger ( const TG4RunActionMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

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

Apply command to the associated object.

Definition at line 115 of file TG4RunActionMessenger.cxx.

◆ operator=()

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

Not implemented.

Member Data Documentation

◆ fRunAction

TG4RunAction* TG4RunActionMessenger::fRunAction
private

associated class

Definition at line 59 of file TG4RunActionMessenger.h.

Referenced by SetNewValue().

◆ fRunDirectory

G4UIdirectory* TG4RunActionMessenger::fRunDirectory
private

command directory

Definition at line 60 of file TG4RunActionMessenger.h.

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

◆ fSaveRandomStatusCmd

G4UIcmdWithABool* TG4RunActionMessenger::fSaveRandomStatusCmd
private

command: saveRandom

Definition at line 61 of file TG4RunActionMessenger.h.

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

◆ fReadRandomStatusCmd

G4UIcmdWithABool* TG4RunActionMessenger::fReadRandomStatusCmd
private

command: readRandom

Definition at line 62 of file TG4RunActionMessenger.h.

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

◆ fRandomStatusFileCmd

G4UIcmdWithAString* TG4RunActionMessenger::fRandomStatusFileCmd
private

command: setRandomFile

Definition at line 63 of file TG4RunActionMessenger.h.

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

◆ fSetLooperThresholdWarningEnergyCmd

G4UIcmdWithADoubleAndUnit* TG4RunActionMessenger::fSetLooperThresholdWarningEnergyCmd
private

setLooperThresholdWarningEnergy command

Definition at line 66 of file TG4RunActionMessenger.h.

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

◆ fSetLooperThresholdImportantEnergyCmd

G4UIcmdWithADoubleAndUnit* TG4RunActionMessenger::fSetLooperThresholdImportantEnergyCmd
private

setLooperThresholImportantEnergy command

Definition at line 69 of file TG4RunActionMessenger.h.

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

◆ fSetNumberOfLooperThresholdTrialsCmd

G4UIcmdWithAnInteger* TG4RunActionMessenger::fSetNumberOfLooperThresholdTrialsCmd
private

setNumberOfLooperThresholdTrials

Definition at line 72 of file TG4RunActionMessenger.h.

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


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