ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ML2PhysicsListMessenger Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/medical_linac/include/ML2PhysicsListMessenger.hh>

+ Inheritance diagram for ML2PhysicsListMessenger:
+ Collaboration diagram for ML2PhysicsListMessenger:

Public Member Functions

 ML2PhysicsListMessenger (ML2PhysicsList *)
 
virtual ~ML2PhysicsListMessenger ()
 
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

ML2PhysicsListpPhysicsList
 
G4UIdirectoryphysDir
 
G4UIcmdWithAStringpListCmd
 

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)
 
G4long StoL (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 >
TCreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 56 of file ML2PhysicsListMessenger.hh.

View newest version in sPHENIX GitHub at line 56 of file ML2PhysicsListMessenger.hh

Constructor & Destructor Documentation

ML2PhysicsListMessenger::ML2PhysicsListMessenger ( ML2PhysicsList pPhys)

Definition at line 50 of file ML2PhysicsListMessenger.cc.

View newest version in sPHENIX GitHub at line 50 of file ML2PhysicsListMessenger.cc

References G4UIcommand::AvailableForStates(), G4State_PreInit, physDir, pListCmd, G4UIcommand::SetGuidance(), and G4UIcmdWithAString::SetParameterName().

+ Here is the call graph for this function:

ML2PhysicsListMessenger::~ML2PhysicsListMessenger ( )
virtual

Definition at line 63 of file ML2PhysicsListMessenger.cc.

View newest version in sPHENIX GitHub at line 63 of file ML2PhysicsListMessenger.cc

References physDir, and pListCmd.

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 71 of file ML2PhysicsListMessenger.cc.

View newest version in sPHENIX GitHub at line 71 of file ML2PhysicsListMessenger.cc

References ML2PhysicsList::AddPhysicsList(), pListCmd, and pPhysicsList.

+ Here is the call graph for this function:

Member Data Documentation

G4UIdirectory* ML2PhysicsListMessenger::physDir
private

Definition at line 69 of file ML2PhysicsListMessenger.hh.

View newest version in sPHENIX GitHub at line 69 of file ML2PhysicsListMessenger.hh

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

G4UIcmdWithAString* ML2PhysicsListMessenger::pListCmd
private

Definition at line 70 of file ML2PhysicsListMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file ML2PhysicsListMessenger.hh

Referenced by ML2PhysicsListMessenger(), SetNewValue(), and ~ML2PhysicsListMessenger().

ML2PhysicsList* ML2PhysicsListMessenger::pPhysicsList
private

Definition at line 67 of file ML2PhysicsListMessenger.hh.

View newest version in sPHENIX GitHub at line 67 of file ML2PhysicsListMessenger.hh

Referenced by SetNewValue().


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