Geant4_10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
source
examples
extended
medical
GammaTherapy
include
DetectorMessenger.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
// $Id: DetectorMessenger.hh 67994 2013-03-13 11:05:39Z gcosmo $
27
//
30
//
31
#ifndef DetectorMessenger_h
32
#define DetectorMessenger_h 1
33
34
// -------------------------------------------------------------
35
//
36
//
37
// -------------------------------------------------------------
38
// GEANT4
39
//
40
// History: based on object model of
41
// 2nd December 1995, G.Cosmo
42
// ---------- DetectorMessenger -------
43
//
44
// Modified: 05.04.01 Vladimir Ivanchenko new design of
45
//
46
// -------------------------------------------------------------
47
48
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
49
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
50
51
#include "
globals.hh
"
52
#include "
G4UImessenger.hh
"
53
54
class
DetectorConstruction
;
55
class
G4UIdirectory
;
56
class
G4UIcmdWithAString
;
57
class
G4UIcmdWithABool
;
58
class
G4UIcmdWithAnInteger
;
59
class
G4UIcmdWithADoubleAndUnit
;
60
class
G4UIcmdWithoutParameter
;
61
62
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
63
64
class
DetectorMessenger
:
public
G4UImessenger
65
{
66
public
:
// Without description
67
68
DetectorMessenger
(
DetectorConstruction
* );
69
virtual
~DetectorMessenger
();
70
71
void
SetNewValue
(
G4UIcommand
*,
G4String
);
72
73
private
:
74
75
DetectorConstruction
* fDetector;
76
77
G4UIdirectory
* fDetDir;
78
G4UIdirectory
* fDetDir1;
79
G4UIdirectory
* fDetDir2;
80
81
G4UIcmdWithAString
* fAbsMaterCmd;
82
G4UIcmdWithADoubleAndUnit
* fAbsThickCmd;
83
G4UIcmdWithADoubleAndUnit
* fAbsGapCmd;
84
G4UIcmdWithADoubleAndUnit
* fAbsSizYZCmd;
85
G4UIcmdWithAString
* fWorldMaterCmd;
86
G4UIcmdWithADoubleAndUnit
* fWorldXCmd;
87
G4UIcmdWithoutParameter
* fUpdateCmd;
88
G4UIcmdWithADoubleAndUnit
* fXMagFieldCmd;
89
G4UIcmdWithADoubleAndUnit
* fYMagFieldCmd;
90
G4UIcmdWithADoubleAndUnit
* fZMagFieldCmd;
91
G4UIcmdWithAString
* fHistoCmd;
92
G4UIcmdWithAnInteger
* fNumOfAbsCmd;
93
G4UIcmdWithAnInteger
* fNumOfEvt;
94
G4UIcmdWithAnInteger
* fVerbCmd;
95
G4UIcmdWithAnInteger
* fIntCmd;
96
G4UIcmdWithADoubleAndUnit
* fDeltaECmd;
97
};
98
99
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
100
101
#endif
102
103
104
105
106
DetectorMessenger::~DetectorMessenger
~DetectorMessenger()
Definition:
DetectorMessenger.cc:56
G4UIdirectory
Definition:
G4UIdirectory.hh:41
DetectorMessenger::SetNewValue
void SetNewValue(G4UIcommand *, G4String)
Definition:
DetectorMessenger.cc:65
G4UImessenger.hh
G4UIcommand
Definition:
G4UIcommand.hh:51
G4UIcmdWithAnInteger
Definition:
G4UIcmdWithAnInteger.hh:41
G4UIcmdWithABool
Definition:
G4UIcmdWithABool.hh:45
globals.hh
G4UIcmdWithoutParameter
Definition:
G4UIcmdWithoutParameter.hh:41
G4UIcmdWithAString
Definition:
G4UIcmdWithAString.hh:42
G4UIcmdWithADoubleAndUnit
Definition:
G4UIcmdWithADoubleAndUnit.hh:41
DetectorMessenger::DetectorMessenger
DetectorMessenger(DetectorConstruction *)
Definition:
DetectorMessenger.cc:39
DetectorConstruction
Definition:
DetectorConstruction.hh:46
G4UImessenger
Definition:
G4UImessenger.hh:47
DetectorMessenger
Definition:
DetectorMessenger.hh:43
G4String
Definition:
G4String.hh:45
Generated on Sat Dec 14 2013 14:32:46 for Geant4_10 by
1.8.5