Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:01

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 G4RadioactivityTable_h
0027 #define G4RadioactivityTable_h 1
0028 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0029 //
0030 // MODULE:              G4RadioactivityTable.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 October 2010, F Lei, QinetiQ, UK
0045 // First created     
0046 //
0047 ///////////////////////////////////////////////////////////////////////////////
0048 
0049 #include "globals.hh"
0050 #include <map>
0051 #include "G4ThreeVector.hh"
0052 #include "G4TwoVector.hh"
0053 
0054 using std::map;
0055 
0056 
0057 class G4RadioactivityTable
0058 {
0059   // class description
0060   // G4RadioactivityTable is the table of the radioactive isotopes and their
0061   // activities.  It is used in the variance reduction mode to recorde the 
0062   // induced radioactivity in the RDM sensitive volumes.
0063   // class description - end
0064 
0065 public:
0066   // constructor
0067   //
0068   G4RadioactivityTable ();
0069 
0070   // destructor
0071   virtual ~G4RadioactivityTable();
0072 
0073   //  G4RadioactivityTable(const  G4RadioactivityTable &right);
0074   
0075 public:
0076   // with description
0077   //
0078   void AddIsotope( G4int, G4int, G4double, G4double, G4double);
0079   // Add an isotope (Z,A,E) of rate to the table.
0080   //
0081   G4TwoVector GetRate(G4int, G4int, G4double);
0082   // Get the rate of isotoe (Z,A,E)
0083   //
0084   G4int Entries() const;
0085   // Get the total number of isotope spieces in the table
0086   //
0087   map<G4ThreeVector,G4TwoVector>*  GetTheMap();
0088   // Return the stl map! Mainly for printing.
0089   //
0090 private:
0091   
0092   map<G4ThreeVector,G4TwoVector> fRadioactivity;
0093   
0094 };
0095 
0096 #endif
0097 
0098 
0099 
0100 
0101 
0102