Geant4-11
source
processes
hadronic
models
lend
include
G4LENDUsedTarget.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
#ifndef G4LENDUsedTarget_h
27
#define G4LENDUsedTarget_h 1
28
29
// Class Description
30
// Container of LEND (Low Energy Nuclear Data) target (nucleus)
31
// LEND is Geant4 interface for GIDI (General Interaction Data Interface)
32
// which gives a discription of nuclear and atomic reactions, such as
33
// Binary collision cross sections
34
// Particle number multiplicity distributions of reaction products
35
// Energy and angular distributions of reaction products
36
// Derived calculational constants
37
// GIDI is developped at Lawrence Livermore National Laboratory
38
// Class Description - End
39
40
// 071025 First implementation done by T. Koi (SLAC/SCCS)
41
// 101118 Name modifications for release T. Koi (SLAC/PPA)
42
43
#include "
G4LENDHeader.hh
"
44
#include "
G4ParticleDefinition.hh
"
45
46
class
G4LENDUsedTarget
47
{
48
49
public
:
50
51
G4LENDUsedTarget
(
G4ParticleDefinition
* pd ,
G4String
Evaluation ,
G4int
iZ ,
G4int
iA ,
G4int
iM = 0 )
52
:
allow_nat
( false )
53
,
allow_anything
( false )
54
,
min_Z
( 0 )
55
,
max_Z
( 113 )
56
,
min_A
( 1 )
57
,
max_A
( 278 )
58
,
min_M
( 0 )
59
,
max_M
( 10 )
60
{
61
62
proj
= pd;
63
64
wanted_Z
= iZ;
65
wanted_A
= iA;
66
wanted_M
= iM;
67
wanted_Evaluation
= Evaluation;
68
69
actual_Z
= -1;
70
actual_A
= -1;
71
actual_M
= -1;
72
actual_Evaluation
=
"na"
;
73
74
searchTarget
();
75
}
76
77
~G4LENDUsedTarget
(){;};
78
79
void
AllowNat
()
80
{
81
allow_nat
=
true
;
82
searchTarget
();
83
};
84
85
void
AllowAny
()
86
{
87
allow_anything
=
true
;
88
searchTarget
();
89
};
90
91
G4int
GetWantedZ
(){
return
wanted_Z
; };
92
G4int
GetWantedA
(){
return
wanted_A
; };
93
G4int
GetWantedM
(){
return
wanted_M
; };
94
95
G4int
GetActualZ
(){
return
actual_Z
; };
96
G4int
GetActualA
(){
return
actual_A
; };
97
G4int
GetActualM
(){
return
actual_M
; };
98
99
G4String
GetWantedEvaluation
(){
return
wanted_Evaluation
; };
100
G4String
GetActualEvaluation
(){
return
actual_Evaluation
; };
101
102
G4GIDI_target
*
GetTarget
(){
return
target
; };
103
104
private
:
105
106
void
searchTarget
();
107
108
G4ParticleDefinition
*
proj
;
109
110
G4int
wanted_Z
;
111
G4int
wanted_A
;
112
G4int
wanted_M
;
113
114
G4String
wanted_Evaluation
;
115
116
G4bool
allow_nat
;
117
G4bool
allow_anything
;
118
119
G4GIDI_target
*
target
;
120
121
G4int
actual_Z
;
122
G4int
actual_A
;
123
G4int
actual_M
;
124
G4String
actual_Evaluation
;
125
126
G4int
min_Z
;
127
G4int
max_Z
;
128
G4int
min_A
;
129
G4int
max_A
;
130
G4int
min_M
;
131
G4int
max_M
;
132
};
133
134
#endif
G4LENDHeader.hh
G4ParticleDefinition.hh
G4bool
bool G4bool
Definition:
G4Types.hh:86
G4int
int G4int
Definition:
G4Types.hh:85
G4GIDI_target
Definition:
G4GIDI_target.hh:58
G4LENDUsedTarget
Definition:
G4LENDUsedTarget.hh:47
G4LENDUsedTarget::wanted_Evaluation
G4String wanted_Evaluation
Definition:
G4LENDUsedTarget.hh:114
G4LENDUsedTarget::GetWantedZ
G4int GetWantedZ()
Definition:
G4LENDUsedTarget.hh:91
G4LENDUsedTarget::GetWantedEvaluation
G4String GetWantedEvaluation()
Definition:
G4LENDUsedTarget.hh:99
G4LENDUsedTarget::searchTarget
void searchTarget()
Definition:
G4LENDUsedTarget.cc:43
G4LENDUsedTarget::actual_Z
G4int actual_Z
Definition:
G4LENDUsedTarget.hh:121
G4LENDUsedTarget::AllowAny
void AllowAny()
Definition:
G4LENDUsedTarget.hh:85
G4LENDUsedTarget::allow_anything
G4bool allow_anything
Definition:
G4LENDUsedTarget.hh:117
G4LENDUsedTarget::AllowNat
void AllowNat()
Definition:
G4LENDUsedTarget.hh:79
G4LENDUsedTarget::min_M
G4int min_M
Definition:
G4LENDUsedTarget.hh:130
G4LENDUsedTarget::actual_Evaluation
G4String actual_Evaluation
Definition:
G4LENDUsedTarget.hh:124
G4LENDUsedTarget::GetTarget
G4GIDI_target * GetTarget()
Definition:
G4LENDUsedTarget.hh:102
G4LENDUsedTarget::GetActualEvaluation
G4String GetActualEvaluation()
Definition:
G4LENDUsedTarget.hh:100
G4LENDUsedTarget::GetWantedM
G4int GetWantedM()
Definition:
G4LENDUsedTarget.hh:93
G4LENDUsedTarget::min_A
G4int min_A
Definition:
G4LENDUsedTarget.hh:128
G4LENDUsedTarget::GetActualA
G4int GetActualA()
Definition:
G4LENDUsedTarget.hh:96
G4LENDUsedTarget::~G4LENDUsedTarget
~G4LENDUsedTarget()
Definition:
G4LENDUsedTarget.hh:77
G4LENDUsedTarget::GetActualZ
G4int GetActualZ()
Definition:
G4LENDUsedTarget.hh:95
G4LENDUsedTarget::G4LENDUsedTarget
G4LENDUsedTarget(G4ParticleDefinition *pd, G4String Evaluation, G4int iZ, G4int iA, G4int iM=0)
Definition:
G4LENDUsedTarget.hh:51
G4LENDUsedTarget::actual_A
G4int actual_A
Definition:
G4LENDUsedTarget.hh:122
G4LENDUsedTarget::allow_nat
G4bool allow_nat
Definition:
G4LENDUsedTarget.hh:116
G4LENDUsedTarget::wanted_Z
G4int wanted_Z
Definition:
G4LENDUsedTarget.hh:110
G4LENDUsedTarget::proj
G4ParticleDefinition * proj
Definition:
G4LENDUsedTarget.hh:108
G4LENDUsedTarget::min_Z
G4int min_Z
Definition:
G4LENDUsedTarget.hh:126
G4LENDUsedTarget::GetWantedA
G4int GetWantedA()
Definition:
G4LENDUsedTarget.hh:92
G4LENDUsedTarget::max_A
G4int max_A
Definition:
G4LENDUsedTarget.hh:129
G4LENDUsedTarget::max_Z
G4int max_Z
Definition:
G4LENDUsedTarget.hh:127
G4LENDUsedTarget::max_M
G4int max_M
Definition:
G4LENDUsedTarget.hh:131
G4LENDUsedTarget::actual_M
G4int actual_M
Definition:
G4LENDUsedTarget.hh:123
G4LENDUsedTarget::wanted_A
G4int wanted_A
Definition:
G4LENDUsedTarget.hh:111
G4LENDUsedTarget::GetActualM
G4int GetActualM()
Definition:
G4LENDUsedTarget.hh:97
G4LENDUsedTarget::target
G4GIDI_target * target
Definition:
G4LENDUsedTarget.hh:119
G4LENDUsedTarget::wanted_M
G4int wanted_M
Definition:
G4LENDUsedTarget.hh:112
G4ParticleDefinition
Definition:
G4ParticleDefinition.hh:61
G4String
Definition:
G4String.hh:62
Generated by
1.9.3