G4RadioactiveDecayRate.hh

Go to the documentation of this file.
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 G4RadioactiveDecayRate_h
00027 #define G4RadioactiveDecayRate_h 1
00028 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00029 //
00030 // MODULE:              RadioactiveDecayRate.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 February 2000, P R Truscott, DERA UK
00045 // 0.b.3 release.
00046 //
00047 // 13 April 2000, F Lei, DERA UK
00048 // 0.b.4 release. No change to this file     
00049 //
00050 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00052 //
00053 #include "G4ios.hh"
00054 #include "globals.hh"
00055 
00056 #include <vector>
00058 //
00059 class G4RadioactiveDecayRate
00060 {
00061   // class description
00062   // This class contains the coefficient and decay times of the
00063   // progeny of a give isotope (A,Z,E).
00064   //
00065   // class description - end
00066 public:
00067   // Constructors
00068   G4RadioactiveDecayRate();
00069 
00070   //  Destructor
00071   virtual ~G4RadioactiveDecayRate();
00072 
00073 public:
00074   //  copy constructor and assignment operator
00075   G4RadioactiveDecayRate(const G4RadioactiveDecayRate &);
00076   G4RadioactiveDecayRate & operator=(const G4RadioactiveDecayRate &);
00077 
00078 public:
00079   // equality operators
00080   G4int operator==(const G4RadioactiveDecayRate &right) const
00081     {return (this == &right);};
00082   G4int operator!=(const G4RadioactiveDecayRate &right) const
00083     {return (this != &right);};
00084 
00085   // less-than operator is defined for G4DecayTable
00086   // G4int operator<(const G4RadioactiveDecayRate &right) const;
00087 
00088 public: // with description
00089   //
00090   // the inline member functions are self explanatory.
00091   //
00092   inline G4int GetZ() const {return Z;}
00093   inline G4int GetA() const { return A;}
00094   inline G4double GetE() const { return E;}
00095   inline G4int GetGeneration() const { return generation;}
00096   inline std::vector<G4double> GetDecayRateC() const
00097    {  return decayRateC; }
00098   inline std::vector<G4double> GetTaos() const {  return taos; }
00099 
00100   inline void SetZ(G4int value) {Z = value;}
00101   inline void SetA(G4int value) {A = value;}
00102   inline void SetE(G4double value) {E = value;}
00103   inline void SetGeneration(G4int value) {generation = value;}
00104   inline void SetDecayRateC(std::vector<G4double> value)
00105     {decayRateC = value;}
00106   inline void SetTaos(std::vector<G4double> value) {taos = value;}
00107 
00108 protected:
00109 
00110   G4int                   Z;
00111   G4int                   A;
00112   G4double                E;
00113   G4int                   generation;
00114   std::vector<G4double> decayRateC;
00115   std::vector<G4double> taos;
00116 
00117 public:
00118 
00119   inline void  SetVerboseLevel(G4int value)
00120     { verboseLevel = value; }
00121   inline G4int GetVerboseLevel() const
00122     { return verboseLevel; }
00123   void  DumpInfo();
00124 
00125 private:
00126   G4int verboseLevel;
00127   // control flag for output message
00128   // G4int verboseLevel;
00129   //  0: Silent
00130   //  1: Warning message
00131   //  2: More
00132 
00133 };
00134 #endif

Generated on Mon May 27 17:49:41 2013 for Geant4 by  doxygen 1.4.7