WCSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WCSimPrimaryGeneratorMessenger.hh
Go to the documentation of this file.
1 #ifndef WCSimPrimaryGeneratorMessenger_h
2 #define WCSimPrimaryGeneratorMessenger_h 1
3 
5 class G4UIdirectory;
6 class G4UIcmdWithAString;
7 
8 #include "G4UImessenger.hh"
9 #include "G4UIcmdWithADouble.hh"
10 #include "G4UIcmdWithAString.hh"
11 #include "G4UIcmdWithAnInteger.hh"
12 #include "globals.hh"
13 #include "G4Tokenizer.hh"
14 
15 class WCSimPrimaryGeneratorMessenger: public G4UImessenger
16 {
17  public:
20 
21  public:
22  void SetNewValue(G4UIcommand* command, G4String newValues);
23  G4String GetCurrentValue(G4UIcommand* command);
24 
25  private:
27 
28  private: //commands
29  G4UIdirectory* mydetDirectory;
30  G4UIcmdWithAString* genCmd;
31  G4UIcmdWithAString* fileNameCmd;
32  G4UIcmdWithAString* timeUnitCmd;
33  G4UIcmdWithAString* isotopeCmd;
34  G4UIcmdWithAString* radonScalingCmd;
35  G4UIcmdWithADouble* radioactive_time_window_Cmd;
36  G4UIcmdWithAnInteger* radonGeoSymCmd;
37 
38  void IsotopeCommand(G4String newValue);
39  void RadonScalingCommand(G4String newValue);
40 };
41 
42 #endif
43 
44 
void SetNewValue(G4UIcommand *command, G4String newValues)
WCSimPrimaryGeneratorMessenger(WCSimPrimaryGeneratorAction *mpga)
G4String GetCurrentValue(G4UIcommand *command)