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

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

#include <TG4EventActionMessenger.h>

Inheritance diagram for TG4EventActionMessenger:

Public Member Functions

 TG4EventActionMessenger (TG4EventAction *eventAction)
 
virtual ~TG4EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4EventActionMessenger ()
 Not implemented.
 
 TG4EventActionMessenger (const TG4EventActionMessenger &right)
 Not implemented.
 
TG4EventActionMessengeroperator= (const TG4EventActionMessenger &right)
 Not implemented.
 

Private Attributes

TG4EventActionfEventAction
 associated class
 
G4UIdirectory * fEventDirectory
 command directory
 
G4UIcmdWithABool * fPrintMemoryCmd
 command: printMemory
 
G4UIcmdWithABool * fSaveRandomStatusCmd
 command: saveRandom
 

Detailed Description

Messenger class that defines commands for TG4EventAction.

Implements command

  • /mcEvent/printMemory [true|false]
  • /mcEvent/saveRandom [true|false]
Author
I. Hrivnacova; IPN, Orsay

Definition at line 34 of file TG4EventActionMessenger.h.

Constructor & Destructor Documentation

◆ TG4EventActionMessenger() [1/3]

TG4EventActionMessenger::TG4EventActionMessenger ( TG4EventAction * eventAction)

Standard constructor

Definition at line 23 of file TG4EventActionMessenger.cxx.

◆ ~TG4EventActionMessenger()

TG4EventActionMessenger::~TG4EventActionMessenger ( )
virtual

Destructor

Definition at line 49 of file TG4EventActionMessenger.cxx.

◆ TG4EventActionMessenger() [2/3]

TG4EventActionMessenger::TG4EventActionMessenger ( )
private

Not implemented.

◆ TG4EventActionMessenger() [3/3]

TG4EventActionMessenger::TG4EventActionMessenger ( const TG4EventActionMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

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

Apply command to the associated object.

Definition at line 63 of file TG4EventActionMessenger.cxx.

◆ operator=()

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

Not implemented.

Member Data Documentation

◆ fEventAction

TG4EventAction* TG4EventActionMessenger::fEventAction
private

associated class

Definition at line 52 of file TG4EventActionMessenger.h.

Referenced by SetNewValue().

◆ fEventDirectory

G4UIdirectory* TG4EventActionMessenger::fEventDirectory
private

command directory

Definition at line 53 of file TG4EventActionMessenger.h.

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

◆ fPrintMemoryCmd

G4UIcmdWithABool* TG4EventActionMessenger::fPrintMemoryCmd
private

command: printMemory

Definition at line 54 of file TG4EventActionMessenger.h.

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

◆ fSaveRandomStatusCmd

G4UIcmdWithABool* TG4EventActionMessenger::fSaveRandomStatusCmd
private

command: saveRandom

Definition at line 55 of file TG4EventActionMessenger.h.

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


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