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 00038 // End class description 00039 // 00043 // 00044 // --------------------------------------------------------------------------// 00055 // --------------------------------------------------------------------------// 00056 00057 #ifndef _MJGENERATORPRIMARYMESSENGER_HH 00058 #define _MJGENERATORPRIMARYMESSENGER_HH 00059 00060 //---------------------------------------------------------------------------// 00061 00062 #include "globals.hh" 00063 #include "G4UImessenger.hh" 00064 00065 //---------------------------------------------------------------------------// 00066 00067 class G4UIdirectory; 00068 class G4UIcommand; 00069 class G4UIcmdWithAString; 00070 class G4UIcmdWithoutParameter; 00071 class MJGeneratorPrimary; 00072 00073 //---------------------------------------------------------------------------// 00074 00075 class MJGeneratorPrimaryMessenger : public G4UImessenger 00076 { 00077 public: 00078 00079 //default constructor 00080 MJGeneratorPrimaryMessenger(MJGeneratorPrimary *generator); 00081 00082 //copy constructor 00083 MJGeneratorPrimaryMessenger(const MJGeneratorPrimaryMessenger &); 00084 00085 //destructor 00086 ~MJGeneratorPrimaryMessenger(); 00087 00088 //public interface 00089 G4String GetCurrentValue(G4UIcommand *command); 00090 void SetNewValue(G4UIcommand *command, G4String newValues); 00091 00092 00093 //protected members 00094 protected: 00095 00096 00097 //private members 00098 private: 00099 MJGeneratorPrimary *fGeneratorPrimary; 00100 00101 G4UIdirectory *fGeneratorDirectory; 00102 // /MJ/generator 00103 00104 G4UIcmdWithoutParameter *fNameCmd; 00105 // /MJ/generator/name 00106 00107 G4UIcmdWithAString *fSelectCmd; 00108 // /MJ/generator/select 00109 00110 G4UIcmdWithAString *fConfineCmd; 00111 // /MJ/generator/confine 00112 00113 G4UIcmdWithAString *fVolumeCmd; 00114 // /MJ/generator/volume 00115 00116 }; 00117 #endif