STIR 6.5.0
ProjDataInfoBlocksOnCylindricalNoArcCorr.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2017, ETH Zurich, Institute of Particle Physics and Astrophysics
4 This file is part of STIR.
5
6 SPDX-License-Identifier: Apache-2.0
7
8 See STIR/LICENSE.txt for details
9*/
10
21#ifndef __stir_ProjDataInfoBlocksOnCylindricalNoArcCorr_H__
22#define __stir_ProjDataInfoBlocksOnCylindricalNoArcCorr_H__
23
25
26START_NAMESPACE_STIR
27
28class Succeeded;
29class ProjDataInfoTests;
30class BlocksTests;
31
43{
44private:
45 typedef ProjDataInfoGenericNoArcCorr base_type;
46#ifdef STIR_COMPILING_SWIG_WRAPPER
47 // SWIG needs this typedef to be public
48public:
49#endif
51
52public:
55
57 ProjDataInfoBlocksOnCylindricalNoArcCorr(const shared_ptr<Scanner> scanner_ptr,
58 const VectorWithOffset<int>& num_axial_pos_per_segment,
59 const VectorWithOffset<int>& min_ring_diff_v,
60 const VectorWithOffset<int>& max_ring_diff_v,
61 const int num_views,
62 const int num_tangential_poss,
63 const int tof_mash_factor = 0);
64
65 self_type* clone() const override;
66
67 bool operator==(const self_type&) const;
68
69 std::string parameter_info() const override;
70
71private:
73
74 Succeeded find_scanner_coordinates_given_cartesian_coordinates(int& det1,
75 int& det2,
76 int& ring1,
77 int& ring2,
79 const CartesianCoordinate3D<float>& c2) const override;
81 // give test classes access to the private members
82 friend class ProjDataInfoTests;
83 friend class BlocksTests;
84
85private:
86 bool blindly_equals(const root_type* const) const override;
87};
88
89END_NAMESPACE_STIR
90
91#endif
Declaration of class stir::ProjDataInfoGenericNoArcCorr.
a templated class for 3-dimensional coordinates.
Definition CartesianCoordinate3D.h:53
self_type * clone() const override
Standard trick for a 'virtual copy-constructor'.
Definition ProjDataInfoBlocksOnCylindricalNoArcCorr.cxx:62
std::string parameter_info() const override
Return a string describing the object.
Definition ProjDataInfoBlocksOnCylindricalNoArcCorr.cxx:84
ProjDataInfoBlocksOnCylindricalNoArcCorr()
Default constructor (leaves object in ill-defined state).
Definition ProjDataInfoBlocksOnCylindricalNoArcCorr.cxx:41
ProjDataInfoGenericNoArcCorr()
Default constructor (leaves object in ill-defined state).
Definition ProjDataInfoGenericNoArcCorr.cxx:38
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
A templated class for vectors, but with indices starting not from 0.
Definition VectorWithOffset.h:65