Geant4  10.01.p01
RMC01DetectorMessenger Class Reference

#include <RMC01DetectorMessenger.hh>

+ Inheritance diagram for RMC01DetectorMessenger:
+ Collaboration diagram for RMC01DetectorMessenger:

Public Member Functions

 RMC01DetectorMessenger (RMC01DetectorConstruction *)
 
virtual ~RMC01DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
- 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

RMC01DetectorConstructionfTheDetector
 
G4UIdirectoryfGeneralDir
 
G4UIdirectoryfDetDir
 
G4UIcmdWithADoubleAndUnitfSetSensitiveVolumeHeightCmd
 
G4UIcmdWithADoubleAndUnitfSetSensitiveVolumeRadiusCmd
 
G4UIcmdWithADoubleAndUnitfSetShieldingThicknessCmd
 

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

Definition at line 63 of file RMC01DetectorMessenger.hh.

Constructor & Destructor Documentation

RMC01DetectorMessenger::RMC01DetectorMessenger ( RMC01DetectorConstruction GeneralDet)

Definition at line 51 of file RMC01DetectorMessenger.cc.

References G4UIcommand::AvailableForStates(), fDetDir, fGeneralDir, fSetSensitiveVolumeHeightCmd, fSetSensitiveVolumeRadiusCmd, fSetShieldingThicknessCmd, G4State_PreInit, and G4UIcommand::SetGuidance().

+ Here is the call graph for this function:

RMC01DetectorMessenger::~RMC01DetectorMessenger ( )
virtual

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 106 of file RMC01DetectorMessenger.cc.

References fSetSensitiveVolumeHeightCmd, fSetSensitiveVolumeRadiusCmd, fSetShieldingThicknessCmd, fTheDetector, G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), RMC01DetectorConstruction::SetSensitiveVolumeHeight(), RMC01DetectorConstruction::SetSensitiveVolumeRadius(), and RMC01DetectorConstruction::SetShieldingThickness().

+ Here is the call graph for this function:

Member Data Documentation

G4UIdirectory* RMC01DetectorMessenger::fDetDir
private

Definition at line 76 of file RMC01DetectorMessenger.hh.

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

G4UIdirectory* RMC01DetectorMessenger::fGeneralDir
private

Definition at line 75 of file RMC01DetectorMessenger.hh.

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

G4UIcmdWithADoubleAndUnit* RMC01DetectorMessenger::fSetSensitiveVolumeHeightCmd
private
G4UIcmdWithADoubleAndUnit* RMC01DetectorMessenger::fSetSensitiveVolumeRadiusCmd
private
G4UIcmdWithADoubleAndUnit* RMC01DetectorMessenger::fSetShieldingThicknessCmd
private
RMC01DetectorConstruction* RMC01DetectorMessenger::fTheDetector
private

Definition at line 73 of file RMC01DetectorMessenger.hh.

Referenced by SetNewValue().


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