00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 #ifndef G4RadioactivityTable_h 00027 #define G4RadioactivityTable_h 1 00028 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00029 // 00030 // MODULE: G4RadioactivityTable.hh 00031 // 00032 // Version: 0.b.4 00033 // Date: 14/04/00 00034 // Author: F Lei & P R Truscott 00035 // Organisation: DERA UK 00036 // Customer: ESA/ESTEC, NOORDWIJK 00037 // Contract: 12115/96/JG/NL Work Order No. 3 00038 // 00039 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00040 // 00041 // CHANGE HISTORY 00042 // --------------. 00043 // 00044 // 29 October 2010, F Lei, QinetiQ, UK 00045 // First created 00046 // 00048 00049 #include "globals.hh" 00050 #include <map> 00051 #include "G4ThreeVector.hh" 00052 #include "G4TwoVector.hh" 00053 00054 using std::map; 00055 00056 00057 class G4RadioactivityTable 00058 { 00059 // class description 00060 // G4RadioactivityTable is the table of the radioactive isotopes and their 00061 // activities. It is used in the variance reduction mode to recorde the 00062 // induced radioactivity in the RDM sensitive volumes. 00063 // class description - end 00064 00065 public: 00066 // constructor 00067 // 00068 G4RadioactivityTable (); 00069 00070 // destructor 00071 virtual ~G4RadioactivityTable(); 00072 00073 // G4RadioactivityTable(const G4RadioactivityTable &right); 00074 00075 public: 00076 // with description 00077 // 00078 void AddIsotope( G4int, G4int, G4double, G4double, G4double); 00079 // Add an isotope (Z,A,E) of rate to the table. 00080 // 00081 G4TwoVector GetRate(G4int, G4int, G4double); 00082 // Get the rate of isotoe (Z,A,E) 00083 // 00084 G4int Entries() const; 00085 // Get the total number of isotope spieces in the table 00086 // 00087 map<G4ThreeVector,G4TwoVector>* GetTheMap(); 00088 // Return the stl map! Mainly for printing. 00089 // 00090 private: 00091 00092 map<G4ThreeVector,G4TwoVector> fRadioactivity; 00093 00094 }; 00095 00096 #endif 00097 00098 00099 00100 00101 00102