Geant4 VMC Version 6.8
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.
TG4DetConstructionMessenger & operator= (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

TG4GeometryManager * fGeometryManager
 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
G4UIcommand * fSetNewRadiatorCmd
 command: setNewRadiator
G4UIcommand * fSetRadiatorLayerCmd
 command: setRadiatorLayer
G4UIcommand * fSetRadiatorStrawTubeCmd
 command: setRadiatorStrawTube
G4UIcommand * fSetRadiatorCmd
G4UIcmdWithABool * fAccountAssemblyLevelsCmd
 command: setAccountAssemblyLevels
TG4RadiatorDescription * fRadiatorDescription
 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
  • /mcDet/setAccountAssemblyLevels true|false

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.

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

◆ ~TG4DetConstructionMessenger()

TG4DetConstructionMessenger::~TG4DetConstructionMessenger ( )
virtual

Destructor

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

◆ operator=()

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

Not implemented.

◆ CreateSetNewRadiatorCmd()

void TG4DetConstructionMessenger::CreateSetNewRadiatorCmd ( )
private

Definition at line 214 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

◆ CreateSetRadiatorLayerCmd()

void TG4DetConstructionMessenger::CreateSetRadiatorLayerCmd ( )
private

Definition at line 240 of file TG4DetConstructionMessenger.cxx.

Referenced by TG4DetConstructionMessenger().

◆ CreateSetRadiatorStrawTubeCmd()

void TG4DetConstructionMessenger::CreateSetRadiatorStrawTubeCmd ( )
private

Definition at line 264 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 287 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.

Referenced by TG4DetConstructionMessenger().

◆ fDirectory

G4UIdirectory* TG4DetConstructionMessenger::fDirectory
private

command directory

Definition at line 87 of file TG4DetConstructionMessenger.h.

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

◆ fIsLocalFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsLocalFieldCmd
private

command: setIsLocalMagField

Definition at line 93 of file TG4DetConstructionMessenger.h.

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

◆ fIsZeroFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsZeroFieldCmd
private

command: setIsZeroMagField

Definition at line 96 of file TG4DetConstructionMessenger.h.

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

◆ fIsMonopoleFieldCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsMonopoleFieldCmd
private

command: setIsMonopole

Definition at line 99 of file TG4DetConstructionMessenger.h.

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

◆ fSeparatorCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fSeparatorCmd
private

command: volumeNameSeparator

Definition at line 102 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMaterialsCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMaterialsCmd
private

command: printMatrials

Definition at line 105 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMaterialsPropertiesCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMaterialsPropertiesCmd
private

command: printMaterialsProperties

Definition at line 108 of file TG4DetConstructionMessenger.h.

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

◆ fPrintMediaCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintMediaCmd
private

command: printMedia

Definition at line 111 of file TG4DetConstructionMessenger.h.

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

◆ fPrintVolumesCmd

G4UIcmdWithoutParameter* TG4DetConstructionMessenger::fPrintVolumesCmd
private

command: printVolumes

Definition at line 114 of file TG4DetConstructionMessenger.h.

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

◆ fPrintCutsCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fPrintCutsCmd
private

command: printCuts

Definition at line 117 of file TG4DetConstructionMessenger.h.

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

◆ fPrintControlsCmd

G4UIcmdWithAString* TG4DetConstructionMessenger::fPrintControlsCmd
private

command: printControls

Definition at line 120 of file TG4DetConstructionMessenger.h.

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

◆ fIsUserMaxStepCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsUserMaxStepCmd
private

command: setIsUserMaxStep

Definition at line 123 of file TG4DetConstructionMessenger.h.

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

◆ fIsMaxStepInLowDensityMaterialsCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fIsMaxStepInLowDensityMaterialsCmd
private

command: setIsMaxStepInLowDensityMaterials

Definition at line 126 of file TG4DetConstructionMessenger.h.

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

◆ fSetLimitDensityCmd

G4UIcmdWithADoubleAndUnit* TG4DetConstructionMessenger::fSetLimitDensityCmd
private

command: setLimitDensity

Definition at line 129 of file TG4DetConstructionMessenger.h.

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

◆ fSetMaxStepInLowDensityMaterialsCmd

G4UIcmdWithADoubleAndUnit* TG4DetConstructionMessenger::fSetMaxStepInLowDensityMaterialsCmd
private

command: setMaxStepInLowDensityMaterials

Definition at line 132 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 146 of file TG4DetConstructionMessenger.h.

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

◆ fAccountAssemblyLevelsCmd

G4UIcmdWithABool* TG4DetConstructionMessenger::fAccountAssemblyLevelsCmd
private

command: setAccountAssemblyLevels

Definition at line 149 of file TG4DetConstructionMessenger.h.

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

◆ fRadiatorDescription

TG4RadiatorDescription* TG4DetConstructionMessenger::fRadiatorDescription
private

current radiator description

Definition at line 152 of file TG4DetConstructionMessenger.h.

Referenced by SetNewValue(), and TG4DetConstructionMessenger().


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