EDepSimUserRunActionMessenger.hh
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////
2 // $Id: EDepSim::UserRunActionMessenger.hh,v 1.4 2011/07/19 20:57:44 mcgrew Exp $
3 //
4 #ifndef EDepSim_UserRunActionMessenger_h
5 #define EDepSim_UserRunActionMessenger_h 1
6 
7 #include <map>
8 #include "G4UImessenger.hh"
9 #include "globals.hh"
10 
11 namespace EDepSim {class UserRunAction;}
12 
13 class G4UIdirectory;
14 class G4UIcmdWithoutParameter;
15 class G4UIcmdWithAString;
16 class G4UIcmdWithAnInteger;
17 
18 namespace EDepSim {class UserRunActionMessenger;}
19 class EDepSim::UserRunActionMessenger: public G4UImessenger {
20 public:
22  virtual ~UserRunActionMessenger();
23 
24  /// Handle messages from the UI processor.
25  void SetNewValue(G4UIcommand*, G4String);
26 
27  /// Get the base directory for the messenger commands.
28  G4String GetPath();
29 
30 private:
31  // need primary generator action to change the seed
33 
34  G4UIdirectory* fDir;
35  G4UIcmdWithAnInteger* fRandomSeedCmd;
36  G4UIcmdWithoutParameter* fTimeRandomSeedCmd;
37  G4UIcmdWithoutParameter* fShowRandomSeedCmd;
38  G4UIcmdWithAnInteger* fDetSimRunIdCmd;
39  G4UIcmdWithAnInteger* fDetSimSubrunIdCmd;
40 
41 };
42 #endif
G4String GetPath()
Get the base directory for the messenger commands.
Construct a module from components.
Definition: TG4HitSegment.h:10
void SetNewValue(G4UIcommand *, G4String)
Handle messages from the UI processor.
UserRunActionMessenger(EDepSim::UserRunAction *)