source: trunk/source/processes/electromagnetic/utils/include/G4EnergyLossMessenger.hh@ 907

Last change on this file since 907 was 819, checked in by garnier, 17 years ago

import all except CVS

File size: 4.5 KB
Line 
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.18 2007/05/18 18:39:54 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-01-patch-02 $
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//
48// -------------------------------------------------------------------
49//
50
51//
52// Class Description:
53// This is a messenger class to interface to exchange information
54// between G4VEnergyLoss and UI.
55//
56// /process/eLoss/ directory
57//
58// Commands :
59//
60// rndmStep * Randomize the proposed step by eLoss (false/true)
61// fluct * Switch true/false the energy loss fluctuations
62// subsec * Switch true/false the subcutoff generation
63// minsubsec * Set the min. cut for subcutoff delta in range
64// StepFunction * Set the energy loss step limitation parameters
65//
66
67//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
68//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
69
70#ifndef G4EnergyLossMessenger_h
71#define G4EnergyLossMessenger_h 1
72
73#include "globals.hh"
74#include "G4UImessenger.hh"
75
76class G4UIdirectory;
77class G4UIcommand;
78class G4UIcmdWithABool;
79class G4UIcmdWithAnInteger;
80class G4UIcmdWithADouble;
81class G4UIcmdWithADoubleAndUnit;
82class G4UIcmdWithAString;
83class G4EmProcessOptions;
84
85//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
86
87class G4EnergyLossMessenger: public G4UImessenger
88{
89public: // with description
90
91 G4EnergyLossMessenger();
92 virtual ~G4EnergyLossMessenger();
93
94 void SetNewValue(G4UIcommand*, G4String);
95
96private:
97
98 G4EmProcessOptions* opt;
99
100 G4UIdirectory* eLossDirectory;
101 G4UIdirectory* mscDirectory;
102 G4UIcmdWithABool* RndmStepCmd;
103 G4UIcmdWithABool* EnlossFlucCmd;
104 G4UIcmdWithABool* SubSecCmd;
105 G4UIcmdWithADouble* MinSubSecCmd;
106 G4UIcommand* StepFuncCmd;
107 G4UIcmdWithAString* mscCmd;
108 G4UIcmdWithADoubleAndUnit* MinEnCmd;
109 G4UIcmdWithADoubleAndUnit* MaxEnCmd;
110 G4UIcmdWithABool* IntegCmd;
111 G4UIcmdWithABool* rangeCmd;
112 G4UIcmdWithABool* lpmCmd;
113 G4UIcmdWithABool* latCmd;
114 G4UIcmdWithAnInteger* verCmd;
115 G4UIcmdWithAnInteger* dedxCmd;
116 G4UIcmdWithAnInteger* lamCmd;
117 G4UIcmdWithADouble* lllCmd;
118 G4UIcmdWithADouble* labCmd;
119 G4UIcmdWithADouble* skinCmd;
120 G4UIcmdWithADouble* frCmd;
121 G4UIcmdWithADouble* fgCmd;
122};
123
124#endif
125
Note: See TracBrowser for help on using the repository browser.