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

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

#include <TG4DetConstructionMessenger.h>

Inheritance diagram for TG4DetConstructionMessenger:

Public Member Functions

 TG4DetConstructionMessenger (TG4GeometryManager *geometryManager)
 
virtual ~TG4DetConstructionMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValues)
 

Private Member Functions

 TG4DetConstructionMessenger ()
 Not implemented.
 
 TG4DetConstructionMessenger (const TG4DetConstructionMessenger &right)
 Not implemented.
 
TG4DetConstructionMessengeroperator= (const TG4DetConstructionMessenger &right)
 Not implemented.
 
void CreateSetNewRadiatorCmd ()
 
void CreateSetRadiatorLayerCmd ()
 
void CreateSetRadiatorStrawTubeCmd ()
 
void CreateSetRadiatorCmd ()
 The following command is deprecated, will be removed in the next version.
 

Private Attributes

TG4GeometryManagerfGeometryManager
 associated class
 
G4UIdirectory * fDirectory
 command directory
 
G4UIcmdWithoutParameter * fUpdateFieldCmd
 command: updateMagField
 
G4UIcmdWithAString * fCreateFieldParametersCmd
 command: createMagFieldParameters
 
G4UIcmdWithABool * fIsLocalFieldCmd
 command: setIsLocalMagField
 
G4UIcmdWithABool * fIsZeroFieldCmd
 command: setIsZeroMagField
 
G4UIcmdWithAString * fSeparatorCmd
 command: volumeNameSeparator
 
G4UIcmdWithoutParameter * fPrintMaterialsCmd
 command: printMatrials
 
G4UIcmdWithoutParameter * fPrintMaterialsPropertiesCmd
 command: printMaterialsProperties
 
G4UIcmdWithoutParameter * fPrintMediaCmd
 command: printMedia
 
G4UIcmdWithoutParameter * fPrintVolumesCmd
 command: printVolumes
 
G4UIcmdWithAString * fPrintCutsCmd
 command: printCuts
 
G4UIcmdWithAString * fPrintControlsCmd
 command: printControls
 
G4UIcmdWithABool * fIsUserMaxStepCmd
 command: setIsUserMaxStep
 
G4UIcmdWithABool * fIsMaxStepInLowDensityMaterialsCmd
 command: setIsMaxStepInLowDensityMaterials
 
G4UIcmdWithADoubleAndUnit * fSetLimitDensityCmd
 command: setLimitDensity
 
G4UIcmdWithADoubleAndUnit * fSetMaxStepInLowDensityMaterialsCmd
 command: setMaxStepInLowDensityMaterials
 
G4UIcommandfSetNewRadiatorCmd
 command: setNewRadiator
 
G4UIcommandfSetRadiatorLayerCmd
 command: setRadiatorLayer
 
G4UIcommandfSetRadiatorStrawTubeCmd
 command: setRadiatorStrawTube
 
G4UIcommandfSetRadiatorCmd
 
TG4RadiatorDescriptionfRadiatorDescription
 current radiator description
 

Detailed Description

Messenger class that defines commands for TG4DetConstruction.

Implements commands:

  • /mcDet/updateMagField
  • /mcDet/createMagFieldParameters fieldVolName
  • /mcDet/setIsLocalMagField true|false
  • /mcDet/setIsZeroMagField true|false
  • /mcDet/volNameSeparator [char] - for geomVMCtoGeant4 only
  • /mcDet/printMaterials
  • /mcDet/printMaterialsProperties
  • /mcDet/printMedia
  • /mcDet/printVolumes
  • /mcDet/printCuts cutName
  • /mcDet/printControls controlName
  • /mcDet/setIsUserMaxStep true|false
  • /mcDet/setIsMaxStepInLowDensityMaterials true|false
  • /mcDet/setMaxStepInLowDensityMaterials value
  • /mcDet/setLimitDensity value
  • /mcDet/setNewRadiator volumeName xtrModel foilNumber
  • /mcDet/setRadiatorLayer materialName thickness [fluctuation]
  • /mcDet/setRadiatorStrawTube gasMaterialName wallThickness gassThickness

The following command is deprecated, it will be removed in the next version

  • /mcDet/setRadiator volumeName xtrModel foilMaterial gasMaterial foilDensity gasDensity foilNUmber
Author
I. Hrivnacova; IPN, Orsay

Definition at line 60 of file TG4DetConstructionMessenger.h.

Constructor & Destructor Documentation

◆ TG4DetConstructionMessenger() [1/3]

TG4DetConstructionMessenger::TG4DetConstructionMessenger ( TG4GeometryManager * geometryManager)

Standard constructor

Definition at line 31 of file TG4DetConstructionMessenger.cxx.

◆ ~TG4DetConstructionMessenger()

TG4DetConstructionMessenger::~TG4DetConstructionMessenger ( )
virtual

Destructor

Definition at line 186 of file TG4DetConstructionMessenger.cxx.

◆ TG4DetConstructionMessenger() [2/3]

TG4DetConstructionMessenger::TG4DetConstructionMessenger ( )
private

Not implemented.

◆ TG4DetConstructionMessenger() [3/3]

TG4DetConstructionMessenger::TG4DetConstructionMessenger ( const TG4DetConstructionMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

void TG4DetConstructionMessenger::SetNewValue ( G4UIcommand * command,
G4String newValues )
virtual

Apply command to the associated object.

Definition at line 337 of file TG4DetConstructionMessenger.cxx.

◆ operator=()

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

Not implemented.

◆ CreateSetNewRadiatorCmd()

void TG4DetConstructionMessenger::CreateSetNewRadiatorCmd ( )
private

Definition at line 217 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

◆ CreateSetRadiatorLayerCmd()

void TG4DetConstructionMessenger::CreateSetRadiatorLayerCmd ( )
private

Definition at line 243 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

◆ CreateSetRadiatorStrawTubeCmd()

void TG4DetConstructionMessenger::CreateSetRadiatorStrawTubeCmd ( )
private

Definition at line 267 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

◆ CreateSetRadiatorCmd()

void TG4DetConstructionMessenger::CreateSetRadiatorCmd ( )
private

The following command is deprecated, will be removed in the next version.

Definition at line 290 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

Member Data Documentation

◆ fGeometryManager

TG4GeometryManager* TG4DetConstructionMessenger::fGeometryManager
private

associated class

Definition at line 86 of file TG4DetConstructionMessenger.h.

◆ fDirectory

G4UIdirectory* TG4DetConstructionMessenger::fDirectory
private

command directory

Definition at line 87 of file TG4DetConstructionMessenger.h.

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

◆ fUpdateFieldCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fUpdateFieldCmd
private

command: updateMagField

Definition at line 93 of file TG4DetConstructionMessenger.h.

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

◆ fCreateFieldParametersCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fCreateFieldParametersCmd
private

command: createMagFieldParameters

Definition at line 96 of file TG4DetConstructionMessenger.h.

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

◆ fIsLocalFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsLocalFieldCmd
private

command: setIsLocalMagField

Definition at line 99 of file TG4DetConstructionMessenger.h.

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

◆ fIsZeroFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsZeroFieldCmd
private

command: setIsZeroMagField

Definition at line 102 of file TG4DetConstructionMessenger.h.

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

◆ fSeparatorCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fSeparatorCmd
private

command: volumeNameSeparator

Definition at line 105 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMaterialsCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMaterialsCmd
private

command: printMatrials

Definition at line 108 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMaterialsPropertiesCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMaterialsPropertiesCmd
private

command: printMaterialsProperties

Definition at line 111 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMediaCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMediaCmd
private

command: printMedia

Definition at line 114 of file TG4DetConstructionMessenger.h.

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

◆ fPrintVolumesCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintVolumesCmd
private

command: printVolumes

Definition at line 117 of file TG4DetConstructionMessenger.h.

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

◆ fPrintCutsCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fPrintCutsCmd
private

command: printCuts

Definition at line 120 of file TG4DetConstructionMessenger.h.

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

◆ fPrintControlsCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fPrintControlsCmd
private

command: printControls

Definition at line 123 of file TG4DetConstructionMessenger.h.

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

◆ fIsUserMaxStepCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsUserMaxStepCmd
private

command: setIsUserMaxStep

Definition at line 126 of file TG4DetConstructionMessenger.h.

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

◆ fIsMaxStepInLowDensityMaterialsCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsMaxStepInLowDensityMaterialsCmd
private

command: setIsMaxStepInLowDensityMaterials

Definition at line 129 of file TG4DetConstructionMessenger.h.

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

◆ fSetLimitDensityCmd

G4UIcmdWithADoubleAndUnit* TG4DetConstructionMessenger::fSetLimitDensityCmd
private

command: setLimitDensity

Definition at line 132 of file TG4DetConstructionMessenger.h.

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

◆ fSetMaxStepInLowDensityMaterialsCmd

G4UIcmdWithADoubleAndUnit* TG4DetConstructionMessenger::fSetMaxStepInLowDensityMaterialsCmd
private

command: setMaxStepInLowDensityMaterials

Definition at line 135 of file TG4DetConstructionMessenger.h.

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

◆ fSetNewRadiatorCmd

G4UIcommand* TG4DetConstructionMessenger::fSetNewRadiatorCmd
private

command: setNewRadiator

Definition at line 138 of file TG4DetConstructionMessenger.h.

Referenced by CreateSetNewRadiatorCmd(), SetNewValue(), and ~TG4DetConstructionMessenger().

◆ fSetRadiatorLayerCmd

G4UIcommand* TG4DetConstructionMessenger::fSetRadiatorLayerCmd
private

command: setRadiatorLayer

Definition at line 141 of file TG4DetConstructionMessenger.h.

Referenced by CreateSetRadiatorLayerCmd(), SetNewValue(), and ~TG4DetConstructionMessenger().

◆ fSetRadiatorStrawTubeCmd

G4UIcommand* TG4DetConstructionMessenger::fSetRadiatorStrawTubeCmd
private

command: setRadiatorStrawTube

Definition at line 144 of file TG4DetConstructionMessenger.h.

Referenced by CreateSetRadiatorStrawTubeCmd(), SetNewValue(), and ~TG4DetConstructionMessenger().

◆ fSetRadiatorCmd

G4UIcommand* TG4DetConstructionMessenger::fSetRadiatorCmd
private

command: setRadiator This command is now deprecated, will be removed in the next version. It is replaced with a simpler setNewRadiator command.

Definition at line 149 of file TG4DetConstructionMessenger.h.

Referenced by CreateSetRadiatorCmd(), SetNewValue(), and ~TG4DetConstructionMessenger().

◆ fRadiatorDescription

TG4RadiatorDescription* TG4DetConstructionMessenger::fRadiatorDescription
private

current radiator description

Definition at line 152 of file TG4DetConstructionMessenger.h.

Referenced by SetNewValue().


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