STIR  6.2.0
ProjDataInfoBlocksOnCylindricalNoArcCorr.h
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2000- 2011-06-24, Hammersmith Imanet Ltd
4  Copyright (C) 2011-07-01 - 2011, Kris Thielemans
5  Copyright (C) 2017, ETH Zurich, Institute of Particle Physics and Astrophysics
6  This file is part of STIR.
7 
8  SPDX-License-Identifier: Apache-2.0
9 
10  See STIR/LICENSE.txt for details
11 */
12 
23 #ifndef __stir_ProjDataInfoBlocksOnCylindricalNoArcCorr_H__
24 #define __stir_ProjDataInfoBlocksOnCylindricalNoArcCorr_H__
25 
30 #include "stir/VectorWithOffset.h"
32 
33 START_NAMESPACE_STIR
34 
35 class Succeeded;
74 {
75 private:
77 #ifdef SWIG
78  // SWIG needs this typedef to be public
79  public:
80 #endif
82 
83 public:
86 
88  ProjDataInfoBlocksOnCylindricalNoArcCorr(const shared_ptr<Scanner> scanner_ptr,
89  const VectorWithOffset<int>& num_axial_pos_per_segment,
90  const VectorWithOffset<int>& min_ring_diff_v,
91  const VectorWithOffset<int>& max_ring_diff_v,
92  const int num_views,
93  const int num_tangential_poss);
94 
95  ProjDataInfo* clone() const override;
96 
97  bool operator==(const self_type&) const;
98 
99  std::string parameter_info() const override;
100 
102 
103  Succeeded find_scanner_coordinates_given_cartesian_coordinates(int& det1,
104  int& det2,
105  int& ring1,
106  int& ring2,
108  const CartesianCoordinate3D<float>& c2) const;
109 
110  void find_bin_given_cartesian_coordinates_of_detection(Bin& bin,
111  const CartesianCoordinate3D<float>& coord_1,
112  const CartesianCoordinate3D<float>& coord_2) const;
114 
115 private:
116  bool blindly_equals(const root_type* const) const override;
117 };
118 
119 END_NAMESPACE_STIR
120 
121 #endif
Projection data info for data for a scanner with discrete detectors.
Definition: ProjDataInfoGenericNoArcCorr.h:70
Declaration of class stir::ProjDataInfoBlocksOnCylindrical.
Projection data info for data from a scanner with discrete dtectors organised by blocks.
Definition: ProjDataInfoBlocksOnCylindricalNoArcCorr.h:73
A class for storing coordinates and value of a single projection bin.
Definition: Bin.h:48
defines the stir::VectorWithOffset class
Declaration of class stir::GeometryBlocksOnCylindrical.
Declaration of class stir::ProjDataInfoGenericNoArcCorr.
An (abstract base) class that contains information on the projection data.
Definition: ProjDataInfo.h:69
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
defines the stir::CartesianCoordinate3D<coordT> class
Declaration of class stir::DetectionPositionPair.