00001 //---------------------------------------------------------------------------// 00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00003 // // 00004 // MAJORANA Simulation // 00005 // // 00006 // This code implementation is the intellectual property of the // 00007 // MAJORANA Collaboration. It is based on Geant4, an intellectual // 00008 // property of the RD44 GEANT4 collaboration. // 00009 // // 00010 // ********************* // 00011 // // 00012 // Neither the authors of this software system, nor their employing // 00013 // institutes, nor the agencies providing financial support for this // 00014 // work make any representation or warranty, express or implied, // 00015 // regarding this software system or assume any liability for its use. // 00016 // By copying, distributing or modifying the Program (or any work based // 00017 // on on the Program) you indicate your acceptance of this statement, // 00018 // and all its terms. // 00019 // // 00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00021 //---------------------------------------------------------------------------// 00032 // Begin description of class here 00039 // End class description 00040 // 00044 // 00045 // --------------------------------------------------------------------------// 00055 // --------------------------------------------------------------------------// 00056 00057 #ifndef _MJMANAGERMESSENGER_HH 00058 #define _MJMANAGERMESSENGER_HH 00059 00060 //---------------------------------------------------------------------------// 00061 00062 #include "globals.hh" 00063 #include "G4UImessenger.hh" 00064 #include "management/MJManager.hh" 00065 00066 //---------------------------------------------------------------------------// 00067 00068 class G4UIcmdWithAString; 00069 class G4UIcmdWithAnInteger; 00070 class G4UIcommand; 00071 class G4UIdirectory; 00072 00073 //---------------------------------------------------------------------------// 00074 00075 class MJManagerMessenger: public G4UImessenger 00076 { 00077 public: 00078 00079 //default constructor 00080 MJManagerMessenger(MJManager *manager); 00081 00082 //copy constructor 00083 MJManagerMessenger(const MJManagerMessenger &); 00084 00085 //destructor 00086 ~MJManagerMessenger(); 00087 00088 //public interface 00089 G4String GetCurrentValue(G4UIcommand *command); 00090 void SetNewValue(G4UIcommand *command, G4String newValues); 00091 00092 //protected members 00093 protected: 00094 00095 00096 //private members 00097 private: 00098 MJManager *fManager; // /MJ/manager 00099 G4UIdirectory *fDirectory; 00100 00101 // Commands 00102 G4UIcmdWithAString *fMJLogCmd; // /MJ/manager/mjlog 00103 G4UIcmdWithAnInteger *fHEPRandomSeedCmd; // /MJ/manager/heprandomseed 00104 }; 00105 #endif