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 // $Id$ 00027 // 00028 // ------------------------------------------------------------------- 00029 // 00030 // GEANT4 Class file 00031 // 00032 // File name: G4EnergyLossMessenger 00033 // 00034 // Author: Michel Maire 00035 // 00036 // Creation date: 22-06-2000 00037 // 00038 // Modifications: 00039 // 10-01-06 SetStepLimits -> SetStepFunction (V.Ivantchenko) 00040 // 10-05-06 Add command MscStepLimit (V.Ivantchenko) 00041 // 10-11-06 Add command binsDEDX (V.Ivantchenko) 00042 // 12-02-07 Add SetSkin, SetLinearLossLimit (V.Ivanchenko) 00043 // 16-03-07 modify /process/eLoss/minsubsec command (V.Ivanchenko) 00044 // 18-05-07 add /process/msc directory and commands (V.Ivanchenko) 00045 // 11-03-08 add /process/em directory and commands (V.Ivanchenko) 00046 // 00047 // ------------------------------------------------------------------- 00048 // 00049 00050 // Class Description: 00051 // This is a messenger class to interface to exchange information 00052 // between G4VEm and UI. 00053 // 00054 00055 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00056 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00057 00058 #ifndef G4EnergyLossMessenger_h 00059 #define G4EnergyLossMessenger_h 1 00060 00061 #include "globals.hh" 00062 #include "G4UImessenger.hh" 00063 00064 class G4UIdirectory; 00065 class G4UIcommand; 00066 class G4UIcmdWithABool; 00067 class G4UIcmdWithAnInteger; 00068 class G4UIcmdWithADouble; 00069 class G4UIcmdWithADoubleAndUnit; 00070 class G4UIcmdWithAString; 00071 class G4EmProcessOptions; 00072 00073 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00074 00075 class G4EnergyLossMessenger: public G4UImessenger 00076 { 00077 public: // with description 00078 00079 G4EnergyLossMessenger(); 00080 virtual ~G4EnergyLossMessenger(); 00081 00082 void SetNewValue(G4UIcommand*, G4String); 00083 00084 private: 00085 00086 G4EmProcessOptions* opt; 00087 00088 G4UIdirectory* eLossDirectory; 00089 G4UIdirectory* mscDirectory; 00090 G4UIdirectory* emDirectory; 00091 G4UIcmdWithABool* RndmStepCmd; 00092 G4UIcmdWithABool* EnlossFlucCmd; 00093 G4UIcmdWithABool* SubSecCmd; 00094 G4UIcmdWithADouble* MinSubSecCmd; 00095 G4UIcommand* StepFuncCmd; 00096 G4UIcommand* deexCmd; 00097 G4UIcmdWithAString* mscCmd; 00098 G4UIcmdWithADoubleAndUnit* MinEnCmd; 00099 G4UIcmdWithADoubleAndUnit* MaxEnCmd; 00100 G4UIcmdWithABool* IntegCmd; 00101 G4UIcmdWithABool* rangeCmd; 00102 G4UIcmdWithABool* lpmCmd; 00103 G4UIcmdWithABool* latCmd; 00104 G4UIcmdWithABool* splCmd; 00105 G4UIcmdWithABool* aplCmd; 00106 G4UIcmdWithABool* deCmd; 00107 G4UIcmdWithABool* auCmd; 00108 G4UIcmdWithABool* pixeCmd; 00109 G4UIcmdWithAString* pixeXsCmd; 00110 G4UIcmdWithAString* pixeeXsCmd; 00111 G4UIcmdWithAnInteger* verCmd; 00112 G4UIcmdWithAnInteger* ver1Cmd; 00113 G4UIcmdWithAnInteger* dedxCmd; 00114 G4UIcmdWithAnInteger* lamCmd; 00115 G4UIcmdWithADouble* lllCmd; 00116 G4UIcmdWithADouble* labCmd; 00117 G4UIcmdWithADouble* skinCmd; 00118 G4UIcmdWithADouble* frCmd; 00119 G4UIcmdWithADouble* fgCmd; 00120 G4UIcmdWithADouble* mscfCmd; 00121 G4UIcmdWithADoubleAndUnit* angCmd; 00122 G4UIcommand* bfCmd; 00123 G4UIcommand* fiCmd; 00124 G4UIcommand* brCmd; 00125 }; 00126 00127 #endif 00128