Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4UserPhysicsListMessenger.hh
Go to the documentation of this file.
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: G4UserPhysicsListMessenger.hh 66892 2013-01-17 10:57:59Z gunter $
28 //
29 //
30 //---------------------------------------------------------------
31 //
32 // G4UserPhysicsListMessenger.hh
33 //
34 // Class Description:
35 // This is a messenger class to interface to exchange information
36 // between ParticleUserList and UI.
37 // --
38 // the List of Directory and Commands
39 // -
40 // /run/particle/ Paricle control commands.
41 // Commands :
42 // SetCuts * Set default cut value
43 // dumpList * Dump List of particles in G4VUserPhysicsList.
44 // verbose * Set the Verbose level of G4VUserPhysicsList.
45 // addProcessManager * add process manager
46 // buildPhysicsTable * build physics table
47 // storePhysicsTable * store physics table into files
48 // retreivePhysicsTable * retreive physics table from files
49 // setStoredInAscii * Switch on/off ascii mode in store/retreive Physics Table
50 // ------------------------------------------------------------
51 // History
52 // first version 09 Jan. 1998 by H.Kurashige
53 // second version 24 Jan. 1998 by H.Kurashige
54 // add buildPhysicsTable command 13 Apr. 1999 by H.Kurashige
55 // add store/retreivePhysicsTable 08 Nov. 2000 by H.Kurashige
56 // add setStoredInAscii command 12 Mar. 2001 by H.Kurashige
57 // add applyCuts command 2 Aug. 2001 by H.Kurashige
58 // add dumpOrderingParam command 3 May. 2011 by H.Kurashige
59 // add getCutForAGivenParticle 11 June 2011 by H.Kurashige
60 // ------------------------------------------------------------
61 
62 #ifndef G4UserPhysicsListMessenger_h
63 #define G4UserPhysicsListMessenger_h 1
64 
65 class G4VUserPhysicsList;
66 
67 class G4VUserPhysicsList;
68 class G4UIdirectory;
72 class G4UIcmdWithAString;
73 class G4UIcommand;
74 
75 #include "G4UImessenger.hh"
76 #include "globals.hh"
77 
79 {
80  private:
81  // hide default constructor
83 
84  public:
87 
88 public: // with description
89  virtual void SetNewValue(G4UIcommand * command,G4String newValues);
90  virtual G4String GetCurrentValue(G4UIcommand * command);
91 
92  protected:
94 
95  private: //commands
96  G4UIdirectory * theDirectory;
97  G4UIcmdWithADoubleAndUnit * setCutCmd;
98  G4UIcommand * setCutRCmd;
99  G4UIcommand * setCutForAGivenParticleCmd;
100  G4UIcmdWithAString * getCutForAGivenParticleCmd;
101  G4UIcmdWithAnInteger * verboseCmd;
102  G4UIcmdWithoutParameter * dumpListCmd;
103  G4UIcmdWithAString * addProcManCmd;
104  G4UIcmdWithAString * buildPTCmd;
105  G4UIcmdWithAString * storeCmd;
106  G4UIcmdWithAString * retrieveCmd;
107  G4UIcmdWithAnInteger * asciiCmd;
108  G4UIcommand * applyCutsCmd;
109  G4UIcmdWithAString * dumpCutValuesCmd;
110  G4UIcmdWithAnInteger* dumpOrdParamCmd;
111 };
112 
113 #endif
114 
115 
virtual void SetNewValue(G4UIcommand *command, G4String newValues)
virtual G4String GetCurrentValue(G4UIcommand *command)