WCSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WCSimDarkRateMessenger.hh
Go to the documentation of this file.
1 #ifndef WCSimDarkRateMessenger_h
2 #define WCSimDarkRateMessenger_h 1
3 
4 
5 #include "G4UImessenger.hh"
6 #include <map>
7 #include "G4UIcmdWithAString.hh"
8 
9 class G4UIcommand;
10 class G4UIdirectory;
11 class G4UIcmdWithADoubleAndUnit;
12 class G4UIcmdWithADouble;
13 class G4UIcmdWithAnInteger;
15 
16 class WCSimDarkRateMessenger: public G4UImessenger
17 {
18 public:
20  void Initialize();
21 
23  void AddDarkRateInstance(WCSimWCAddDarkNoise* darkratepoint, G4String detectorElement);
26 
27  void SetNewValue(G4UIcommand* command, G4String newValue);
28 
29 private:
32  std::map<std::string, WCSimWCAddDarkNoise*> darknoiseptrs;
33 
34  G4UIdirectory* WCSimDir;
35  G4UIcmdWithADoubleAndUnit* SetFrequency;
36  G4UIcmdWithADouble* SetConversionRate;
37  G4UIcmdWithAnInteger* SetDarkMode;
38  G4UIcmdWithADoubleAndUnit* SetDarkLow;
39  G4UIcmdWithADoubleAndUnit* SetDarkHigh;
40  G4UIcmdWithADoubleAndUnit* SetDarkWindow;
41  G4UIcmdWithAString* SetDetectorElement;
42 
43  G4String initaliseString;
44  G4String detectorElement;
45 
46 };
47 
48 #endif
std::map< std::string, WCSimWCAddDarkNoise * > darknoiseptrs
G4UIcmdWithADoubleAndUnit * SetFrequency
G4UIcmdWithADoubleAndUnit * SetDarkWindow
void SetNewValue(G4UIcommand *command, G4String newValue)
G4UIcmdWithAString * SetDetectorElement
G4UIcmdWithADouble * SetConversionRate
G4UIcmdWithADoubleAndUnit * SetDarkLow
G4UIcmdWithAnInteger * SetDarkMode
static WCSimDarkRateMessenger * GetInstance()
WCSimDarkRateMessenger(WCSimWCAddDarkNoise *)
G4UIcmdWithADoubleAndUnit * SetDarkHigh
static WCSimDarkRateMessenger * iInstance
WCSimWCAddDarkNoise * WCSimAddDarkNoise
void RemoveDarkRateInstance(G4String detectorElement)
void AddDarkRateInstance(WCSimWCAddDarkNoise *darkratepoint, G4String detectorElement)