| 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 | // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|---|
| 51 | ////////////////////////////////////////////////////////////////////////////////
|
|---|
| 52 | //
|
|---|
| 53 | #include "G4UImessenger.hh"
|
|---|
| 54 | #include "G4UIdirectory.hh"
|
|---|
| 55 | #include "G4UIcmdWith3VectorAndUnit.hh"
|
|---|
| 56 | #include "G4UIcmdWith3Vector.hh"
|
|---|
| 57 | #include "G4UIcmdWithABool.hh"
|
|---|
| 58 | #include "G4UIcmdWithAnInteger.hh"
|
|---|
| 59 | #include "G4UIcmdWithADoubleAndUnit.hh"
|
|---|
| 60 | #include "G4UIcmdWithAString.hh"
|
|---|
| 61 | #include "G4UIcmdWithoutParameter.hh"
|
|---|
| 62 | #include "globals.hh"
|
|---|
| 63 |
|
|---|
| 64 | #include "G4RadioactiveDecay.hh"
|
|---|
| 65 | #include "G4UIcmdWithNucleusLimits.hh"
|
|---|
| 66 |
|
|---|
| 67 | class G4RadioactiveDecay;
|
|---|
| 68 | ////////////////////////////////////////////////////////////////////////////////
|
|---|
| 69 | //
|
|---|
| 70 | class G4RadioactiveDecaymessenger: public G4UImessenger
|
|---|
| 71 | {
|
|---|
| 72 | // class description
|
|---|
| 73 | // The G4RadioactiveDecaymessenger is instantiated by the G4RadioactiveDecay
|
|---|
| 74 | // process and introduces into the UI menu commands to control the running
|
|---|
| 75 | // of G4RadioactiveDecay
|
|---|
| 76 |
|
|---|
| 77 | public: //with description
|
|---|
| 78 | G4RadioactiveDecaymessenger (G4RadioactiveDecay*
|
|---|
| 79 | theRadioactiveDecayContainer);
|
|---|
| 80 | // Constructor introduces commands into the UI menu to control
|
|---|
| 81 | // G4RadioactiveDecay. theRadioactiveDecayContainer1 is used to identify
|
|---|
| 82 | // to this class (when instatiated) the associated G4RadioactiveDecay
|
|---|
| 83 | // process whose parameters are going to be changed as a result
|
|---|
| 84 | // of the UI commands.
|
|---|
| 85 | ~G4RadioactiveDecaymessenger ();
|
|---|
| 86 | // Destructor deletes G4UIdirectory and G4UIcommand objects.
|
|---|
| 87 | //
|
|---|
| 88 | void SetNewValue (G4UIcommand *command, G4String newValues);
|
|---|
| 89 | // Identifies the command which has been invoked by the user, extracts the
|
|---|
| 90 | // parameters associated with that command (held in newValues, and uses
|
|---|
| 91 | // these values with the appropriate member function of G4RadioactiveDecay.
|
|---|
| 92 | //
|
|---|
| 93 | private:
|
|---|
| 94 | G4RadioactiveDecay *theRadioactiveDecayContainer;
|
|---|
| 95 |
|
|---|
| 96 | G4UIdirectory *grdmDirectory;
|
|---|
| 97 | G4UIcmdWithNucleusLimits *nucleuslimitsCmd;
|
|---|
| 98 | G4UIcmdWithAString *sourcetimeprofileCmd;
|
|---|
| 99 | G4UIcmdWithAString *decaybiasprofileCmd;
|
|---|
| 100 | G4UIcmdWithABool *analoguemcCmd;
|
|---|
| 101 | G4UIcmdWithABool *fbetaCmd;
|
|---|
| 102 | G4UIcmdWithABool *brbiasCmd;
|
|---|
| 103 | G4UIcmdWithAnInteger *splitnucleiCmd;
|
|---|
| 104 | G4UIcmdWithAnInteger *verboseCmd;
|
|---|
| 105 | G4UIcmdWithAString *avolumeCmd;
|
|---|
| 106 | G4UIcmdWithAString *deavolumeCmd;
|
|---|
| 107 | G4UIcmdWithoutParameter *allvolumesCmd;
|
|---|
| 108 | G4UIcmdWithoutParameter *deallvolumesCmd;
|
|---|
| 109 | };
|
|---|
| 110 |
|
|---|
| 111 | #endif
|
|---|
| 112 |
|
|---|