Geant4  v4-10.4-release
이 파일의 문서화 페이지로 가기
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 *
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 *
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 // $Id: G4AdjointSimMessenger.hh 98735 2016-08-09 10:54:06Z gcosmo$
27 //
30 // Author: L. Desorgher
31 // Organisation: SpaceIT GmbH
32 // Contract: ESA contract 21435/08/NL/AT
33 // Customer: ESA/ESTEC
35 //
36 // CHANGE HISTORY
37 // --------------
38 // ChangeHistory:
39 // -1st January 2007 creation by L. Desorgher
40 // -November-December 2009 Some cleaning and adaptation for the first Release in the Geant4 toolkit, L. Desorgher
41 //
42 //
43 //-------------------------------------------------------------
44 // Documentation:
45 // This class represents the Messenger that defined the G4UI macro comands allowing the
46 // user contreol an adjoint/reverse MC simulation. It calls methods of G4AdjointSimManager
47 // List of commands
48 // -----------------
49 // 1)Start an adjoint simulation
50 // --------------------------------------------
51 // Command:
52 // -/adjoint/start_run nb: Start an adjoint simulation with a number of events given by nb.
53 // 2)Definition of the external source
54 // ---------------------------------------------------
55 // The external source represents the real external source of particles till which adjoint particles are tracked in the reverse tracking mode
57 // The user can define the source as the external surface of a sphere or of G4 volume of the geometry. He can also set the maximum energy of the
58 // source. If an adjoint particle get an energy higher than this maximum energy before reaching the external surface source it is killed without being registered.
59 // Commands:
60 // -/adjoint/DefineSphericalExtSource R X Y Z unit_length:
61 // The external source is set on a sphere with radius R and centered on position (X,Y,Z)
62 //
63 // -/adjoint/DefineSphericalExtSourceCenteredOnAVolume phys_vol_name R unit_length
64 // The external source is set on a sphere with radius R and with its center position located at the center of the
65 // the physical volume specified by the name phys_vol_name.
67 // The external surface is set as the external boundary of a the physical volume with name phys_vol_name
69 // Set the maximum energy of the external source
70 //
71 //
72 // 3)Definition of the adjoint source
73 // ---------------------------------------------------
75 // The user can define the source as the external surface of a sphere or of G4 volume of the geometry. He set the minimum maximum energy of the
76 // source and define which type of adjoint primary particles should be considered.
77 // Commands:
79 // The adjoint source is set on a sphere with radius R and centered on position (X,Y,Z)
80 //
82 // The external source is set on a sphere with radius R and with its center position located at the center of the
83 // the physical volume specified by the name phys_vol_name.
85 // The external surface is set as the external boundary of a the physical volume with name phys_vol_name
86 //
88 // Set the minimum energy of the external source
89 //
91 // Set the maximum energy of the external source
92 //
94 // The type of particle specified by "particle_name" will be added in the list of primary adjoint particles.
95 // The list of candidates depends on the reverse physics processes considered in the simulation. At the most the
96 // potential candidates are (e-, gamma, proton , ion)
97 //
99 // The type of particle specified by "particle_name" will be removed from the list of primary adjoint particles.
100 // The list of candidates depends on the reverse physics processes considered in the simulation. At the most the
101 // potential candidates are (e-, gamma, proton , ion)
102 //
103 //
104
107
108 #include "globals.hh"
109 #include "G4UImessenger.hh"
110
112 class G4UIdirectory;
113 class G4UIcmdWithAString;
116 class G4UIcmdWithABool;
120 /*
123 #endif
124 */
125
126 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
127
129 {
130  public:
132 /*
135 #endif
136 */
137
139
141
142  private:
144 /*
147 #endif
148 */
149
152
157
161
164
165
168
172
173 };
174 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
175
176 #endif
177