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
examples
extended
hadronic
Hadr02
include
G4DPMJET2_5CrossSection.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
// * *
21
// * Parts of this code which have been developed by QinetiQ Ltd *
22
// * under contract to the European Space Agency (ESA) are the *
23
// * intellectual property of ESA. Rights to use, copy, modify and *
24
// * redistribute this software for general public use are granted *
25
// * in compliance with any licensing, distribution and development *
26
// * policy adopted by the Geant4 Collaboration. This code has been *
27
// * written by QinetiQ Ltd for the European Space Agency, under ESA *
28
// * contract 19770/06/NL/JD (Technology Research Programme). *
29
// * *
30
// * By using, copying, modifying or distributing the software (or *
31
// * any work based on the software) you agree to acknowledge its *
32
// * use in resulting scientific publications, and indicate your *
33
// * acceptance of all terms of the Geant4 Software license. *
34
// ********************************************************************
35
//
38
//
39
#ifndef G4DPMJET2_5CrossSection_h
40
#define G4DPMJET2_5CrossSection_h
41
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42
//
43
// MODULE: G4DPMJET2_5CrossSection.hh
44
//
45
// Version: 0.A
46
// Date: 02/04/08
47
// Author: P R Truscott
48
// Organisation: QinetiQ Ltd, UK
49
// Customer: ESA/ESTEC, NOORDWIJK
50
// Contract: 19770/06/NL/JD
51
//
52
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
53
//
54
// Class Description
55
// Reads data from a datafile generated using the DPMJET-II.5 model, based on
56
// Glauber cross-section calculations.
57
// This class makes use of data stored in GlauberCrossSection.dat in the
58
// directory defined by environment variable $G4DPMJET2_5DATA.
59
//
60
// Class Description - End
61
//
62
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64
//
65
#include "
globals.hh
"
66
67
#include "
G4VCrossSectionDataSet.hh
"
68
#include "
G4DPMJET2_5CrossSectionParamSet.hh
"
69
70
#include <map>
71
72
typedef
std::map< G4int, G4DPMJET2_5CrossSectionParamSet *, std::less< G4int > >
73
G4DPMJET2_5CrossSectionIndex
;
75
//
76
class
G4DPMJET2_5CrossSection
:
public
G4VCrossSectionDataSet
77
{
78
public
:
79
G4DPMJET2_5CrossSection
();
80
~G4DPMJET2_5CrossSection
();
81
virtual
G4bool
IsApplicable
(
const
G4DynamicParticle
* theProjectile,
82
const
G4Element
*
theTarget
);
83
84
virtual
G4bool
IsZAApplicable
(
const
G4DynamicParticle
* theProjectile,
85
G4double
ZZ,
G4double
AA);
86
87
virtual
G4double
GetCrossSection
(
const
G4DynamicParticle
* theProjectile,
88
const
G4Element
* theTarget,
G4double
theTemperature);
89
90
virtual
91
G4double
GetIsoZACrossSection
(
const
G4DynamicParticle
* theProjectile,
92
G4double
ZZ,
G4double
AA,
93
G4double
theTemperature);
94
95
virtual
void
BuildPhysicsTable
(
const
G4ParticleDefinition
&);
96
97
virtual
void
DumpPhysicsTable
(
const
G4ParticleDefinition
&);
98
99
private
:
100
void
Initialise ();
101
102
G4int
APmin;
103
G4int
APmax;
104
G4int
ATmin;
105
G4int
ATmax;
106
107
G4DPMJET2_5CrossSectionIndex
theCrossSectionIndex;
108
109
const
G4double
upperLimit;
110
const
G4double
lowerLimit;
111
const
G4int
maxA;
112
};
114
//
115
#endif
Generated on Sat May 25 2013 14:32:56 for Geant4 by
1.8.4