SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
PhysicsMessenger.hh
Go to the documentation of this file.
1 #ifndef SLIC_PHYSICSMESSENGER_HH_
2 #define SLIC_PHYSICSMESSENGER_HH_ 1
3 
4 // geant4
5 #include "G4UImessenger.hh"
6 
7 class G4UIcmdWithABool;
8 class G4UIcmdWithoutParameter;
9 class G4UIdirectory;
10 
11 namespace slic {
12 
18 class PhysicsMessenger: public G4UImessenger {
19 
20  public:
21 
26 
30  virtual ~PhysicsMessenger();
31 
32  public:
33 
39  virtual void SetNewValue(G4UIcommand* cmd, G4String newVals);
40 
41  private:
42 
46  void defineCommands();
47 
48  private:
49 
50  G4UIdirectory* m_physicsListDir;
51 
52  G4UIcommand* m_selectCmd;
53  G4UIcmdWithoutParameter* m_printListsCmd;
54  G4UIcmdWithoutParameter* m_printCurrentCmd;
55  G4UIcmdWithABool* m_enableOpticalCmd;
56  G4UIcommand* m_pdgCmd;
57 };
58 }
59 
60 #endif
G4UImessenger for selection of physics list at runtime.
virtual void SetNewValue(G4UIcommand *cmd, G4String newVals)
G4UIcmdWithoutParameter * m_printCurrentCmd
G4UIcmdWithoutParameter * m_printListsCmd
G4UIcmdWithABool * m_enableOpticalCmd
G4UIdirectory * m_physicsListDir