Geant4-11
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//
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
66public: // with description
68 // Default constructor where: aMin=1, aMax=240, aMin=1, and
69 // zMax=100.
70 //
72 (G4int aMin1, G4int aMax1, G4int zMin1, G4int zMax1);
73 // Constructor defining new values for aMin, aMax, zMin, and zMax
74 // respectively.
75 //
77 // Destructor
78
79private:
84
85 //
86 //
87 // INLINE DECLARATIONS/DEFINTIONS:
88 //
89public: // 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
static constexpr double s
Definition: G4SIunits.hh:154
int G4int
Definition: G4Types.hh:85
friend std::ostream & operator<<(std::ostream &s, const G4NucleusLimits &q)
G4int GetZMax() const
G4int GetZMin() const
G4int GetAMin() const
G4int GetAMax() const