STIR  6.2.0
ParallelprojHelper.h
Go to the documentation of this file.
1 //
2 //
12 /*
13  Copyright (C) 2021 University College London
14  This file is part of STIR.
15 
16  SPDX-License-Identifier: Apache-2.0
17 
18  See STIR/LICENSE.txt for details
19 */
20 #ifndef __stir_recon_buildblock_ParallelprojHelper_h__
21 #define __stir_recon_buildblock_ParallelprojHelper_h__
22 
23 #include "stir/common.h"
24 #include <vector>
25 #include <array>
26 
27 START_NAMESPACE_STIR
28 
29 template <int num_dimensions, class elemT>
30 class DiscretisedDensity;
31 class ProjDataInfo;
32 
33 namespace detail
34 {
41 {
42 public:
44  ParallelprojHelper(const ProjDataInfo& p_info, const DiscretisedDensity<3, float>& density);
45 
46  // parallelproj arrays
47  std::array<float, 3> voxsize;
48  std::array<int, 3> imgdim;
49  std::array<float, 3> origin;
50  std::vector<float> xstart;
51  std::vector<float> xend;
52 
53  long long num_image_voxel;
54  long long num_lors;
55 
56  float sigma_tof;
57  float tofcenter_offset;
58  float tofbin_width;
59  short num_tof_bins;
60 };
61 
62 } // namespace detail
63 
64 END_NAMESPACE_STIR
65 
66 #endif // __stir_recon_buildblock_ParallelprojHelper_h__
basic configuration include file
Helper class for Parallelproj&#39;s projectors.
Definition: ParallelprojHelper.h:40
An (abstract base) class that contains information on the projection data.
Definition: ProjDataInfo.h:69