Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StepMaxMessenger Class Reference

#include <StepMaxMessenger.hh>

Inheritance diagram for StepMaxMessenger:
Collaboration diagram for StepMaxMessenger:

Public Member Functions

 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
virtual ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
virtual ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMaxProcess *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
virtual ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 StepMaxMessenger (StepMax *)
 
 ~StepMaxMessenger ()
 
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
 

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 45 of file StepMaxMessenger.hh.

Constructor & Destructor Documentation

StepMaxMessenger::StepMaxMessenger ( StepMax stepM)

Definition at line 41 of file StepMaxMessenger.cc.

42 :G4UImessenger(),fStepMax(stepM),fStepMaxCmd(0)
43 {
44  fStepMaxCmd = new G4UIcmdWithADoubleAndUnit("/testem/stepMax",this);
45  fStepMaxCmd->SetGuidance("Set max allowed step length");
46  fStepMaxCmd->SetParameterName("mxStep",false);
47  fStepMaxCmd->SetRange("mxStep>0.");
48  fStepMaxCmd->SetUnitCategory("Length");
49 }
void SetUnitCategory(const char *unitCategory)
void SetRange(const char *rs)
Definition: G4UIcommand.hh:125
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:161
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)

Here is the call graph for this function:

StepMaxMessenger::~StepMaxMessenger ( )

Definition at line 53 of file StepMaxMessenger.cc.

54 {
55  delete fStepMaxCmd;
56 }
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
virtual StepMaxMessenger::~StepMaxMessenger ( )
virtual
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
virtual StepMaxMessenger::~StepMaxMessenger ( )
virtual
StepMaxMessenger::StepMaxMessenger ( StepMaxProcess stepM)

Definition at line 42 of file StepMaxMessenger.cc.

43 :G4UImessenger(),fStepMax(stepM),
44  fStepMax1Cmd(0),
45  fStepMax2Cmd(0)
46 {
47  fStepMax1Cmd = new G4UIcmdWithADoubleAndUnit("/testhadr/stepMax",this);
48  fStepMax1Cmd->SetGuidance("Set max allowed step length");
49  fStepMax1Cmd->SetParameterName("mxStep1",false);
50  fStepMax1Cmd->SetRange("mxStep1>0.");
51  fStepMax1Cmd->SetUnitCategory("Length");
52 
53  fStepMax2Cmd = new G4UIcmdWithABool("/testhadr/applyAutomaticStepMax",this);
54  fStepMax2Cmd->SetGuidance("apply StepMax computed from histograms");
55  fStepMax2Cmd->SetParameterName("mxStep2",true);
56  fStepMax2Cmd->SetDefaultValue(true);
57 }
void SetUnitCategory(const char *unitCategory)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetRange(const char *rs)
Definition: G4UIcommand.hh:125
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:161
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)

Here is the call graph for this function:

StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
virtual StepMaxMessenger::~StepMaxMessenger ( )
virtual
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )
StepMaxMessenger::StepMaxMessenger ( StepMax )
StepMaxMessenger::~StepMaxMessenger ( )

Member Function Documentation

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

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

Reimplemented from G4UImessenger.

Definition at line 60 of file StepMaxMessenger.cc.

61 {
62  if (command == fStepMaxCmd)
63  { fStepMax->SetMaxStep(fStepMaxCmd->GetNewDoubleValue(newValue));}
64 }
static G4double GetNewDoubleValue(const char *paramString)
void SetMaxStep(G4double)
Definition: StepMax.cc:58

Here is the call graph for this function:

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void StepMaxMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.


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