Geant4  10.01.p03
G4CascadeParamMessenger Class Reference

#include <G4CascadeParamMessenger.hh>

+ Inheritance diagram for G4CascadeParamMessenger:
+ Collaboration diagram for G4CascadeParamMessenger:

Public Member Functions

 G4CascadeParamMessenger (G4CascadeParameters *params)
 
virtual ~G4CascadeParamMessenger ()
 
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
 

Protected Member Functions

void CreateDirectory (const char *path, const char *desc)
 
template<class T >
T * CreateCommand (const G4String &cmd, const G4String &desc)
 
- 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)
 

Private Attributes

G4CascadeParameterstheParams
 
G4UIdirectorycmdDir
 
G4bool localCmdDir
 
G4UIcmdWithAnIntegerverboseCmd
 
G4UIcmdWithoutParameterreportCmd
 
G4UIcmdWithABoolbalanceCmd
 
G4UIcmdWithABoolusePreCoCmd
 
G4UIcmdWithABooldoCoalCmd
 
G4UIcmdWithABoolpiNAbsCmd
 
G4UIcmdWithABoolhistoryCmd
 
G4UIcmdWithABooluse3BodyCmd
 
G4UIcmdWithABoolusePSCmd
 
G4UIcmdWithAStringrandomFileCmd
 
G4UIcmdWithABoolnucUseBestCmd
 
G4UIcmdWithADoublenucRad2parCmd
 
G4UIcmdWithADoublenucRadScaleCmd
 
G4UIcmdWithADoublenucRadSmallCmd
 
G4UIcmdWithADoublenucRadAlphaCmd
 
G4UIcmdWithADoublenucRadTrailingCmd
 
G4UIcmdWithADoublenucFermiScaleCmd
 
G4UIcmdWithADoublenucXsecScaleCmd
 
G4UIcmdWithADoublenucGammaQDCmd
 
G4UIcmdWithADoublecoalDPmax2Cmd
 
G4UIcmdWithADoublecoalDPmax3Cmd
 
G4UIcmdWithADoublecoalDPmax4Cmd
 

Additional Inherited Members

- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 51 of file G4CascadeParamMessenger.hh.

Constructor & Destructor Documentation

G4CascadeParamMessenger::G4CascadeParamMessenger ( G4CascadeParameters params)

Definition at line 50 of file G4CascadeParamMessenger.cc.

References balanceCmd, coalDPmax2Cmd, coalDPmax3Cmd, coalDPmax4Cmd, CreateDirectory(), doCoalCmd, historyCmd, nucFermiScaleCmd, nucGammaQDCmd, nucRad2parCmd, nucRadAlphaCmd, nucRadScaleCmd, nucRadSmallCmd, nucRadTrailingCmd, nucUseBestCmd, nucXsecScaleCmd, piNAbsCmd, randomFileCmd, reportCmd, use3BodyCmd, usePreCoCmd, usePSCmd, and verboseCmd.

+ Here is the call graph for this function:

Member Function Documentation

template<class T >
T* G4CascadeParamMessenger::CreateCommand ( const G4String cmd,
const G4String desc 
)
protected
void G4CascadeParamMessenger::CreateDirectory ( const char *  path,
const char *  desc 
)
protected

Definition at line 130 of file G4CascadeParamMessenger.cc.

References G4String::append(), cmdDir, G4UIcommandTree::FindPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), localCmdDir, G4String::prepend(), and G4UIcommand::SetGuidance().

Referenced by G4CascadeParamMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from G4UImessenger.

Definition at line 154 of file G4CascadeParamMessenger.cc.

References balanceCmd, coalDPmax2Cmd, coalDPmax3Cmd, coalDPmax4Cmd, doCoalCmd, G4CascadeParameters::DPMAX_2CLUSTER, G4CascadeParameters::DPMAX_3CLUSTER, G4CascadeParameters::DPMAX_4CLUSTER, G4CascadeParameters::DumpConfig(), G4CascadeParameters::G4CASCADE_CHECK_ECONS, G4CascadeParameters::G4CASCADE_DO_COALESCENCE, G4CascadeParameters::G4CASCADE_PIN_ABSORPTION, G4CascadeParameters::G4CASCADE_RANDOM_FILE, G4CascadeParameters::G4CASCADE_SHOW_HISTORY, G4CascadeParameters::G4CASCADE_USE_3BODYMOM, G4CascadeParameters::G4CASCADE_USE_PHASESPACE, G4CascadeParameters::G4CASCADE_USE_PRECOMPOUND, G4CascadeParameters::G4CASCADE_VERBOSE, G4cout, G4CascadeParameters::G4NUCMODEL_FERMI_SCALE, G4CascadeParameters::G4NUCMODEL_GAMMAQD, G4CascadeParameters::G4NUCMODEL_RAD_2PAR, G4CascadeParameters::G4NUCMODEL_RAD_ALPHA, G4CascadeParameters::G4NUCMODEL_RAD_SCALE, G4CascadeParameters::G4NUCMODEL_RAD_SMALL, G4CascadeParameters::G4NUCMODEL_RAD_TRAILING, G4CascadeParameters::G4NUCMODEL_USE_BEST, G4CascadeParameters::G4NUCMODEL_XSEC_SCALE, historyCmd, G4CascadeParameters::Initialize(), nucFermiScaleCmd, nucGammaQDCmd, nucRad2parCmd, nucRadAlphaCmd, nucRadScaleCmd, nucRadSmallCmd, nucRadTrailingCmd, nucUseBestCmd, nucXsecScaleCmd, piNAbsCmd, randomFileCmd, reportCmd, G4UImessenger::StoB(), theParams, use3BodyCmd, usePreCoCmd, usePSCmd, and verboseCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithABool* G4CascadeParamMessenger::balanceCmd
private
G4UIdirectory* G4CascadeParamMessenger::cmdDir
private

Definition at line 67 of file G4CascadeParamMessenger.hh.

Referenced by CreateDirectory(), and ~G4CascadeParamMessenger().

G4UIcmdWithADouble* G4CascadeParamMessenger::coalDPmax2Cmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::coalDPmax3Cmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::coalDPmax4Cmd
private
G4UIcmdWithABool* G4CascadeParamMessenger::doCoalCmd
private
G4UIcmdWithABool* G4CascadeParamMessenger::historyCmd
private
G4bool G4CascadeParamMessenger::localCmdDir
private

Definition at line 68 of file G4CascadeParamMessenger.hh.

Referenced by CreateDirectory(), and ~G4CascadeParamMessenger().

G4UIcmdWithADouble* G4CascadeParamMessenger::nucFermiScaleCmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::nucGammaQDCmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::nucRad2parCmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::nucRadAlphaCmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::nucRadScaleCmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::nucRadSmallCmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::nucRadTrailingCmd
private
G4UIcmdWithABool* G4CascadeParamMessenger::nucUseBestCmd
private
G4UIcmdWithADouble* G4CascadeParamMessenger::nucXsecScaleCmd
private
G4UIcmdWithABool* G4CascadeParamMessenger::piNAbsCmd
private
G4UIcmdWithAString* G4CascadeParamMessenger::randomFileCmd
private
G4UIcmdWithoutParameter* G4CascadeParamMessenger::reportCmd
private
G4CascadeParameters* G4CascadeParamMessenger::theParams
private

Definition at line 66 of file G4CascadeParamMessenger.hh.

Referenced by SetNewValue().

G4UIcmdWithABool* G4CascadeParamMessenger::use3BodyCmd
private
G4UIcmdWithABool* G4CascadeParamMessenger::usePreCoCmd
private
G4UIcmdWithABool* G4CascadeParamMessenger::usePSCmd
private
G4UIcmdWithAnInteger* G4CascadeParamMessenger::verboseCmd
private

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