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
chiral_inv_phase_space
cross_sections
include
G4QIonIonCrossSection.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
// Short description: CHIPS cross-sectons for Ion-Ion interactions
27
// ---------------------------------------------------------------
28
//
29
//
30
// GEANT4 tag $Name: not supported by cvs2svn $
31
//
32
//
33
// GEANT4 physics class: G4QIonIonCrossSection -- header file
34
// Created: M.V. Kossov, CERN/ITEP(Moscow), 19-Aug-07
35
// The last update: M.V. Kossov, CERN/ITEP (Moscow) 19-Aug-07
36
//-----------------------------------------------------------------------------------------
37
// In this class, just as an experiment the real PDG codes (not CHIPS) are used
38
//-----------------------------------------------------------------------------------------
39
//
40
// ****************************************************************************************
41
// ********* This HEADER is temporary moved from the chips/interface directory *********
42
// ******* DO NOT MAKE ANY CHANGE! With time it'll move back to photolepton...(M.K.) ******
43
// ****************************************************************************************
44
45
#ifndef G4QIonIonCrossSection_h
46
#define G4QIonIonCrossSection_h 1
47
48
#include "
G4ParticleTable.hh
"
49
#include "
G4NucleiProperties.hh
"
50
#include <vector>
51
#include "
G4VQCrossSection.hh
"
52
#include "
G4QPDGCode.hh
"
53
#include "
G4QProtonElasticCrossSection.hh
"
54
#include "
G4QNeutronElasticCrossSection.hh
"
55
#include "
G4QProtonNuclearCrossSection.hh
"
56
#include "
G4QNeutronNuclearCrossSection.hh
"
57
58
59
class
G4QIonIonCrossSection
:
public
G4VQCrossSection
60
{
61
protected
:
62
63
G4QIonIonCrossSection
() {}
64
65
public
:
66
67
~G4QIonIonCrossSection
() {}
68
69
static
G4VQCrossSection
*
GetPointer
();
// Gives a pointer to this singletone
70
71
// At present momentum (pMom) must be in GeV(@@ Units),fCS=true:Inelastic, =false:Elastic
72
virtual
G4double
GetCrossSection
(
G4bool
fCS,
G4double
pMom,
G4int
Z
,
G4int
N
,
G4int
PDG);
73
74
// Momentum=p/A (MeV/c)
75
G4double
CalculateCrossSection
(
G4bool
fCS,
G4int
F,
G4int
I,
G4int
PDG,
76
G4int
tZ,
G4int
tN,
G4double
Momentum);
77
78
G4double
ThresholdMomentum
(
G4int
pZ,
G4int
pN,
G4int
tZ,
G4int
tN);
// P-Threshold(MeV/c)
79
80
private
:
81
G4int
GetFunctions(
G4int
pZ,
G4int
pN,
G4int
tZ,
G4int
tN,
82
G4double
* LI,
G4double
* HI,
// Inelastic
83
G4double
*
LE
,
G4double
* HE);
// Elastic
84
85
G4double
CalculateTotal(
G4double
pA,
G4double
tA,
G4double
Momentum);
86
G4double
CalculateElTot(
G4double
pA,
G4double
tA,
G4double
Momentum);
87
// Momentum=p/A (MeV/c), first=InelasticCS, second=elasticCS (mb)
88
std::pair<G4double,G4double> CalculateXS(
G4int
pZ,
G4int
pN,
G4int
tZ,
G4int
tN,
G4double
P);
89
90
// Body
91
private
:
92
static
G4double
* lastLENI;
// Pointer to the last array of LowEnergy Inel cross sections
93
static
G4double
* lastHENI;
// Pointer to the last array of HighEnergy Inel cross sections
94
static
G4double
* lastLENE;
// Pointer to the last array of LowEnergy Elast cross sections
95
static
G4double
* lastHENE;
// Pointer to the last array of HighEnergy Elast cross sections
96
static
G4double
lastE;
// Last used in the cross section Energy
97
static
G4int
lastPDG;
// The last projectile PDG
98
static
G4int
lastN;
// The last N of calculated nucleus
99
static
G4int
lastZ;
// The last Z of calculated nucleus
100
static
G4double
lastP;
// Last used in the cross section Momentum
101
static
G4double
lastTH;
// Last value of the Momentum Threshold
102
static
G4double
lastICS;
// Last value of the Inelastic Cross Section
103
static
G4double
lastECS;
// Last value of the Elastic Cross Section
104
static
G4int
lastI;
// The last position in the DAMDB
105
};
106
107
#endif
Generated on Sat May 25 2013 14:33:47 for Geant4 by
1.8.4