00001 //---------------------------------------------------------------------------// 00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00003 // // 00004 // MAJORANA Simulation // 00005 // // 00006 // This code implementation is the intellectual property of the // 00007 // MAJORANA Collaboration. It is based on Geant4, an intellectual // 00008 // property of the RD44 GEANT4 collaboration. // 00009 // // 00010 // ********************* // 00011 // // 00012 // Neither the authors of this software system, nor their employing // 00013 // institutes, nor the agencies providing financial support for this // 00014 // work make any representation or warranty, express or implied, // 00015 // regarding this software system or assume any liability for its use. // 00016 // By copying, distributing or modifying the Program (or any work based // 00017 // on on the Program) you indicate your acceptance of this statement, // 00018 // and all its terms. // 00019 // // 00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00021 //---------------------------------------------------------------------------// 00032 // Begin description of class here 00038 // End class description 00039 // 00045 // 00046 // --------------------------------------------------------------------------// 00057 // --------------------------------------------------------------------------// 00058 00059 #ifndef MJGeneratorRDMNucleus_h 00060 #define MJGeneratorRDMNucleus_h 1 00061 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00062 // 00063 // MODULE: G4MJGeneratorRDMNucleus.hh 00064 // 00065 // Version: 0.b.3 00066 // Date: 29/02/00 00067 // Author: F Lei & P R Truscott 00068 // Organisation: DERA UK 00069 // Customer: ESA/ESTEC, NOORDWIJK 00070 // Contract: 12115/96/JG/NL Work Order No. 3 00071 // 00072 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00073 // 00074 // CHANGE HISTORY 00075 // -------------- 00076 // 00077 // 29 February 2000, P R Truscott, DERA UK 00078 // 0.b.3 release. 00079 // 00080 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00082 // 00083 #include "globals.hh" 00084 #include "iostream" 00086 // 00087 class MJGeneratorRDMNucleus 00088 { 00089 // class description 00090 // The G4MJGeneratorRDMNucleus class is used to contain information identifying an 00091 // isotope (a,z,e) 00092 // 00093 // class description - end 00094 public: // with description 00095 MJGeneratorRDMNucleus (); 00096 // Default constructor 00097 // 00098 MJGeneratorRDMNucleus (G4int a, G4int z, G4double e); 00099 // Constructor defining new isotope with A,Z.E 00100 // 00101 ~MJGeneratorRDMNucleus(); 00102 // Destructor 00103 00104 private: 00105 G4int a; 00106 G4int z; 00107 G4double e; 00108 00109 // 00110 // 00111 // INLINE DECLARATIONS/DEFINITIONS: 00112 // 00113 public: // with description 00114 inline G4int GetA () const {return a;} 00115 // Returns the value of a 00116 inline G4int GetZ () const {return z;} 00117 // Returns the value of z 00118 inline G4double GetE () const {return e;} 00119 // Returns the value of e 00120 00121 // 00122 // 00123 // DECLARATIONS OF FRIENDS OF THE CLASS. 00124 // 00125 friend std::ostream &operator << (std::ostream &s, const MJGeneratorRDMNucleus &q); 00126 00127 }; 00129 #endif 00130 00131 00132