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 // 00027 // 00028 // 00029 00030 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00031 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00032 00033 #ifndef MyGlobalFieldMessenger_h 00034 #define MyGlobalFieldMessenger_h 1 00035 00036 #include "myglobals.hh" 00037 #include "G4UImessenger.hh" 00038 00039 class MyGlobalField; 00040 class G4UIdirectory; 00041 class G4UIcmdWithAString; 00042 class G4UIcmdWithAnInteger; 00043 class G4UIcmdWithADoubleAndUnit; 00044 class G4UIcmdWith3VectorAndUnit; 00045 class G4UIcmdWithoutParameter; 00046 00047 class MyGlobalFieldMessenger: public G4UImessenger { 00048 public: 00049 MyGlobalFieldMessenger(MyGlobalField* ); 00050 ~MyGlobalFieldMessenger(); 00051 00052 void SetNewValue(G4UIcommand*, G4String); 00053 void SetNewValue(G4UIcommand*, G4int); 00054 00055 private: 00056 00057 MyGlobalField* fGlobalField; 00058 00059 G4UIdirectory* detDir; 00060 00061 G4UIcmdWith3VectorAndUnit* fGetFieldCMD; 00062 G4UIcmdWithAnInteger* fVerboseCMD; 00063 G4int fVerbose; 00064 00065 G4UIcmdWithAnInteger* fStepperCMD; 00066 G4UIcmdWithADoubleAndUnit* fMinStepCMD; 00067 G4UIcmdWithADoubleAndUnit* fDeltaChordCMD; 00068 G4UIcmdWithADoubleAndUnit* fDeltaOneStepCMD; 00069 G4UIcmdWithADoubleAndUnit* fDeltaIntersectionCMD; 00070 G4UIcmdWithADoubleAndUnit* fEpsMinCMD; 00071 G4UIcmdWithADoubleAndUnit* fEpsMaxCMD; 00072 G4UIcmdWithoutParameter* fUpdateCMD; 00073 00074 }; 00075 #endif