ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RadioactiveDecayChainsFromParent.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RadioactiveDecayChainsFromParent.hh
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 G4RadioactiveDecayChainsFromParent_h
27 #define G4RadioactiveDecayChainsFromParent_h 1
28 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29 //
30 // MODULE: RadioactiveDecayRateVector.hh
31 // renamed as G4RadioactiveDecayChainsFromParent.hh (D.H. wright 6 Oct 2017)
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 //
51 // //
52 // This class contains the decay times and coefficients for calculating //
53 // all the descendants in the decay chains of the named isotope. These //
54 // data can be used to calculate their radioactivity at any given time. //
55 // //
57 
58 #include "G4ios.hh"
59 #include "globals.hh"
61 #include <vector>
62 
63 typedef std::vector<G4RadioactiveDecayRatesToDaughter> G4RadioactiveDecayRates;
64 
66 {
67  public:
70 
73 
74  // equality operators
76  {return (this == &right);}
78  {return (this != &right);}
79 
80  public:
81 
82  inline G4String GetIonName() const {return ionName;}
83  inline void SetIonName(G4String name) {ionName = name;}
84 
85  // Retrieve the coefficients and decays of all descendants along the
86  // decay chains
87  inline G4RadioactiveDecayRates GetItsRates() const {return itsRates;}
88 
89  // Fill in the coefficients and decay times in the chains
90  inline void SetItsRates(G4RadioactiveDecayRates arate) {itsRates = arate;}
91 
92 protected:
95 
96 };
97 #endif
98