Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4RunMessenger.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
//
27
//
28
//
29
// GEANT 4 class header file
30
31
// class description:
32
//
33
// This is a messenger class for G4RunManager.
34
// Implemented commands are following;
35
//
36
// Commands :
37
// beamOn * Start a Run.
38
// verbose * Set the Verbose level of G4RunManager.
39
// printProgress * Set the frequency of printing out the progress of a
40
// run. dumpRegion * Dump information of a region. dumpCouples *
41
// Dump information of material-cuts-couples. optimizeGeometry * Set the
42
// optimization flag of closing geometry. breakAtBeginOfEvent * Set a break
43
// point at the beginning of every event. breakAtEndOfEvent * Set a break
44
// point at the end of every event. abort * Abort current run
45
// processing. Initialize * Initialize G4 kernel. geometryModified *
46
// Force geometry to be closed again. physicsModified * Force
47
// cross-section tables to be calculated again.
48
// (and rebuilding physics table will be invoked)
49
// constructScoringWorlds * Construct scoring world(s) if defined
50
//
51
52
#ifndef G4RunMessenger_h
53
#define G4RunMessenger_h 1
54
55
class
G4RunManager
;
56
class
G4UIdirectory
;
57
class
G4UIcmdWithoutParameter
;
58
class
G4UIcmdWithAString
;
59
class
G4UIcmdWithAnInteger
;
60
class
G4UIcmdWithABool
;
61
class
G4UIcommand
;
62
class
G4MaterialScanner
;
63
64
#include "
G4UImessenger.hh
"
65
#include "
globals.hh
"
66
67
class
G4RunMessenger
:
public
G4UImessenger
68
{
69
public
:
70
G4RunMessenger
(
G4RunManager
* runMgr);
71
~G4RunMessenger
();
72
73
public
:
74
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValues);
75
G4String
GetCurrentValue
(
G4UIcommand
* command);
76
77
private
:
78
G4RunManager
* runManager;
79
G4String
macroFileName;
// internal use only!!!
80
81
private
:
// commands
82
G4UIdirectory
* runDirectory;
83
G4UIcommand
* beamOnCmd;
84
G4UIcmdWithAnInteger
* verboseCmd;
85
G4UIcmdWithAnInteger
* printProgCmd;
86
G4UIcmdWithAnInteger
* nThreadsCmd;
87
G4UIcmdWithoutParameter
* maxThreadsCmd;
88
G4UIcmdWithAnInteger
* pinAffinityCmd;
89
G4UIcommand
* evModCmd;
90
G4UIcmdWithAString
* dumpRegCmd;
91
G4UIcmdWithoutParameter
* dumpCoupleCmd;
92
G4UIcmdWithABool
* optCmd;
93
G4UIcmdWithABool
* brkBoECmd;
94
G4UIcmdWithABool
* brkEoECmd;
95
G4UIcmdWithABool
* abortCmd;
96
G4UIcmdWithoutParameter
* abortEventCmd;
97
G4UIcmdWithoutParameter
* initCmd;
98
G4UIcmdWithoutParameter
* geomCmd;
99
G4UIcmdWithABool
* geomRebCmd;
100
G4UIcmdWithoutParameter
* physCmd;
101
G4UIcmdWithAnInteger
* randEvtCmd;
102
G4UIcommand
* procUICmds;
103
104
G4UIdirectory
* randomDirectory;
105
G4UIcmdWithAString
* seedCmd;
106
G4UIcmdWithAString
* randDirCmd;
107
G4UIcmdWithABool
* savingFlagCmd;
108
G4UIcmdWithoutParameter
* saveThisRunCmd;
109
G4UIcmdWithoutParameter
* saveThisEventCmd;
110
G4UIcmdWithAString
* restoreRandCmd;
111
G4UIcmdWithABool
* saveEachEventCmd;
112
G4UIcmdWithABool
* restoreRandCmdMT;
113
114
G4UIcmdWithoutParameter
* constScoreCmd;
115
116
G4MaterialScanner
* materialScanner;
117
};
118
119
#endif
G4UImessenger.hh
G4MaterialScanner
Definition:
G4MaterialScanner.hh:53
G4RunManager
Definition:
G4RunManager.hh:142
G4RunMessenger
Definition:
G4RunMessenger.hh:68
G4RunMessenger::~G4RunMessenger
~G4RunMessenger()
Definition:
G4RunMessenger.cc:410
G4RunMessenger::GetCurrentValue
G4String GetCurrentValue(G4UIcommand *command)
Definition:
G4RunMessenger.cc:705
G4RunMessenger::SetNewValue
void SetNewValue(G4UIcommand *command, G4String newValues)
Definition:
G4RunMessenger.cc:449
G4String
Definition:
G4String.hh:53
G4UIcmdWithABool
Definition:
G4UIcmdWithABool.hh:46
G4UIcmdWithAString
Definition:
G4UIcmdWithAString.hh:43
G4UIcmdWithAnInteger
Definition:
G4UIcmdWithAnInteger.hh:42
G4UIcmdWithoutParameter
Definition:
G4UIcmdWithoutParameter.hh:42
G4UIcommand
Definition:
G4UIcommand.hh:52
G4UIdirectory
Definition:
G4UIdirectory.hh:42
G4UImessenger
Definition:
G4UImessenger.hh:47
globals.hh
geant4-v10.7.0
source
run
include
G4RunMessenger.hh
Generated by
1.9.6