Geant4  10.02.p03
CexmcPhysicsManagerMessenger Class Reference

#include <CexmcPhysicsManagerMessenger.hh>

Inheritance diagram for CexmcPhysicsManagerMessenger:
Collaboration diagram for CexmcPhysicsManagerMessenger:

Public Member Functions

 CexmcPhysicsManagerMessenger (CexmcPhysicsManager *physicsManager)
 
 ~CexmcPhysicsManagerMessenger ()
 
void SetNewValue (G4UIcommand *cmd, G4String value)
 
- 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

CexmcPhysicsManagerphysicsManager
 
G4UIcmdWithADoubleAndUnitsetMaxILCorrection
 

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 54 of file CexmcPhysicsManagerMessenger.hh.

Constructor & Destructor Documentation

◆ CexmcPhysicsManagerMessenger()

CexmcPhysicsManagerMessenger::CexmcPhysicsManagerMessenger ( CexmcPhysicsManager physicsManager)
explicit

Definition at line 50 of file CexmcPhysicsManagerMessenger.cc.

51  :
52  physicsManager( physicsManager ), setMaxILCorrection( NULL )
53 {
55  ( CexmcMessenger::physicsDirName + "setMaxILCorrection" ).c_str(),
56  this );
57  setMaxILCorrection->SetGuidance( "Correction of maximum interaction "
58  "length in the\n target; can be used for precise tuning of the "
59  "center of\n distribution of interaction vertices in the target" );
60  setMaxILCorrection->SetParameterName( "MaxILCorrection", false );
64 }
static G4String physicsDirName
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:161
void AvailableForStates(G4ApplicationState s1)
Definition: G4UIcommand.cc:239
void SetDefaultUnit(const char *defUnit)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWithADoubleAndUnit * setMaxILCorrection
void SetUnitCandidates(const char *candidateList)
Here is the call graph for this function:

◆ ~CexmcPhysicsManagerMessenger()

CexmcPhysicsManagerMessenger::~CexmcPhysicsManagerMessenger ( )

Definition at line 67 of file CexmcPhysicsManagerMessenger.cc.

68 {
69  delete setMaxILCorrection;
70 }
G4UIcmdWithADoubleAndUnit * setMaxILCorrection

Member Function Documentation

◆ SetNewValue()

void CexmcPhysicsManagerMessenger::SetNewValue ( G4UIcommand cmd,
G4String  value 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 73 of file CexmcPhysicsManagerMessenger.cc.

75 {
76  do
77  {
78  if ( cmd == setMaxILCorrection )
79  {
82  break;
83  }
84  } while ( false );
85 }
static G4double GetNewDoubleValue(const char *paramString)
void SetMaxILCorrection(G4double value)
G4UIcmdWithADoubleAndUnit * setMaxILCorrection
Here is the call graph for this function:

Member Data Documentation

◆ physicsManager

CexmcPhysicsManager* CexmcPhysicsManagerMessenger::physicsManager
private

Definition at line 66 of file CexmcPhysicsManagerMessenger.hh.

◆ setMaxILCorrection

G4UIcmdWithADoubleAndUnit* CexmcPhysicsManagerMessenger::setMaxILCorrection
private

Definition at line 68 of file CexmcPhysicsManagerMessenger.hh.


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