ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ParticleMessenger.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4ParticleMessenger.hh
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 // G4ParticleMessenger.hh
32 //
33 // Class Description:
34 // This is a messenger class to interface to exchange information
35 // between Particle related classes and UI.
36 //
37 // ------------------------------------------------------
38 // the List of Directory and Commands
39 // ------------------------------------------------------
40 // G4ParticleMessenger
41 // /particle/ Paricle control commands.
42 // Commands :
43 // select * Select particle
44 // list * List name of particles.
45 // find * find particle by PDG encoding.
46 // verbose * Set Verbose level of Particle Table
47 //
48 // G4ParticlePropertyMessenger
49 // /particle/property/ Paricle Table control commands.
50 // Commands :
51 // dump * dump particle properties.
52 // stable * Set stable flag.
53 // lifetime * Set life time.
54 // verbose * Set Verbose level
55 //
56 // G4DecayTableMessenger
57 // /particle/property/decay/ Decay Table control commands.
58 // Commands :
59 // select * Enter index of decay mode.
60 // dump * Dump decay mode information.
61 // br * Set branching ratio. [0< BR <1.0]
62 //
63 //
64 // History:
65 // 13 June 1997, H. Kurashige : The 1st version created.
66 // 10 Nov 1997, H.Kurashige : add /particle/property/Verbose
67 // 08 Jan. 1998, H. Kurashige : new UIcommand
68 // 08 June 1998, H. Kurashige : remove fProcessManagerMessenger
69 // 25 Nov. 1998, H. Kurashige : add /particle/find
70 // 08 Jun. 2008, H. Kurashige : add /particle/verbose
71 // 30 Jul. 2009, H. Kurashige : add /particle/createAllIon
72 // 1 May. 2013, H. Kurashige : add /particle/createAllIsomer
73 //---------------------------------------------------------------
74 
75 #ifndef G4ParticleMessenger_h
76 #define G4ParticleMessenger_h 1
77 
79 class G4ParticleTable;
81 
82 
83 class G4UIdirectory;
84 class G4UIcmdWithAString;
87 
88 #include "G4UImessenger.hh"
89 #include "globals.hh"
90 
91 
93 {
94  public:
96  virtual ~G4ParticleMessenger();
97 
98  public: // With Description
99  void SetNewValue(G4UIcommand * command,G4String newValues);
101 
102  private:
103  // !!! can not use "copy constructor" !!!!
105 
106  private:
114 
117 
119 };
120 
121 #endif
122 
123 
124 
125 
126 
127 
128 
129 
130