Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
source
processes
hadronic
models
radioactive_decay
include
G4UIcmdWithNucleusLimits.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
#ifndef G4UIcmdWithNucleusLimits_h
27
#define G4UIcmdWithNucleusLimits_h 1
28
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29
//
30
// MODULE: G4UIcmdWithNucleusAndUnit.hh
31
//
32
// Version: 0.b.4
33
// Date: 14/04/00
34
// Author: F Lei & P R Truscott
35
// Organisation: DERA UK
36
// Customer: ESA/ESTEC, NOORDWIJK
37
// Contract: 12115/96/JG/NL Work Order No. 3
38
//
39
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40
//
41
// Class Description
42
//
43
// The G4UIcmdWithNucleusLimits permits input of the range of nuclides
44
// that will be treated in the G4RadioactiveDecay Class. Input is expected in
45
// the form:
46
//
47
// AMin AMax ZMin ZMax
48
//
49
// where AMin, AMax, ZMin, ZMax are respectively the upper and lower limits
50
// in A (atomic mass), and the upper and lower limits in Z (atomic number)
51
// which define the range of nuclides treated by the G4RadioactiveDecay.
52
//
53
// Class Description - end:
54
//
55
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56
//
57
// CHANGE HISTORY
58
// --------------
59
//
60
// 29 February 2000, P R Truscott, DERA UK
61
// 0.b.3 release.
62
//
63
//
64
// 13 April 2000, F Lei, DERA UK
65
// 0.b.4 release. No change to this file
66
//
67
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
69
//
70
#include "
G4UIcommand.hh
"
71
#include "
globals.hh
"
72
73
#include "
G4NucleusLimits.hh
"
75
//
76
class
G4UIcmdWithNucleusLimits
:
public
G4UIcommand
77
{
78
public
:
// With description
79
G4UIcmdWithNucleusLimits
80
(
const
char
* theCommandPath,
G4UImessenger
* theMessenger);
81
// Constructor identifying the command path in the User Interface and the
82
// associated G4UImessenger which will use this G4UIcommand object.
83
//
84
~G4UIcmdWithNucleusLimits
();
85
// Destructor
86
//
87
G4NucleusLimits
GetNewNucleusLimitsValue
(
G4String
paramString);
88
// Extracts the values aMin, aMax, zMin, zMax from paramString.
89
// Values returned have aMin, aMax, zMin, and zMax (within the
90
// G4NucleusLimits variable).
91
G4String
ConvertToString
(
G4NucleusLimits
nuclimit);
92
// Converts the G4NucleusLimits defined by vec into a G4String.
93
void
SetParameterName
(
const
char
* theNameAMin,
const
char
* theNameAMax,
94
const
char
* theNameZMin,
const
char
* theNameZMax,
95
G4bool
omittable,
G4bool
currentAsDefault=
true
);
96
// Identifies the parameter names associated with each of the G4doubles
97
// used to define the G4NucleusLimits variable.
98
void
SetDefaultValue
(
G4NucleusLimits
defVal);
99
// Sets the default G4NucleusLimits if the command is invoked without any
100
// parameters.
101
};
103
#endif
104
G4UIcommand.hh
G4UIcmdWithNucleusLimits::GetNewNucleusLimitsValue
G4NucleusLimits GetNewNucleusLimitsValue(G4String paramString)
Definition:
G4UIcmdWithNucleusLimits.cc:54
G4NucleusLimits.hh
G4String
Definition:
examples/extended/parallel/TopC/ParN02/AnnotatedFiles/G4String.hh:45
G4UIcmdWithNucleusLimits::ConvertToString
G4String ConvertToString(G4NucleusLimits nuclimit)
Definition:
G4UIcmdWithNucleusLimits.cc:67
G4bool
bool G4bool
Definition:
G4Types.hh:79
G4UIcmdWithNucleusLimits::SetDefaultValue
void SetDefaultValue(G4NucleusLimits defVal)
Definition:
G4UIcmdWithNucleusLimits.cc:100
G4UIcmdWithNucleusLimits::~G4UIcmdWithNucleusLimits
~G4UIcmdWithNucleusLimits()
Definition:
G4UIcmdWithNucleusLimits.cc:47
G4UImessenger
Definition:
G4UImessenger.hh:47
globals.hh
G4UIcommand
Definition:
G4UIcommand.hh:51
G4UIcmdWithNucleusLimits::G4UIcmdWithNucleusLimits
G4UIcmdWithNucleusLimits(const char *theCommandPath, G4UImessenger *theMessenger)
Definition:
G4UIcmdWithNucleusLimits.cc:32
G4UIcmdWithNucleusLimits
Definition:
G4UIcmdWithNucleusLimits.hh:76
G4UIcmdWithNucleusLimits::SetParameterName
void SetParameterName(const char *theNameAMin, const char *theNameAMax, const char *theNameZMin, const char *theNameZMax, G4bool omittable, G4bool currentAsDefault=true)
Definition:
G4UIcmdWithNucleusLimits.cc:78
G4NucleusLimits
Definition:
G4NucleusLimits.hh:58
다음에 의해 생성됨 :
1.8.5