Geant4
10.02.p03
G4CookShellCorrections.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
// $Id: G4CookShellCorrections.hh 85841 2014-11-05 15:35:06Z gcosmo $
27
//
28
// Hadronic Process: Nuclear De-excitations
29
// by V. Lara
30
//
31
// Modified:
32
// 21.03.2013 V.Ivanchenko redesigned and cleaned up
33
34
#ifndef G4CookShellCorrections_h
35
#define G4CookShellCorrections_h 1
36
37
#include "
globals.hh
"
38
39
class
G4CookShellCorrections
40
{
41
public
:
42
43
G4CookShellCorrections
();
44
45
~G4CookShellCorrections
();
46
47
inline
G4bool
GetShellCorrection
(
G4int
N
,
G4int
Z
,
G4double
& result)
const
48
{
49
G4bool
res =
false
;
50
if
(Z >=
ZTableMin
&& Z <= ZTableMax && N >=
NTableMin
&& N <=
NTableMax
) {
51
result =
ShellZTable
[Z-
ZTableMin
] +
ShellNTable
[N-
NTableMin
];
52
res =
true
;
53
}
54
return
res;
55
}
56
57
enum
{
ZTableSize
= 68,
NTableSize
= 118,
ZTableMin
= 28,
ZTableMax
= 95,
58
NTableMin
= 33,
NTableMax
= 150 };
59
private
:
60
61
static
G4double
ShellZTable
[
ZTableSize
];
62
static
G4double
ShellNTable
[
NTableSize
];
63
64
};
65
#endif
G4CookShellCorrections
Definition:
G4CookShellCorrections.hh:39
G4int
int G4int
Definition:
G4Types.hh:78
G4CookShellCorrections::GetShellCorrection
G4bool GetShellCorrection(G4int N, G4int Z, G4double &result) const
Definition:
G4CookShellCorrections.hh:47
Z
Float_t Z
Definition:
advanced/microbeam/plot.C:39
G4bool
bool G4bool
Definition:
G4Types.hh:79
G4CookShellCorrections::ZTableSize
Definition:
G4CookShellCorrections.hh:57
globals.hh
G4CookShellCorrections::G4CookShellCorrections
G4CookShellCorrections()
Definition:
G4CookShellCorrections.cc:69
G4CookShellCorrections::NTableSize
Definition:
G4CookShellCorrections.hh:57
N
**D E S C R I P T I O N
Definition:
HepMCEx01/src/HEPEvtcom.cc:77
G4CookShellCorrections::~G4CookShellCorrections
~G4CookShellCorrections()
Definition:
G4CookShellCorrections.cc:75
G4CookShellCorrections::ShellZTable
static G4double ShellZTable[ZTableSize]
Definition:
G4CookShellCorrections.hh:61
G4double
double G4double
Definition:
G4Types.hh:76
G4CookShellCorrections::NTableMin
Definition:
G4CookShellCorrections.hh:58
G4CookShellCorrections::ShellNTable
static G4double ShellNTable[NTableSize]
Definition:
G4CookShellCorrections.hh:62
G4CookShellCorrections::NTableMax
Definition:
G4CookShellCorrections.hh:58
G4CookShellCorrections::ZTableMin
Definition:
G4CookShellCorrections.hh:57
G4CookShellCorrections::ZTableMax
Definition:
G4CookShellCorrections.hh:57
Geant4
Geant4.10.02.p03
source
processes
hadronic
models
de_excitation
util
include
G4CookShellCorrections.hh
Generated by
1.8.13