Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 //
28 /// \file medical/GammaTherapy/include/DetectorMessenger.hh
29 /// \brief Definition of the DetectorMessenger class
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 
55 class G4UIdirectory;
56 class G4UIcmdWithAString;
57 class G4UIcmdWithABool;
61 
62 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
63 
64 class DetectorMessenger: public G4UImessenger
65 {
66 public: // Without description
67 
69  virtual ~DetectorMessenger();
70 
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