| 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 | //
|
|---|
| 27 | // $Id: G4EnergyLossMessenger.hh,v 1.24 2009/10/29 19:25:28 vnivanch Exp $
|
|---|
| 28 | // GEANT4 tag $Name: geant4-09-03-cand-01 $
|
|---|
| 29 | //
|
|---|
| 30 | // -------------------------------------------------------------------
|
|---|
| 31 | //
|
|---|
| 32 | // GEANT4 Class file
|
|---|
| 33 | //
|
|---|
| 34 | // File name: G4EnergyLossMessenger
|
|---|
| 35 | //
|
|---|
| 36 | // Author: Michel Maire
|
|---|
| 37 | //
|
|---|
| 38 | // Creation date: 22-06-2000
|
|---|
| 39 | //
|
|---|
| 40 | // Modifications:
|
|---|
| 41 | // 10-01-06 SetStepLimits -> SetStepFunction (V.Ivantchenko)
|
|---|
| 42 | // 10-05-06 Add command MscStepLimit (V.Ivantchenko)
|
|---|
| 43 | // 10-11-06 Add command binsDEDX (V.Ivantchenko)
|
|---|
| 44 | // 12-02-07 Add SetSkin, SetLinearLossLimit (V.Ivanchenko)
|
|---|
| 45 | // 16-03-07 modify /process/eLoss/minsubsec command (V.Ivanchenko)
|
|---|
| 46 | // 18-05-07 add /process/msc directory and commands (V.Ivanchenko)
|
|---|
| 47 | // 11-03-08 add /process/em directory and commands (V.Ivanchenko)
|
|---|
| 48 | //
|
|---|
| 49 | // -------------------------------------------------------------------
|
|---|
| 50 | //
|
|---|
| 51 |
|
|---|
| 52 | //
|
|---|
| 53 | // Class Description:
|
|---|
| 54 | // This is a messenger class to interface to exchange information
|
|---|
| 55 | // between G4VEnergyLoss and UI.
|
|---|
| 56 | //
|
|---|
| 57 | // /process/eLoss/ directory
|
|---|
| 58 | //
|
|---|
| 59 | // Commands :
|
|---|
| 60 | //
|
|---|
| 61 | // rndmStep * Randomize the proposed step by eLoss (false/true)
|
|---|
| 62 | // fluct * Switch true/false the energy loss fluctuations
|
|---|
| 63 | // subsec * Switch true/false the subcutoff generation
|
|---|
| 64 | // minsubsec * Set the min. cut for subcutoff delta in range
|
|---|
| 65 | // StepFunction * Set the energy loss step limitation parameters
|
|---|
| 66 | //
|
|---|
| 67 |
|
|---|
| 68 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 69 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 70 |
|
|---|
| 71 | #ifndef G4EnergyLossMessenger_h
|
|---|
| 72 | #define G4EnergyLossMessenger_h 1
|
|---|
| 73 |
|
|---|
| 74 | #include "globals.hh"
|
|---|
| 75 | #include "G4UImessenger.hh"
|
|---|
| 76 |
|
|---|
| 77 | class G4UIdirectory;
|
|---|
| 78 | class G4UIcommand;
|
|---|
| 79 | class G4UIcmdWithABool;
|
|---|
| 80 | class G4UIcmdWithAnInteger;
|
|---|
| 81 | class G4UIcmdWithADouble;
|
|---|
| 82 | class G4UIcmdWithADoubleAndUnit;
|
|---|
| 83 | class G4UIcmdWithAString;
|
|---|
| 84 | class G4EmProcessOptions;
|
|---|
| 85 |
|
|---|
| 86 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 87 |
|
|---|
| 88 | class G4EnergyLossMessenger: public G4UImessenger
|
|---|
| 89 | {
|
|---|
| 90 | public: // with description
|
|---|
| 91 |
|
|---|
| 92 | G4EnergyLossMessenger();
|
|---|
| 93 | virtual ~G4EnergyLossMessenger();
|
|---|
| 94 |
|
|---|
| 95 | void SetNewValue(G4UIcommand*, G4String);
|
|---|
| 96 |
|
|---|
| 97 | private:
|
|---|
| 98 |
|
|---|
| 99 | G4EmProcessOptions* opt;
|
|---|
| 100 |
|
|---|
| 101 | G4UIdirectory* eLossDirectory;
|
|---|
| 102 | G4UIdirectory* mscDirectory;
|
|---|
| 103 | G4UIdirectory* emDirectory;
|
|---|
| 104 | G4UIcmdWithABool* RndmStepCmd;
|
|---|
| 105 | G4UIcmdWithABool* EnlossFlucCmd;
|
|---|
| 106 | G4UIcmdWithABool* SubSecCmd;
|
|---|
| 107 | G4UIcmdWithADouble* MinSubSecCmd;
|
|---|
| 108 | G4UIcommand* StepFuncCmd;
|
|---|
| 109 | G4UIcommand* deexCmd;
|
|---|
| 110 | G4UIcmdWithAString* mscCmd;
|
|---|
| 111 | G4UIcmdWithADoubleAndUnit* MinEnCmd;
|
|---|
| 112 | G4UIcmdWithADoubleAndUnit* MaxEnCmd;
|
|---|
| 113 | G4UIcmdWithABool* IntegCmd;
|
|---|
| 114 | G4UIcmdWithABool* rangeCmd;
|
|---|
| 115 | G4UIcmdWithABool* lpmCmd;
|
|---|
| 116 | G4UIcmdWithABool* latCmd;
|
|---|
| 117 | G4UIcmdWithABool* splCmd;
|
|---|
| 118 | G4UIcmdWithABool* aplCmd;
|
|---|
| 119 | G4UIcmdWithAnInteger* verCmd;
|
|---|
| 120 | G4UIcmdWithAnInteger* ver1Cmd;
|
|---|
| 121 | G4UIcmdWithAnInteger* dedxCmd;
|
|---|
| 122 | G4UIcmdWithAnInteger* lamCmd;
|
|---|
| 123 | G4UIcmdWithADouble* lllCmd;
|
|---|
| 124 | G4UIcmdWithADouble* labCmd;
|
|---|
| 125 | G4UIcmdWithADouble* skinCmd;
|
|---|
| 126 | G4UIcmdWithADouble* frCmd;
|
|---|
| 127 | G4UIcmdWithADouble* fgCmd;
|
|---|
| 128 | G4UIcmdWithADouble* mscfCmd;
|
|---|
| 129 | G4UIcmdWithADoubleAndUnit* angCmd;
|
|---|
| 130 | };
|
|---|
| 131 |
|
|---|
| 132 | #endif
|
|---|
| 133 |
|
|---|