Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RadioactiveDecayRateVector.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 #ifndef G4RadioactiveDecayRateVector_h
27 #define G4RadioactiveDecayRateVector_h 1
28 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29 //
30 // MODULE: RadioactiveDecayRateVector.hh
31 //
32 // Version: 0.b.4
33 // Date: 14/04/00
34 // Author: F Lei & P R Truscott
35 // Organisation: DERA UK
36 // Customer: ESA/ESTEC, NOORDWIJK
37 // Contract: 12115/96/JG/NL Work Order No. 3
38 //
39 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40 //
41 // CHANGE HISTORY
42 // --------------
43 //
44 // 29 February 2000, P R Truscott, DERA UK
45 // 0.b.3 release.
46 //
47 // 13 April 2000, F Lei, DERA UK
48 // 0.b.4 release. No change to this file
49 //
50 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
51 ////////////////////////////////////////////////////////////////////////////////
52 //
53 #include "G4ios.hh"
54 #include "globals.hh"
56 
57 #include <vector>
58 ////////////////////////////////////////////////////////////////////////////////
59 //
61 {
62  // class description
63  // This class contains the decay times and coefficients for calculating
64  // all the descendants of the named isotope. These data can be used to
65  // calculate their radioactivity at any given time
66  // class description - end
67 public:
68  typedef std::vector<G4RadioactiveDecayRate> G4RadioactiveDecayRates;
69 
70 public:
71  //Constructors
73 
74  // Destructor
76 
77 public:
78  // copy constructor and assignment operatotr
82 
83 public:
84  // equality operators
86  {return (this == &right);}
88  {return (this != &right);}
89 
90 public: // with description
91 
92  inline G4String GetIonName() const {return ionName;}
93  //
94  // To retrieve the name of the isotope.
95  inline G4RadioactiveDecayRates GetItsRates() const {return itsRates; }
96  //
97  // To retrieve the coefficients and decays of all its descendants along the
98  // decay chain.
99  inline void SetIonName(G4String name) {ionName = name;}
100  //
101  // To set the name of the isotope.
102  inline void SetItsRates(G4RadioactiveDecayRates arate) {itsRates = arate;}
103  //
104  // To fill the coefficient and decay time table
105 
106 protected:
107 
110 
111 };
112 #endif
113 
G4int operator!=(const G4RadioactiveDecayRateVector &right) const
const XML_Char * name
int G4int
Definition: G4Types.hh:78
G4RadioactiveDecayRates GetItsRates() const
std::vector< G4RadioactiveDecayRate > G4RadioactiveDecayRates
void SetItsRates(G4RadioactiveDecayRates arate)
G4RadioactiveDecayRateVector & operator=(const G4RadioactiveDecayRateVector &)
G4int operator==(const G4RadioactiveDecayRateVector &right) const