Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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//
28//
29//---------------------------------------------------------------
30//
31// G4UserPhysicsListMessenger.hh
32//
33// Class Description:
34// This is a messenger class to interface to exchange information
35// between ParticleUserList and UI.
36// --
37// the List of Directory and Commands
38// -
39// /run/particle/ Paricle control commands.
40// Commands :
41// SetCuts * Set default cut value
42// dumpList * Dump List of particles in G4VUserPhysicsList.
43// verbose * Set the Verbose level of G4VUserPhysicsList.
44// addProcessManager * add process manager
45// buildPhysicsTable * build physics table
46// storePhysicsTable * store physics table into files
47// retreivePhysicsTable * retreive physics table from files
48// setStoredInAscii * Switch on/off ascii mode in store/retreive Physics
49// 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
66
68class G4UIdirectory;
73class 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;
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
virtual G4String GetCurrentValue(G4UIcommand *command)
virtual void SetNewValue(G4UIcommand *command, G4String newValues)