20 #ifndef __stir_recon_buildblock_BinNormalisationPETFromComponents_H__ 21 #define __stir_recon_buildblock_BinNormalisationPETFromComponents_H__ 95 bool is_trivial()
const override;
99 Succeeded set_up(
const shared_ptr<const ExamInfo>& exam_info_sptr,
const shared_ptr<const ProjDataInfo>&)
override;
102 using base_type::apply;
103 using base_type::undo;
117 float get_bin_efficiency(
const Bin& bin)
const override;
120 virtual shared_ptr<ProjData> get_norm_proj_data_sptr()
const;
127 allocate(shared_ptr<const ProjDataInfo>,
bool do_eff,
bool do_geo,
bool do_block =
false,
bool do_symmetry_per_block =
false);
133 GeoData3D& geometric_factors()
137 BlockData3D& block_factors()
144 void set_defaults()
override;
149 BlockData3D block_data;
153 bool has_crystal_efficiencies()
const;
154 bool has_geometric_factors()
const;
155 bool has_block_factors()
const;
159 static const char*
const registered_name;
160 shared_ptr<ProjDataInMemory> invnorm_proj_data_sptr;
161 bool _already_allocated;
163 void create_proj_data();
std::string get_registered_name() const override
Returns the name of the type of the object.
Definition: BinNormalisationPETFromComponents.h:83
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
Declaration of class stir::ProjData.
Declaration of class stir::BinNormalisation.
A BinNormalisation class that uses component-based normalisation for PET.
Definition: BinNormalisationPETFromComponents.h:74
Abstract base class for implementing bin-wise normalisation of data.
Definition: BinNormalisation.h:51
A class for storing coordinates and value of a single projection bin.
Definition: Bin.h:48
Preliminary things for ML normalisation factor estimation.
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43