Geant4  10.01.p03
ExG4DetectorConstruction02Messenger Class Reference

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

#include <ExG4DetectorConstruction02Messenger.hh>

+ Inheritance diagram for ExG4DetectorConstruction02Messenger:
+ Collaboration diagram for ExG4DetectorConstruction02Messenger:

Public Member Functions

 ExG4DetectorConstruction02Messenger (ExG4DetectorConstruction02 *)
 
virtual ~ExG4DetectorConstruction02Messenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
 ExG4DetectorConstruction02Messenger (ExG4DetectorConstruction02 *)
 
virtual ~ExG4DetectorConstruction02Messenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
 ExG4DetectorConstruction02Messenger (ExG4DetectorConstruction02 *)
 
virtual ~ExG4DetectorConstruction02Messenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

ExG4DetectorConstruction02fDetectorConstruction
 
G4UIdirectoryfTopDirectory
 
G4UIdirectoryfDirectory
 
G4UIcmdWithAStringfSetBoxMaterialCmd
 
G4UIcmdWithAStringfSetWorldMaterialCmd
 
G4UIcmdWith3VectorAndUnitfSetBoxDimensionsCmd
 
G4UIcmdWithADoublefSetWorldSizeFactorCmd
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Messenger class that defines commands for ExG4DetectorConstruction02.

It implements commands:

  • /ExG4/det/setBoxMaterialName name
  • /ExG4/det/setWorldMaterialName name
  • /ExG4/det/setBoxDimensions hx hy hz unit
  • /ExG4/det/setWorldSizeFactor value

Definition at line 53 of file ExG4DetectorConstruction02Messenger.hh.

Constructor & Destructor Documentation

ExG4DetectorConstruction02Messenger::ExG4DetectorConstruction02Messenger ( ExG4DetectorConstruction02 detectorConstruction)
ExG4DetectorConstruction02Messenger::~ExG4DetectorConstruction02Messenger ( )
virtual
ExG4DetectorConstruction02Messenger::ExG4DetectorConstruction02Messenger ( ExG4DetectorConstruction02 )
virtual ExG4DetectorConstruction02Messenger::~ExG4DetectorConstruction02Messenger ( )
virtual
ExG4DetectorConstruction02Messenger::ExG4DetectorConstruction02Messenger ( ExG4DetectorConstruction02 )
virtual ExG4DetectorConstruction02Messenger::~ExG4DetectorConstruction02Messenger ( )
virtual

Member Function Documentation

void ExG4DetectorConstruction02Messenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual
virtual void ExG4DetectorConstruction02Messenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

virtual void ExG4DetectorConstruction02Messenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Member Data Documentation

ExG4DetectorConstruction02 * ExG4DetectorConstruction02Messenger::fDetectorConstruction
private

Definition at line 62 of file ExG4DetectorConstruction02Messenger.hh.

Referenced by SetNewValue().

G4UIdirectory * ExG4DetectorConstruction02Messenger::fDirectory
private
G4UIcmdWith3VectorAndUnit * ExG4DetectorConstruction02Messenger::fSetBoxDimensionsCmd
private
G4UIcmdWithAString * ExG4DetectorConstruction02Messenger::fSetBoxMaterialCmd
private
G4UIcmdWithAString * ExG4DetectorConstruction02Messenger::fSetWorldMaterialCmd
private
G4UIcmdWithADouble * ExG4DetectorConstruction02Messenger::fSetWorldSizeFactorCmd
private
G4UIdirectory * ExG4DetectorConstruction02Messenger::fTopDirectory
private

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