Geant4 VMC
Version 6.8
Toggle main menu visibility
Loading...
Searching...
No Matches
source
run
include
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
20
class
TG4RunAction
;
21
22
class
G4UIdirectory;
23
class
G4UIcmdWithAString;
24
class
G4UIcmdWithABool;
25
class
G4UIcmdWithADoubleAndUnit;
26
class
G4UIcmdWithAnInteger;
27
40
41
class
TG4RunActionMessenger
:
public
G4UImessenger
42
{
43
public
:
44
TG4RunActionMessenger
(
TG4RunAction
* runAction);
45
virtual
~TG4RunActionMessenger
();
46
47
// methods
48
virtual
void
SetNewValue
(
G4UIcommand
* command, G4String
string
);
49
50
private
:
52
TG4RunActionMessenger
();
54
TG4RunActionMessenger
(
const
TG4RunActionMessenger
& right);
56
TG4RunActionMessenger
&
operator=
(
const
TG4RunActionMessenger
& right);
57
58
// data members
59
TG4RunAction
*
fRunAction
;
60
G4UIdirectory*
fRunDirectory
;
61
G4UIcmdWithABool*
fSaveRandomStatusCmd
;
62
G4UIcmdWithABool*
fReadRandomStatusCmd
;
63
G4UIcmdWithAString*
fRandomStatusFileCmd
;
64
66
G4UIcmdWithADoubleAndUnit*
fSetLooperThresholdWarningEnergyCmd
;
67
69
G4UIcmdWithADoubleAndUnit*
fSetLooperThresholdImportantEnergyCmd
;
70
72
G4UIcmdWithAnInteger*
fSetNumberOfLooperThresholdTrialsCmd
;
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
95
class
TG4RunAction
;
96
97
class
G4UIdirectory;
98
class
G4UIcmdWithAString;
99
class
G4UIcmdWithABool;
100
110
111
class
TG4RunActionMessenger
:
public
G4UImessenger
112
{
113
public
:
114
TG4RunActionMessenger
(
TG4RunAction
* runAction);
115
virtual
~TG4RunActionMessenger
();
116
117
// methods
118
virtual
void
SetNewValue
(
G4UIcommand
* command, G4String
string
);
119
120
private
:
122
TG4RunActionMessenger
();
124
TG4RunActionMessenger
(
const
TG4RunActionMessenger
& right);
126
TG4RunActionMessenger
&
operator=
(
const
TG4RunActionMessenger
& right);
127
128
// data members
129
TG4RunAction
*
fRunAction
;
130
G4UIdirectory*
fRunDirectory
;
131
G4UIcmdWithABool*
fSaveRandomStatusCmd
;
132
G4UIcmdWithABool*
fReadRandomStatusCmd
;
133
G4UIcmdWithAString*
fRandomStatusFileCmd
;
134
};
135
136
#endif
// TG4_RUN_ACTION_MESSENGER_H
G4UIcommand
G4UImessenger
TG4RunActionMessenger
Messenger class that defines commands for TG4RunAction.
Definition
TG4RunActionMessenger.h:42
TG4RunActionMessenger::fSaveRandomStatusCmd
G4UIcmdWithABool * fSaveRandomStatusCmd
command: saveRandom
Definition
TG4RunActionMessenger.h:61
TG4RunActionMessenger::fRandomStatusFileCmd
G4UIcmdWithAString * fRandomStatusFileCmd
command: setRandomFile
Definition
TG4RunActionMessenger.h:63
TG4RunActionMessenger::fRunAction
TG4RunAction * fRunAction
associated class
Definition
TG4RunActionMessenger.h:59
TG4RunActionMessenger::TG4RunActionMessenger
TG4RunActionMessenger(TG4RunAction *runAction)
Definition
TG4RunActionMessenger.cxx:26
TG4RunActionMessenger::fSetLooperThresholdWarningEnergyCmd
G4UIcmdWithADoubleAndUnit * fSetLooperThresholdWarningEnergyCmd
setLooperThresholdWarningEnergy command
Definition
TG4RunActionMessenger.h:66
TG4RunActionMessenger::fSetNumberOfLooperThresholdTrialsCmd
G4UIcmdWithAnInteger * fSetNumberOfLooperThresholdTrialsCmd
setNumberOfLooperThresholdTrials
Definition
TG4RunActionMessenger.h:72
TG4RunActionMessenger::~TG4RunActionMessenger
virtual ~TG4RunActionMessenger()
Definition
TG4RunActionMessenger.cxx:97
TG4RunActionMessenger::fReadRandomStatusCmd
G4UIcmdWithABool * fReadRandomStatusCmd
command: readRandom
Definition
TG4RunActionMessenger.h:62
TG4RunActionMessenger::operator=
TG4RunActionMessenger & operator=(const TG4RunActionMessenger &right)
Not implemented.
TG4RunActionMessenger::TG4RunActionMessenger
TG4RunActionMessenger()
Not implemented.
TG4RunActionMessenger::fRunDirectory
G4UIdirectory * fRunDirectory
command directory
Definition
TG4RunActionMessenger.h:60
TG4RunActionMessenger::TG4RunActionMessenger
TG4RunActionMessenger(const TG4RunActionMessenger &right)
Not implemented.
TG4RunActionMessenger::fSetLooperThresholdImportantEnergyCmd
G4UIcmdWithADoubleAndUnit * fSetLooperThresholdImportantEnergyCmd
setLooperThresholImportantEnergy command
Definition
TG4RunActionMessenger.h:69
TG4RunActionMessenger::SetNewValue
virtual void SetNewValue(G4UIcommand *command, G4String string)
Definition
TG4RunActionMessenger.cxx:115
TG4RunAction
Actions at the beginning and the end of run.
Definition
TG4RunAction.h:36
Generated on
for Geant4 VMC by
1.17.0