Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RadioactiveDecaymessenger.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 #ifndef G4RadioactiveDecaymessenger_h
27 #define G4RadioactiveDecaymessenger_h 1
28 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29 //
30 // MODULE: RadioactiveDecaymessenger.hh
31 //
32 // Version: 0.b.4
33 // Date: 14/04/00
34 // Author: F Lei & P R Truscott
35 // Organisation: DERA UK
36 // Customer: ESA/ESTEC, NOORDWIJK
37 // Contract: 12115/96/JG/NL Work Order No. 3
38 //
39 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40 //
41 // CHANGE HISTORY
42 // --------------
43 //
44 // 29 February 2000, P R Truscott, DERA UK
45 // 0.b.3 release.
46 //
47 // 13 April 2000, F Lei, DERA UK
48 // 0.b.4 release. No change to this file
49 //
50 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
52 //
53 #include "G4UImessenger.hh"
54 #include "G4UIdirectory.hh"
55 #include "G4UIcommand.hh"
57 #include "G4UIcmdWith3Vector.hh"
58 #include "G4UIcmdWithABool.hh"
59 #include "G4UIcmdWithAnInteger.hh"
61 #include "G4UIcmdWithAString.hh"
63 #include "globals.hh"
64 
65 #include "G4RadioactiveDecay.hh"
67 
68 class G4RadioactiveDecay;
70 //
72 {
73  // class description
74  // The G4RadioactiveDecaymessenger is instantiated by the G4RadioactiveDecay
75  // process and introduces into the UI menu commands to control the running
76  // of G4RadioactiveDecay
77 
78 public: //with description
80  theRadioactiveDecayContainer);
81  // Constructor introduces commands into the UI menu to control
82  // G4RadioactiveDecay. theRadioactiveDecayContainer1 is used to identify
83  // to this class (when instatiated) the associated G4RadioactiveDecay
84  // process whose parameters are going to be changed as a result
85  // of the UI commands.
87  // Destructor deletes G4UIdirectory and G4UIcommand objects.
88  //
89  void SetNewValue (G4UIcommand *command, G4String newValues);
90  // Identifies the command which has been invoked by the user, extracts the
91  // parameters associated with that command (held in newValues, and uses
92  // these values with the appropriate member function of G4RadioactiveDecay.
93  //
94  private:
95  G4RadioactiveDecay *theRadioactiveDecayContainer;
96 
97  G4UIdirectory *grdmDirectory;
98  G4UIcmdWithNucleusLimits *nucleuslimitsCmd;
99  G4UIcmdWithAString *sourcetimeprofileCmd;
100  G4UIcmdWithAString *decaybiasprofileCmd;
101  G4UIcmdWithABool *analoguemcCmd;
102  G4UIcmdWithABool *fbetaCmd;
103  G4UIcmdWithABool *brbiasCmd;
104  G4UIcmdWithAnInteger *splitnucleiCmd;
105  G4UIcmdWithAnInteger *verboseCmd;
106  G4UIcmdWithAString *avolumeCmd;
107  G4UIcmdWithAString *deavolumeCmd;
108  G4UIcmdWithoutParameter *allvolumesCmd;
109  G4UIcmdWithoutParameter *deallvolumesCmd;
110  G4UIcmdWithABool *icmCmd;
111  G4UIcmdWithABool *armCmd;
112  G4UIcmdWithADoubleAndUnit *hlthCmd;
113 
114  G4UIcommand *userDecayDataCmd;
115  G4UIcommand *userEvaporationDataCmd;
116 
117  G4UIcmdWith3Vector *colldirCmd;
118  G4UIcmdWithADoubleAndUnit *collangleCmd;
119 
120 };
121 
122 #endif
123 
void SetNewValue(G4UIcommand *command, G4String newValues)
G4RadioactiveDecaymessenger(G4RadioactiveDecay *theRadioactiveDecayContainer)