21 #ifndef __stir_recon_buildblock_BinNormalisation_H__ 22 #define __stir_recon_buildblock_BinNormalisation_H__ 31 template <
typename elemT>
32 class RelatedViewgrams;
36 class DataSymmetriesForViewSegmentNumbers;
58 void set_defaults()
override;
59 virtual float get_calibration_factor()
const {
return -1; }
78 virtual Succeeded set_up(
const shared_ptr<const ExamInfo>& exam_info_sptr,
const shared_ptr<const ProjDataInfo>&);
86 virtual float get_bin_efficiency(
const Bin& bin)
const = 0;
121 shared_ptr<DataSymmetriesForViewSegmentNumbers> = shared_ptr<DataSymmetriesForViewSegmentNumbers>())
const;
134 void undo(
ProjData&, shared_ptr<DataSymmetriesForViewSegmentNumbers> = shared_ptr<DataSymmetriesForViewSegmentNumbers>())
const;
136 void set_exam_info_sptr(
const shared_ptr<const ExamInfo> _exam_info_sptr);
138 shared_ptr<const ExamInfo> get_exam_info_sptr()
const;
146 virtual void check(
const ProjDataInfo& proj_data_info)
const;
148 virtual void check(
const ExamInfo& exam_info)
const;
149 bool _already_set_up;
150 shared_ptr<const ProjDataInfo> proj_data_info_sptr;
153 shared_ptr<const ExamInfo> exam_info_sptr;
This file declares a deprecation macro.
virtual bool is_trivial() const
check if we would be multiplying with 1 (i.e. do nothing)
Definition: BinNormalisation.h:66
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
Abstract base class for implementing bin-wise normalisation of data.
Definition: BinNormalisation.h:51
Declaration of class stiir::RegisteredObject.
A class for storing coordinates and value of a single projection bin.
Definition: Bin.h:48
Declaration of class stir::Bin.
virtual bool is_TOF_only_norm() const
returns if the object can only handle TOF data
Definition: BinNormalisation.h:74
Helper class to provide registry mechanisms to a Base classSuppose you have a hierarchy of classes wi...
Definition: RegisteredObject.h:95
a class for storing information about 1 exam (or scan)
Definition: ExamInfo.h:41
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
The (abstract) base class for the projection data.
Definition: ProjData.h:103