STIR 6.4.0
PlasmaSample.inl
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2005 - 2011, Hammersmith Imanet Ltd
5 This file is part of STIR.
6
7 SPDX-License-Identifier: Apache-2.0
8
9 See STIR/LICENSE.txt for details
10*/
19
20START_NAMESPACE_STIR
21
25
26PlasmaSample::PlasmaSample(const double sample_time, const float plasma_sample_counts, const float blood_sample_counts)
27{
28 PlasmaSample::set_time_in_s(sample_time);
29 PlasmaSample::set_blood_counts_in_kBq(blood_sample_counts);
30 PlasmaSample::set_plasma_counts_in_kBq(plasma_sample_counts);
31}
32
36
38void
40{
41 PlasmaSample::_time = time;
42}
43
45double
47{
48 return PlasmaSample::_time;
49}
50
52void
54{
55 PlasmaSample::_blood_counts = blood_counts;
56}
57
59float
61{
62 return PlasmaSample::_blood_counts;
63}
64
66void
68{
69 PlasmaSample::_plasma_counts = plasma_counts;
70}
71
73float
75{
76 return PlasmaSample::_plasma_counts;
77}
78
79END_NAMESPACE_STIR
void set_blood_counts_in_kBq(const float blood_counts)
set the blood counts of the sample
Definition PlasmaSample.inl:53
void set_time_in_s(const double time)
set the time of the sample
Definition PlasmaSample.inl:39
PlasmaSample()
default constructor
Definition PlasmaSample.inl:23
~PlasmaSample()
default destructor
Definition PlasmaSample.inl:34
double get_time_in_s() const
get the time of the sample
Definition PlasmaSample.inl:46
float get_plasma_counts_in_kBq() const
get the plasma counts of the sample
Definition PlasmaSample.inl:74
float get_blood_counts_in_kBq() const
get the blood counts of the sample
Definition PlasmaSample.inl:60
void set_plasma_counts_in_kBq(const float plasma_counts)
set the plasma counts of the sample
Definition PlasmaSample.inl:67