Geant4
10.02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
G4NucleusLimits.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 G4NucleusLimits_h
27
#define G4NucleusLimits_h 1
28
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29
//
30
// MODULE: G4NucleusLimits.hh
31
//
32
// Version: 0.b.4
33
// Date: 14/04/00
34
// Author: F Lei & P R Truscott
35
// Organisation: DERA UK
36
// Customer: ESA/ESTEC, NOORDWIJK
37
// Contract: 12115/96/JG/NL Work Order No. 3
38
//
39
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40
//
41
// CHANGE HISTORY
42
// --------------
43
//
44
// 29 February 2000, P R Truscott, DERA UK
45
// 0.b.3 release.
46
//
47
// 13 April 2000, F Lei, DERA UK
48
// 0.b.4 release. No change to this file
49
//
50
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
52
//
53
#include "
globals.hh
"
54
#include <iostream>
55
57
//
58
class
G4NucleusLimits
59
{
60
// class description
61
// The G4NucleusLimits class is used to contain information identifying a
62
// range bounded by A [aMin, aMax], and Z on [zMin, zMax].
63
//
64
// class description - end
65
66
public
:
// with description
67
G4NucleusLimits
();
68
// Default constructor where: aMin=1, aMax=240, aMin=1, and
69
// zMax=100.
70
//
71
G4NucleusLimits
72
(
G4int
aMin1,
G4int
aMax1,
G4int
zMin1,
G4int
zMax1);
73
// Constructor defining new values for aMin, aMax, zMin, and zMax
74
// respectively.
75
//
76
~G4NucleusLimits
();
77
// Destructor
78
79
private
:
80
G4int
aMin
;
81
G4int
aMax
;
82
G4int
zMin
;
83
G4int
zMax
;
84
85
//
86
//
87
// INLINE DECLARATIONS/DEFINTIONS:
88
//
89
public
:
// with description
90
91
inline
G4int
GetAMin
()
const
{
return
aMin
;}
92
// Returns the value of aMin.
93
//
94
inline
G4int
GetAMax
()
const
{
return
aMax
;}
95
// Returns the value of aMax.
96
//
97
inline
G4int
GetZMin
()
const
{
return
zMin
;}
98
// Returns the value of zMin.
99
//
100
inline
G4int
GetZMax
()
const
{
return
zMax
;}
101
// Return the value of zmax.
102
//
103
104
105
friend
std::ostream &
operator <<
(std::ostream &
s
,
const
G4NucleusLimits
&q);
106
107
};
109
#endif
110
G4NucleusLimits::aMax
G4int aMax
Definition:
G4NucleusLimits.hh:81
G4NucleusLimits::zMax
G4int zMax
Definition:
G4NucleusLimits.hh:83
G4NucleusLimits::~G4NucleusLimits
~G4NucleusLimits()
Definition:
G4NucleusLimits.cc:114
G4NucleusLimits::GetZMax
G4int GetZMax() const
Definition:
G4NucleusLimits.hh:100
G4int
int G4int
Definition:
G4Types.hh:78
G4NucleusLimits::GetAMin
G4int GetAMin() const
Definition:
G4NucleusLimits.hh:91
G4NucleusLimits::aMin
G4int aMin
Definition:
G4NucleusLimits.hh:80
s
static const double s
Definition:
G4SIunits.hh:168
G4NucleusLimits::GetAMax
G4int GetAMax() const
Definition:
G4NucleusLimits.hh:94
G4NucleusLimits::zMin
G4int zMin
Definition:
G4NucleusLimits.hh:82
globals.hh
G4NucleusLimits::operator<<
friend std::ostream & operator<<(std::ostream &s, const G4NucleusLimits &q)
Definition:
G4NucleusLimits.cc:118
G4NucleusLimits::G4NucleusLimits
G4NucleusLimits()
Definition:
G4NucleusLimits.cc:56
G4NucleusLimits
Definition:
G4NucleusLimits.hh:58
G4NucleusLimits::GetZMin
G4int GetZMin() const
Definition:
G4NucleusLimits.hh:97
geant4.10.02
source
processes
hadronic
models
radioactive_decay
include
G4NucleusLimits.hh
Generated on Thu Dec 31 2015 10:49:36 for Geant4 by
1.8.8