G4UIcmdWithNucleusLimits.hh

Go to the documentation of this file.
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 G4UIcmdWithNucleusLimits_h
00027 #define G4UIcmdWithNucleusLimits_h 1
00028 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00029 //
00030 // MODULE:              G4UIcmdWithNucleusAndUnit.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 // Class Description
00042 //
00043 // The G4UIcmdWithNucleusLimits permits input of the range of nuclides
00044 // that will be treated in the G4RadioactiveDecay Class.  Input is expected in
00045 // the form:
00046 //
00047 //                      AMin  AMax  ZMin  ZMax
00048 //
00049 // where AMin, AMax, ZMin, ZMax are respectively the upper and lower limits
00050 // in A (atomic mass), and the upper and lower limits in Z (atomic number)
00051 // which define the range of nuclides treated by the G4RadioactiveDecay.
00052 //
00053 // Class Description - end:
00054 //
00055 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00056 //
00057 // CHANGE HISTORY
00058 // --------------
00059 //
00060 // 29 February 2000, P R Truscott, DERA UK
00061 // 0.b.3 release.
00062 //
00063 // 
00064 // 13 April 2000, F Lei, DERA UK
00065 // 0.b.4 release. No change to this file        
00066 //
00067 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00069 //
00070 #include "G4UIcommand.hh"
00071 #include "globals.hh"
00072 
00073 #include "G4NucleusLimits.hh"
00075 //
00076 class G4UIcmdWithNucleusLimits : public G4UIcommand
00077 {
00078 public: // With description
00079     G4UIcmdWithNucleusLimits
00080     (const char * theCommandPath,G4UImessenger * theMessenger);
00081   //    Constructor identifying the command path in the User Interface and the
00082   //    associated G4UImessenger which will use this G4UIcommand object.
00083   //
00084   ~G4UIcmdWithNucleusLimits();
00085   //  Destructor
00086   //
00087     G4NucleusLimits GetNewNucleusLimitsValue(G4String paramString);
00088   //    Extracts the values aMin, aMax, zMin, zMax from paramString.
00089   //    Values returned have aMin, aMax, zMin, and zMax (within the
00090   //    G4NucleusLimits variable).
00091     G4String ConvertToString(G4NucleusLimits nuclimit);
00092   //    Converts the G4NucleusLimits defined by vec into a G4String.
00093     void SetParameterName(const char * theNameAMin,const char * theNameAMax,
00094                           const char * theNameZMin, const char * theNameZMax,
00095                           G4bool omittable, G4bool currentAsDefault=true);
00096   //    Identifies the parameter names associated with each of the G4doubles
00097   //    used to define the G4NucleusLimits variable.
00098     void SetDefaultValue(G4NucleusLimits defVal);
00099   //    Sets the default G4NucleusLimits if the command is invoked without any
00100   //    parameters.
00101 };
00103 #endif
00104 

Generated on Mon May 27 17:50:05 2013 for Geant4 by  doxygen 1.4.7