Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 #ifndef G4UIcmdWithNucleusLimits_h 27 #define G4UIcmdWithNucleusLimits_h 1 28 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 29 // 30 // MODULE: G4UIcmdWithNucleusAndU 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 Or 38 // 39 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 40 // 41 // Class Description 42 // 43 // The G4UIcmdWithNucleusLimits permits input 44 // that will be treated in the G4RadioactiveDe 45 // the form: 46 // 47 // AMin AMax ZMin ZMax 48 // 49 // where AMin, AMax, ZMin, ZMax are respective 50 // in A (atomic mass), and the upper and lower 51 // which define the range of nuclides treated 52 // 53 // Class Description - end: 54 // 55 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 56 // 57 // CHANGE HISTORY 58 // -------------- 59 // 60 // 29 February 2000, P R Truscott, DERA UK 61 // 0.b.3 release. 62 // 63 // 64 // 13 April 2000, F Lei, DERA UK 65 // 0.b.4 release. No change to this file 66 // 67 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 68 ////////////////////////////////////////////// 69 // 70 #include "G4UIcommand.hh" 71 #include "globals.hh" 72 73 #include "G4NucleusLimits.hh" 74 ////////////////////////////////////////////// 75 // 76 class G4UIcmdWithNucleusLimits : public G4UIco 77 { 78 public: // With description 79 G4UIcmdWithNucleusLimits 80 (const char * theCommandPath, G4UImessenge 81 // Constructor identifying the command pa 82 // associated G4UImessenger which will us 83 // 84 ~G4UIcmdWithNucleusLimits(); 85 // Destructor 86 // 87 G4NucleusLimits GetNewNucleusLimitsValue(c 88 // Extracts the values aMin, aMax, zMin, 89 // Values returned have aMin, aMax, zMin, 90 // G4NucleusLimits variable). 91 G4String ConvertToString(G4NucleusLimits n 92 // Converts the G4NucleusLimits defined b 93 void SetParameterName(const char * theName 94 const char * theName 95 G4bool omittable, G4 96 // Identifies the parameter names associa 97 // used to define the G4NucleusLimits var 98 void SetDefaultValue(G4NucleusLimits defVa 99 // Sets the default G4NucleusLimits if th 100 // parameters. 101 }; 102 ////////////////////////////////////////////// 103 #endif 104