|
||||
File indexing completed on 2025-01-18 09:58:45
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 #ifndef G4NucleusLimits_h 0027 #define G4NucleusLimits_h 1 0028 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0029 // 0030 // MODULE: G4NucleusLimits.hh 0031 // 0032 // Version: 0.b.4 0033 // Date: 14/04/00 0034 // Author: F Lei & P R Truscott 0035 // Organisation: DERA UK 0036 // Customer: ESA/ESTEC, NOORDWIJK 0037 // Contract: 12115/96/JG/NL Work Order No. 3 0038 // 0039 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0040 // 0041 // CHANGE HISTORY 0042 // -------------- 0043 // 0044 // 29 February 2000, P R Truscott, DERA UK 0045 // 0.b.3 release. 0046 // 0047 // 13 April 2000, F Lei, DERA UK 0048 // 0.b.4 release. No change to this file 0049 // 0050 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0051 //////////////////////////////////////////////////////////////////////////////// 0052 // 0053 #include "globals.hh" 0054 #include <iostream> 0055 0056 //////////////////////////////////////////////////////////////////////////////// 0057 // 0058 class G4NucleusLimits 0059 { 0060 // class description 0061 // The G4NucleusLimits class is used to contain information identifying a 0062 // range bounded by A [aMin, aMax], and Z on [zMin, zMax]. 0063 // 0064 // class description - end 0065 0066 public: // with description 0067 G4NucleusLimits (); 0068 // Default constructor where: aMin=1, aMax=240, aMin=1, and 0069 // zMax=100. 0070 // 0071 G4NucleusLimits 0072 (G4int aMin1, G4int aMax1, G4int zMin1, G4int zMax1); 0073 // Constructor defining new values for aMin, aMax, zMin, and zMax 0074 // respectively. 0075 // 0076 ~G4NucleusLimits(); 0077 // Destructor 0078 0079 private: 0080 G4int aMin; 0081 G4int aMax; 0082 G4int zMin; 0083 G4int zMax; 0084 0085 // 0086 // 0087 // INLINE DECLARATIONS/DEFINTIONS: 0088 // 0089 public: // with description 0090 0091 inline G4int GetAMin () const {return aMin;} 0092 // Returns the value of aMin. 0093 // 0094 inline G4int GetAMax () const {return aMax;} 0095 // Returns the value of aMax. 0096 // 0097 inline G4int GetZMin () const {return zMin;} 0098 // Returns the value of zMin. 0099 // 0100 inline G4int GetZMax () const {return zMax;} 0101 // Return the value of zmax. 0102 // 0103 0104 0105 friend std::ostream &operator << (std::ostream &s, const G4NucleusLimits &q); 0106 0107 }; 0108 //////////////////////////////////////////////////////////////////////////////// 0109 #endif 0110
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |