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

Messenger class that defines commands for the special physica models. More...

#include <TG4ModelConfigurationMessenger.h>

Inheritance diagram for TG4ModelConfigurationMessenger:

Public Member Functions

 TG4ModelConfigurationMessenger (TG4ModelConfigurationManager *manager, const G4String &availableModels)
 
virtual ~TG4ModelConfigurationMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String string)
 

Private Member Functions

 TG4ModelConfigurationMessenger ()
 Not implemented.
 
 TG4ModelConfigurationMessenger (const TG4ModelConfigurationMessenger &right)
 Not implemented.
 
TG4ModelConfigurationMessengeroperator= (const TG4ModelConfigurationMessenger &right)
 Not implemented.
 

Private Attributes

TG4ModelConfigurationManagerfModelConfigurationManager
 associated class
 
G4String fSelectedModel
 current model name
 
G4UIdirectory * fDirectory
 command directory
 
G4UIcmdWithAString * fSetModelCmd
 setModel command
 
G4UIcmdWithAString * fSetEmModelCmd
 setEmModel command (deprecated)
 
G4UIcmdWithAString * fSetParticlesCmd
 setParticles command
 
G4UIcmdWithAString * fSetRegionsCmd
 setRegions command
 
G4UIcmdWithAString * fSetOneRegionCmd
 setRegion command
 

Detailed Description

Messenger class that defines commands for the special physica models.

Implements commands:

  • /mcPhysics/physicsName/setModel modelName
  • /mcPhysics/physicsName/setParticles particleName1 particleName2 ...
  • /mcPhysics/physicsName/setRegions regionName1 regionName2 ...
  • /mcPhysics/physicsName/setOneRegion regionName
  • /mcPhysics/physicsName/setEmModel modelName (deprecated) where physicName = fastSimulation, emModel
Author
I. Hrivnacova; IPN Orsay

Definition at line 40 of file TG4ModelConfigurationMessenger.h.

Constructor & Destructor Documentation

◆ TG4ModelConfigurationMessenger() [1/3]

TG4ModelConfigurationMessenger::TG4ModelConfigurationMessenger ( TG4ModelConfigurationManager * manager,
const G4String & availableModels )

Standard constructor

Definition at line 47 of file TG4ModelConfigurationMessenger.cxx.

◆ ~TG4ModelConfigurationMessenger()

TG4ModelConfigurationMessenger::~TG4ModelConfigurationMessenger ( )
virtual

Destructor

Definition at line 119 of file TG4ModelConfigurationMessenger.cxx.

◆ TG4ModelConfigurationMessenger() [2/3]

TG4ModelConfigurationMessenger::TG4ModelConfigurationMessenger ( )
private

Not implemented.

◆ TG4ModelConfigurationMessenger() [3/3]

TG4ModelConfigurationMessenger::TG4ModelConfigurationMessenger ( const TG4ModelConfigurationMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

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

Apply command to the associated object.

Definition at line 135 of file TG4ModelConfigurationMessenger.cxx.

◆ operator=()

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

Not implemented.

Member Data Documentation

◆ fModelConfigurationManager

TG4ModelConfigurationManager* TG4ModelConfigurationMessenger::fModelConfigurationManager
private

associated class

Definition at line 63 of file TG4ModelConfigurationMessenger.h.

Referenced by SetNewValue(), and TG4ModelConfigurationMessenger().

◆ fSelectedModel

G4String TG4ModelConfigurationMessenger::fSelectedModel
private

current model name

Definition at line 66 of file TG4ModelConfigurationMessenger.h.

Referenced by SetNewValue().

◆ fDirectory

G4UIdirectory* TG4ModelConfigurationMessenger::fDirectory
private

command directory

Definition at line 69 of file TG4ModelConfigurationMessenger.h.

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

◆ fSetModelCmd

G4UIcmdWithAString* TG4ModelConfigurationMessenger::fSetModelCmd
private

◆ fSetEmModelCmd

G4UIcmdWithAString* TG4ModelConfigurationMessenger::fSetEmModelCmd
private

setEmModel command (deprecated)

Definition at line 75 of file TG4ModelConfigurationMessenger.h.

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

◆ fSetParticlesCmd

G4UIcmdWithAString* TG4ModelConfigurationMessenger::fSetParticlesCmd
private

setParticles command

Definition at line 78 of file TG4ModelConfigurationMessenger.h.

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

◆ fSetRegionsCmd

G4UIcmdWithAString* TG4ModelConfigurationMessenger::fSetRegionsCmd
private

◆ fSetOneRegionCmd

G4UIcmdWithAString* TG4ModelConfigurationMessenger::fSetOneRegionCmd
private

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