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

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

#include <TG4PrimaryGeneratorMessenger.h>

Inheritance diagram for TG4PrimaryGeneratorMessenger:

Public Member Functions

 TG4PrimaryGeneratorMessenger (TG4PrimaryGeneratorAction *action)
 
virtual ~TG4PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4PrimaryGeneratorMessenger ()
 Not implemented.
 
 TG4PrimaryGeneratorMessenger (const TG4PrimaryGeneratorMessenger &right)
 Not implemented.
 
TG4PrimaryGeneratorMessengeroperator= (const TG4PrimaryGeneratorMessenger &right)
 Not implemented.
 

Private Attributes

TG4PrimaryGeneratorActionfPrimaryGeneratorAction
 associated class
 
G4UIdirectory * fDirectory
 command directory
 
G4UIcmdWithABool * fSkipUnknownParticlesCmd
 command: /mcPrimaryGenerator/skipUnknownParticles
 

Detailed Description

Messenger class that defines commands for TG4PrimaryGeneratorAction.

Implements commands:

  • /mcPrimaryGenerator/skipUnknownParticles true|false
Author
I. Hrivnacova; IPN, Orsay

Definition at line 36 of file TG4PrimaryGeneratorMessenger.h.

Constructor & Destructor Documentation

◆ TG4PrimaryGeneratorMessenger() [1/3]

TG4PrimaryGeneratorMessenger::TG4PrimaryGeneratorMessenger ( TG4PrimaryGeneratorAction * action)

Standard constructor

Definition at line 24 of file TG4PrimaryGeneratorMessenger.cxx.

◆ ~TG4PrimaryGeneratorMessenger()

TG4PrimaryGeneratorMessenger::~TG4PrimaryGeneratorMessenger ( )
virtual

Destructor

Definition at line 45 of file TG4PrimaryGeneratorMessenger.cxx.

◆ TG4PrimaryGeneratorMessenger() [2/3]

TG4PrimaryGeneratorMessenger::TG4PrimaryGeneratorMessenger ( )
private

Not implemented.

◆ TG4PrimaryGeneratorMessenger() [3/3]

TG4PrimaryGeneratorMessenger::TG4PrimaryGeneratorMessenger ( const TG4PrimaryGeneratorMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

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

Apply command to the associated object.

Definition at line 58 of file TG4PrimaryGeneratorMessenger.cxx.

◆ operator=()

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

Not implemented.

Member Data Documentation

◆ fPrimaryGeneratorAction

TG4PrimaryGeneratorAction* TG4PrimaryGeneratorMessenger::fPrimaryGeneratorAction
private

associated class

Definition at line 55 of file TG4PrimaryGeneratorMessenger.h.

Referenced by SetNewValue().

◆ fDirectory

G4UIdirectory* TG4PrimaryGeneratorMessenger::fDirectory
private

command directory

Definition at line 56 of file TG4PrimaryGeneratorMessenger.h.

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

◆ fSkipUnknownParticlesCmd

G4UIcmdWithABool* TG4PrimaryGeneratorMessenger::fSkipUnknownParticlesCmd
private

command: /mcPrimaryGenerator/skipUnknownParticles

Definition at line 59 of file TG4PrimaryGeneratorMessenger.h.

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


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