Geant4 VMC Version 6.7
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
 
G4UIcmdWithABool * fIsLocalFieldCmd
 command: setIsLocalMagField
 
G4UIcmdWithABool * fIsZeroFieldCmd
 command: setIsZeroMagField
 
G4UIcmdWithABool * fIsMonopoleFieldCmd
 command: setIsMonopole
 
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/setIsLocalMagField true|false
  • /mcDet/setIsZeroMagField true|false
  • /mcDet/setIsMonopoleField 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 59 of file TG4DetConstructionMessenger.h.

Constructor & Destructor Documentation

◆ TG4DetConstructionMessenger() [1/3]

TG4DetConstructionMessenger::TG4DetConstructionMessenger ( TG4GeometryManager * geometryManager)

Standard constructor

Definition at line 31 of file TG4DetConstructionMessenger.cxx.

Referenced by operator=(), and TG4DetConstructionMessenger().

◆ ~TG4DetConstructionMessenger()

TG4DetConstructionMessenger::~TG4DetConstructionMessenger ( )
virtual

Destructor

Definition at line 174 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 324 of file TG4DetConstructionMessenger.cxx.

◆ operator=()

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

Not implemented.

◆ CreateSetNewRadiatorCmd()

void TG4DetConstructionMessenger::CreateSetNewRadiatorCmd ( )
private

Definition at line 204 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

◆ CreateSetRadiatorLayerCmd()

void TG4DetConstructionMessenger::CreateSetRadiatorLayerCmd ( )
private

Definition at line 230 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

◆ CreateSetRadiatorStrawTubeCmd()

void TG4DetConstructionMessenger::CreateSetRadiatorStrawTubeCmd ( )
private

Definition at line 254 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 277 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

Member Data Documentation

◆ fGeometryManager

TG4GeometryManager* TG4DetConstructionMessenger::fGeometryManager
private

associated class

Definition at line 85 of file TG4DetConstructionMessenger.h.

Referenced by TG4DetConstructionMessenger().

◆ fDirectory

G4UIdirectory* TG4DetConstructionMessenger::fDirectory
private

command directory

Definition at line 86 of file TG4DetConstructionMessenger.h.

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

◆ fIsLocalFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsLocalFieldCmd
private

command: setIsLocalMagField

Definition at line 92 of file TG4DetConstructionMessenger.h.

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

◆ fIsZeroFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsZeroFieldCmd
private

command: setIsZeroMagField

Definition at line 95 of file TG4DetConstructionMessenger.h.

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

◆ fIsMonopoleFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsMonopoleFieldCmd
private

command: setIsMonopole

Definition at line 98 of file TG4DetConstructionMessenger.h.

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

◆ fSeparatorCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fSeparatorCmd
private

command: volumeNameSeparator

Definition at line 101 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMaterialsCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMaterialsCmd
private

command: printMatrials

Definition at line 104 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMaterialsPropertiesCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMaterialsPropertiesCmd
private

command: printMaterialsProperties

Definition at line 107 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMediaCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMediaCmd
private

command: printMedia

Definition at line 110 of file TG4DetConstructionMessenger.h.

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

◆ fPrintVolumesCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintVolumesCmd
private

command: printVolumes

Definition at line 113 of file TG4DetConstructionMessenger.h.

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

◆ fPrintCutsCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fPrintCutsCmd
private

command: printCuts

Definition at line 116 of file TG4DetConstructionMessenger.h.

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

◆ fPrintControlsCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fPrintControlsCmd
private

command: printControls

Definition at line 119 of file TG4DetConstructionMessenger.h.

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

◆ fIsUserMaxStepCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsUserMaxStepCmd
private

command: setIsUserMaxStep

Definition at line 122 of file TG4DetConstructionMessenger.h.

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

◆ fIsMaxStepInLowDensityMaterialsCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsMaxStepInLowDensityMaterialsCmd
private

command: setIsMaxStepInLowDensityMaterials

Definition at line 125 of file TG4DetConstructionMessenger.h.

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

◆ fSetLimitDensityCmd

G4UIcmdWithADoubleAndUnit* TG4DetConstructionMessenger::fSetLimitDensityCmd
private

command: setLimitDensity

Definition at line 128 of file TG4DetConstructionMessenger.h.

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

◆ fSetMaxStepInLowDensityMaterialsCmd

G4UIcmdWithADoubleAndUnit* TG4DetConstructionMessenger::fSetMaxStepInLowDensityMaterialsCmd
private

command: setMaxStepInLowDensityMaterials

Definition at line 131 of file TG4DetConstructionMessenger.h.

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

◆ fSetNewRadiatorCmd

G4UIcommand* TG4DetConstructionMessenger::fSetNewRadiatorCmd
private

◆ fSetRadiatorLayerCmd

G4UIcommand* TG4DetConstructionMessenger::fSetRadiatorLayerCmd
private

◆ fSetRadiatorStrawTubeCmd

G4UIcommand* TG4DetConstructionMessenger::fSetRadiatorStrawTubeCmd
private

◆ 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 145 of file TG4DetConstructionMessenger.h.

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

◆ fRadiatorDescription

TG4RadiatorDescription* TG4DetConstructionMessenger::fRadiatorDescription
private

current radiator description

Definition at line 148 of file TG4DetConstructionMessenger.h.

Referenced by SetNewValue(), and TG4DetConstructionMessenger().


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