|
SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
G4UImessenger for selection of physics list at runtime. More...
#include <PhysicsMessenger.hh>
Public Member Functions | |
| PhysicsMessenger () | |
| virtual | ~PhysicsMessenger () |
| virtual void | SetNewValue (G4UIcommand *cmd, G4String newVals) |
Private Member Functions | |
| void | defineCommands () |
Private Attributes | |
| G4UIcmdWithABool * | m_enableOpticalCmd |
| G4UIcommand * | m_pdgCmd |
| G4UIdirectory * | m_physicsListDir |
| G4UIcmdWithoutParameter * | m_printCurrentCmd |
| G4UIcmdWithoutParameter * | m_printListsCmd |
| G4UIcommand * | m_selectCmd |
G4UImessenger for selection of physics list at runtime.
Definition at line 18 of file PhysicsMessenger.hh.
| PhysicsMessenger | ( | ) |
Class constructor.
Definition at line 16 of file PhysicsMessenger.cc.
References PhysicsMessenger::defineCommands().
|
virtual |
Class destructor.
Definition at line 21 of file PhysicsMessenger.cc.
|
private |
Define commands handled by this messenger.
Definition at line 60 of file PhysicsMessenger.cc.
References PhysicsMessenger::m_enableOpticalCmd, PhysicsMessenger::m_pdgCmd, PhysicsMessenger::m_physicsListDir, PhysicsMessenger::m_printCurrentCmd, PhysicsMessenger::m_printListsCmd, and PhysicsMessenger::m_selectCmd.
Referenced by PhysicsMessenger::PhysicsMessenger().
|
virtual |
Execute macro command.
| [in] | cmd | The command to execute. |
| [in] | newVals | The command arguments. |
Definition at line 24 of file PhysicsMessenger.cc.
References LOG::done, LOG::error, PhysicsListManager::getCurrentListName(), Singleton< PhysicsListManager >::instance(), Singleton< HepPDTManager >::instance(), PhysicsListManager::isInitialized(), Module::log(), PhysicsMessenger::m_enableOpticalCmd, PhysicsMessenger::m_pdgCmd, PhysicsMessenger::m_printCurrentCmd, PhysicsMessenger::m_printListsCmd, PhysicsMessenger::m_selectCmd, LOG::okay, and PhysicsListManager::setCurrentListName().
|
private |
Definition at line 55 of file PhysicsMessenger.hh.
Referenced by PhysicsMessenger::defineCommands(), and PhysicsMessenger::SetNewValue().
|
private |
Definition at line 56 of file PhysicsMessenger.hh.
Referenced by PhysicsMessenger::defineCommands(), and PhysicsMessenger::SetNewValue().
|
private |
Definition at line 50 of file PhysicsMessenger.hh.
Referenced by PhysicsMessenger::defineCommands().
|
private |
Definition at line 54 of file PhysicsMessenger.hh.
Referenced by PhysicsMessenger::defineCommands(), and PhysicsMessenger::SetNewValue().
|
private |
Definition at line 53 of file PhysicsMessenger.hh.
Referenced by PhysicsMessenger::defineCommands(), and PhysicsMessenger::SetNewValue().
|
private |
Definition at line 52 of file PhysicsMessenger.hh.
Referenced by PhysicsMessenger::defineCommands(), and PhysicsMessenger::SetNewValue().