Geant4-11
source
processes
hadronic
models
radioactive_decay
include
G4RadioactiveDecayChainsFromParent.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 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
"
60
#include "
G4RadioactiveDecayRatesToDaughter.hh
"
61
#include <vector>
62
63
typedef
std::vector<G4RadioactiveDecayRatesToDaughter>
G4RadioactiveDecayRates
;
64
65
class
G4RadioactiveDecayChainsFromParent
66
{
67
public
:
68
G4RadioactiveDecayChainsFromParent
();
69
virtual
~G4RadioactiveDecayChainsFromParent
();
70
71
G4RadioactiveDecayChainsFromParent
(
const
G4RadioactiveDecayChainsFromParent
&);
72
G4RadioactiveDecayChainsFromParent
&
operator=
(
const
G4RadioactiveDecayChainsFromParent
&);
73
74
// equality operators
75
G4bool
operator==
(
const
G4RadioactiveDecayChainsFromParent
& right)
const
76
{
return
(
this
== &right);}
77
G4bool
operator!=
(
const
G4RadioactiveDecayChainsFromParent
& right)
const
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
:
93
G4String
ionName
;
94
G4RadioactiveDecayRates
itsRates
;
95
96
};
97
#endif
98
G4RadioactiveDecayRates
std::vector< G4RadioactiveDecayRatesToDaughter > G4RadioactiveDecayRates
Definition:
G4Radioactivation.hh:51
G4RadioactiveDecayRates
std::vector< G4RadioactiveDecayRatesToDaughter > G4RadioactiveDecayRates
Definition:
G4RadioactiveDecayChainsFromParent.hh:63
G4RadioactiveDecayRatesToDaughter.hh
G4bool
bool G4bool
Definition:
G4Types.hh:86
G4ios.hh
G4RadioactiveDecayChainsFromParent
Definition:
G4RadioactiveDecayChainsFromParent.hh:66
G4RadioactiveDecayChainsFromParent::SetIonName
void SetIonName(G4String name)
Definition:
G4RadioactiveDecayChainsFromParent.hh:83
G4RadioactiveDecayChainsFromParent::GetItsRates
G4RadioactiveDecayRates GetItsRates() const
Definition:
G4RadioactiveDecayChainsFromParent.hh:87
G4RadioactiveDecayChainsFromParent::G4RadioactiveDecayChainsFromParent
G4RadioactiveDecayChainsFromParent()
Definition:
G4RadioactiveDecayChainsFromParent.cc:30
G4RadioactiveDecayChainsFromParent::operator=
G4RadioactiveDecayChainsFromParent & operator=(const G4RadioactiveDecayChainsFromParent &)
Definition:
G4RadioactiveDecayChainsFromParent.cc:43
G4RadioactiveDecayChainsFromParent::ionName
G4String ionName
Definition:
G4RadioactiveDecayChainsFromParent.hh:93
G4RadioactiveDecayChainsFromParent::operator!=
G4bool operator!=(const G4RadioactiveDecayChainsFromParent &right) const
Definition:
G4RadioactiveDecayChainsFromParent.hh:77
G4RadioactiveDecayChainsFromParent::operator==
G4bool operator==(const G4RadioactiveDecayChainsFromParent &right) const
Definition:
G4RadioactiveDecayChainsFromParent.hh:75
G4RadioactiveDecayChainsFromParent::GetIonName
G4String GetIonName() const
Definition:
G4RadioactiveDecayChainsFromParent.hh:82
G4RadioactiveDecayChainsFromParent::SetItsRates
void SetItsRates(G4RadioactiveDecayRates arate)
Definition:
G4RadioactiveDecayChainsFromParent.hh:90
G4RadioactiveDecayChainsFromParent::itsRates
G4RadioactiveDecayRates itsRates
Definition:
G4RadioactiveDecayChainsFromParent.hh:94
G4RadioactiveDecayChainsFromParent::~G4RadioactiveDecayChainsFromParent
virtual ~G4RadioactiveDecayChainsFromParent()
Definition:
G4RadioactiveDecayChainsFromParent.cc:53
G4String
Definition:
G4String.hh:62
globals.hh
G4InuclParticleNames::name
const char * name(G4int ptype)
Definition:
G4InuclParticleNames.hh:76
Generated by
1.9.3