STIR 6.4.0
InputStreamFromROOTFileForECATPET.inl
1/*
2 Copyright (C) 2016, UCL
3 This file is part of STIR.
4
5 SPDX-License-Identifier: Apache-2.0
6
7 See STIR/LICENSE.txt for details
8*/
9
10START_NAMESPACE_STIR
11
12int
14{
15 return this->block_repeater_z * this->crystal_repeater_z;
16}
17
18int
20{
21 return this->block_repeater_y * this->crystal_repeater_y;
22}
23
24int
26{
27 return this->block_repeater_z;
28}
29
30int
32{
33 return this->block_repeater_y;
34}
35
36int
38{
39 return this->crystal_repeater_z;
40}
41
42int
44{
45 return this->crystal_repeater_y;
46}
47
48void
49InputStreamFromROOTFileForECATPET::set_block_repeater_y(int val)
50{
51 block_repeater_y = val;
52}
53
54void
55InputStreamFromROOTFileForECATPET::set_block_repeater_z(int val)
56{
57 block_repeater_z = val;
58}
59
60END_NAMESPACE_STIR
int get_num_transaxial_blocks_per_bucket_v() const override
Get the number of transaxial blocks.
Definition InputStreamFromROOTFileForECATPET.inl:31
int get_num_trans_crystals_per_singles_unit() const override
Get the number of crystals per block.
Definition InputStreamFromROOTFileForECATPET.inl:43
int get_num_rings() const override
Calculate the number of rings based on the crystals and blocks.
Definition InputStreamFromROOTFileForECATPET.inl:13
int get_num_axial_blocks_per_bucket_v() const override
Get the number of axial blocks.
Definition InputStreamFromROOTFileForECATPET.inl:25
int get_num_dets_per_ring() const override
Calculate the number of detectors per ring based on the crystals blocks.
Definition InputStreamFromROOTFileForECATPET.inl:19
int get_num_axial_crystals_per_singles_unit() const override
Get the number of crystals per block.
Definition InputStreamFromROOTFileForECATPET.inl:37