00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 #ifndef G4RadioactiveDecaymessenger_h 00027 #define G4RadioactiveDecaymessenger_h 1 00028 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00029 // 00030 // MODULE: RadioactiveDecaymessenger.hh 00031 // 00032 // Version: 0.b.4 00033 // Date: 14/04/00 00034 // Author: F Lei & P R Truscott 00035 // Organisation: DERA UK 00036 // Customer: ESA/ESTEC, NOORDWIJK 00037 // Contract: 12115/96/JG/NL Work Order No. 3 00038 // 00039 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00040 // 00041 // CHANGE HISTORY 00042 // -------------- 00043 // 00044 // 29 February 2000, P R Truscott, DERA UK 00045 // 0.b.3 release. 00046 // 00047 // 13 April 2000, F Lei, DERA UK 00048 // 0.b.4 release. No change to this file 00049 // 00050 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00052 // 00053 #include "G4UImessenger.hh" 00054 #include "G4UIdirectory.hh" 00055 #include "G4UIcommand.hh" 00056 #include "G4UIcmdWith3VectorAndUnit.hh" 00057 #include "G4UIcmdWith3Vector.hh" 00058 #include "G4UIcmdWithABool.hh" 00059 #include "G4UIcmdWithAnInteger.hh" 00060 #include "G4UIcmdWithADoubleAndUnit.hh" 00061 #include "G4UIcmdWithAString.hh" 00062 #include "G4UIcmdWithoutParameter.hh" 00063 #include "globals.hh" 00064 00065 #include "G4RadioactiveDecay.hh" 00066 #include "G4UIcmdWithNucleusLimits.hh" 00067 00068 class G4RadioactiveDecay; 00070 // 00071 class G4RadioactiveDecaymessenger: public G4UImessenger 00072 { 00073 // class description 00074 // The G4RadioactiveDecaymessenger is instantiated by the G4RadioactiveDecay 00075 // process and introduces into the UI menu commands to control the running 00076 // of G4RadioactiveDecay 00077 00078 public: //with description 00079 G4RadioactiveDecaymessenger (G4RadioactiveDecay* 00080 theRadioactiveDecayContainer); 00081 // Constructor introduces commands into the UI menu to control 00082 // G4RadioactiveDecay. theRadioactiveDecayContainer1 is used to identify 00083 // to this class (when instatiated) the associated G4RadioactiveDecay 00084 // process whose parameters are going to be changed as a result 00085 // of the UI commands. 00086 ~G4RadioactiveDecaymessenger (); 00087 // Destructor deletes G4UIdirectory and G4UIcommand objects. 00088 // 00089 void SetNewValue (G4UIcommand *command, G4String newValues); 00090 // Identifies the command which has been invoked by the user, extracts the 00091 // parameters associated with that command (held in newValues, and uses 00092 // these values with the appropriate member function of G4RadioactiveDecay. 00093 // 00094 private: 00095 G4RadioactiveDecay *theRadioactiveDecayContainer; 00096 00097 G4UIdirectory *grdmDirectory; 00098 G4UIcmdWithNucleusLimits *nucleuslimitsCmd; 00099 G4UIcmdWithAString *sourcetimeprofileCmd; 00100 G4UIcmdWithAString *decaybiasprofileCmd; 00101 G4UIcmdWithABool *analoguemcCmd; 00102 G4UIcmdWithABool *fbetaCmd; 00103 G4UIcmdWithABool *brbiasCmd; 00104 G4UIcmdWithAnInteger *splitnucleiCmd; 00105 G4UIcmdWithAnInteger *verboseCmd; 00106 G4UIcmdWithAString *avolumeCmd; 00107 G4UIcmdWithAString *deavolumeCmd; 00108 G4UIcmdWithoutParameter *allvolumesCmd; 00109 G4UIcmdWithoutParameter *deallvolumesCmd; 00110 G4UIcmdWithABool *icmCmd; 00111 G4UIcmdWithABool *armCmd; 00112 G4UIcmdWithADoubleAndUnit *hlthCmd; 00113 00114 G4UIcommand *userDecayDataCmd; 00115 G4UIcommand *userEvaporationDataCmd; 00116 00117 G4UIcmdWith3Vector *colldirCmd; 00118 G4UIcmdWithADoubleAndUnit *collangleCmd; 00119 00120 }; 00121 00122 #endif 00123