Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4RunActionMessenger.h
Go to the documentation of this file.
1#ifndef TG4_RUN_ACTION_MESSENGER_H
2#define TG4_RUN_ACTION_MESSENGER_H
3
4//------------------------------------------------
5// The Geant4 Virtual Monte Carlo package
6// Copyright (C) 2007 - 2014 Ivana Hrivnacova
7// All rights reserved.
8//
9// For the licensing terms see geant4_vmc/LICENSE.
10// Contact: root-vmc@cern.ch
11//-------------------------------------------------
12
17
18#include <G4UImessenger.hh>
19
20class TG4RunAction;
21
22class G4UIdirectory;
23class G4UIcmdWithAString;
24class G4UIcmdWithABool;
25class G4UIcmdWithADoubleAndUnit;
26class G4UIcmdWithAnInteger;
27
40
42{
43 public:
45 virtual ~TG4RunActionMessenger();
46
47 // methods
48 virtual void SetNewValue(G4UIcommand* command, G4String string);
49
50 private:
57
58 // data members
60 G4UIdirectory* fRunDirectory;
61 G4UIcmdWithABool* fSaveRandomStatusCmd;
62 G4UIcmdWithABool* fReadRandomStatusCmd;
63 G4UIcmdWithAString* fRandomStatusFileCmd;
64
66 G4UIcmdWithADoubleAndUnit* fSetLooperThresholdWarningEnergyCmd;
67
69 G4UIcmdWithADoubleAndUnit* fSetLooperThresholdImportantEnergyCmd;
70
73};
74
75#endif // TG4_RUN_ACTION_MESSENGER_H
76#ifndef TG4_RUN_ACTION_MESSENGER_H
77#define TG4_RUN_ACTION_MESSENGER_H
78
79//------------------------------------------------
80// The Geant4 Virtual Monte Carlo package
81// Copyright (C) 2007 - 2014 Ivana Hrivnacova
82// All rights reserved.
83//
84// For the licensing terms see geant4_vmc/LICENSE.
85// Contact: root-vmc@cern.ch
86//-------------------------------------------------
87
92
93#include <G4UImessenger.hh>
94
95class TG4RunAction;
96
97class G4UIdirectory;
98class G4UIcmdWithAString;
99class G4UIcmdWithABool;
100
110
112{
113 public:
115 virtual ~TG4RunActionMessenger();
116
117 // methods
118 virtual void SetNewValue(G4UIcommand* command, G4String string);
119
120 private:
127
128 // data members
130 G4UIdirectory* fRunDirectory;
131 G4UIcmdWithABool* fSaveRandomStatusCmd;
132 G4UIcmdWithABool* fReadRandomStatusCmd;
133 G4UIcmdWithAString* fRandomStatusFileCmd;
134};
135
136#endif // TG4_RUN_ACTION_MESSENGER_H
Messenger class that defines commands for TG4RunAction.
G4UIcmdWithABool * fSaveRandomStatusCmd
command: saveRandom
G4UIcmdWithAString * fRandomStatusFileCmd
command: setRandomFile
TG4RunAction * fRunAction
associated class
G4UIcmdWithADoubleAndUnit * fSetLooperThresholdWarningEnergyCmd
setLooperThresholdWarningEnergy command
G4UIcmdWithAnInteger * fSetNumberOfLooperThresholdTrialsCmd
setNumberOfLooperThresholdTrials
G4UIcmdWithABool * fReadRandomStatusCmd
command: readRandom
TG4RunActionMessenger & operator=(const TG4RunActionMessenger &right)
Not implemented.
TG4RunActionMessenger()
Not implemented.
G4UIdirectory * fRunDirectory
command directory
TG4RunActionMessenger(const TG4RunActionMessenger &right)
Not implemented.
G4UIcmdWithADoubleAndUnit * fSetLooperThresholdImportantEnergyCmd
setLooperThresholImportantEnergy command
virtual void SetNewValue(G4UIcommand *command, G4String string)
Actions at the beginning and the end of run.