Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
processes
hadronic
models
abla
src
G4AblaVirtualData.cc
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
// $Id$
27
// Translation of INCL4.2/ABLA V3
28
// Pekka Kaitaniemi, HIP (translation)
29
// Christelle Schmidt, IPNL (fission code)
30
// Alain Boudard, CEA (contact person INCL/ABLA)
31
// Aatos Heikkinen, HIP (project coordination)
32
33
#include "
G4AblaVirtualData.hh
"
34
35
G4AblaVirtualData::G4AblaVirtualData
()
36
{
37
38
}
39
40
bool
G4AblaVirtualData::setAlpha
(
int
A,
int
Z
,
double
value
)
41
{
42
alpha[A][
Z
] =
value
;
43
44
return
true
;
45
}
46
47
bool
G4AblaVirtualData::setEcnz
(
int
A,
int
Z
,
double
value
)
48
{
49
ecnz[A][
Z
] =
value
;
50
51
return
true
;
52
}
53
54
bool
G4AblaVirtualData::setVgsld
(
int
A,
int
Z
,
double
value
)
55
{
56
vgsld[A][
Z
] =
value
;
57
58
return
true
;
59
}
60
61
bool
G4AblaVirtualData::setPace2
(
int
A,
int
Z
,
double
value
)
62
{
63
pace2[A][
Z
] =
value
;
64
65
return
true
;
66
}
67
68
double
G4AblaVirtualData::getAlpha
(
int
A,
int
Z
)
69
{
70
return
alpha[A][
Z
];
71
}
72
73
double
G4AblaVirtualData::getEcnz
(
int
A,
int
Z
)
74
{
75
return
ecnz[A][
Z
];
76
}
77
78
double
G4AblaVirtualData::getVgsld
(
int
A,
int
Z
)
79
{
80
return
vgsld[A][
Z
];
81
}
82
83
double
G4AblaVirtualData::getPace2
(
int
A,
int
Z
)
84
{
85
return
pace2[A][
Z
];
86
}
87
88
int
G4AblaVirtualData::getAlphaRows
()
89
{
90
return
alphaRows;
91
}
92
93
int
G4AblaVirtualData::getAlphaCols
()
94
{
95
return
alphaCols;
96
}
97
int
G4AblaVirtualData::getPaceRows
()
98
{
99
return
paceRows;
100
}
101
int
G4AblaVirtualData::getPaceCols
()
102
{
103
return
paceCols;
104
}
Generated on Sat May 25 2013 14:33:42 for Geant4 by
1.8.4