20#ifndef __stir_recon_buildblock_BinNormalisationPETFromComponents_H__
21#define __stir_recon_buildblock_BinNormalisationPETFromComponents_H__
77 using base_type = BinNormalisation;
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;
121 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);
129 DetectorEfficiencies& crystal_efficiencies()
133 GeoData3D& geometric_factors()
137 BlockData3D& block_factors()
144 void set_defaults()
override;
147 DetectorEfficiencies efficiencies;
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();
Declaration of class stir::BinNormalisation.
Preliminary things for ML normalisation factor estimation.
Declaration of class stir::ProjData.
A BinNormalisation class that uses component-based normalisation for PET.
Definition BinNormalisationPETFromComponents.h:75
BinNormalisationPETFromComponents()
Default constructor.
Definition BinNormalisationPETFromComponents.cxx:46
std::string get_registered_name() const override
Returns the name of the type of the object.
Definition BinNormalisationPETFromComponents.h:83
A class for storing coordinates and value of a single projection bin.
Definition Bin.h:49
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...