STIR  6.2.0
Radionuclide.h
Go to the documentation of this file.
1 
10 /*
11  Copyright (C) 2021 National Physical Laboratory
12  Copyright (C) 2021 University College London
13  This file is part of STIR.
14 
15  SPDX-License-Identifier: Apache-2.0
16 
17  See STIR/LICENSE.txt for details
18 */
19 #ifndef __stir_Radionuclide_H__
20 #define __stir_Radionuclide_H__
21 
22 #include "stir/ImagingModality.h"
23 #include "stir/info.h"
24 
25 START_NAMESPACE_STIR
34 {
35 public:
37 
38  Radionuclide();
39 
41  Radionuclide(const std::string& name, float energy, float branching_ratio, float half_life, ImagingModality modality);
42 
44  std::string get_name() const;
46 
47  float get_energy(bool check = true) const;
49 
50  float get_branching_ratio(bool check = true) const;
52 
53  float get_half_life(bool check = true) const;
55 
56  ImagingModality get_modality(bool check = true) const;
58 
59  std::string parameter_info() const;
60 
62  bool operator==(const Radionuclide& r) const;
63 
64 private:
65  std::string name;
66  float energy;
67  float branching_ratio;
68  float half_life;
69  ImagingModality modality;
70 };
71 
72 END_NAMESPACE_STIR
73 #endif //__stir_Radionuclide_H__
Declaration of class stir::ImagingModality.
A class for storing radionuclide information.
Definition: Radionuclide.h:33
Class for encoding the modality.
Definition: ImagingModality.h:34
Declaration of stir::info()