20 #ifndef __stir_recon_buildblock_ChainedBinNormalisation_H__ 21 #define __stir_recon_buildblock_ChainedBinNormalisation_H__ 87 ChainedBinNormalisation(shared_ptr<BinNormalisation>
const& apply_first, shared_ptr<BinNormalisation>
const& apply_second);
91 Succeeded set_up(
const shared_ptr<const ExamInfo>& exam_info_sptr,
const shared_ptr<const ProjDataInfo>&)
override;
94 using base_type::apply;
95 using base_type::undo;
103 virtual void apply(
ProjData&)
const override;
108 virtual void apply_only_first(
ProjData&)
const;
112 virtual void apply_only_second(
ProjData&)
const;
120 virtual void undo(
ProjData&)
const override;
125 virtual void undo_only_first(
ProjData&)
const;
129 virtual void undo_only_second(
ProjData&)
const;
131 float get_bin_efficiency(
const Bin& bin)
const override;
135 virtual bool is_first_trivial()
const;
138 virtual bool is_second_trivial()
const;
144 virtual bool is_TOF_only_norm()
const override;
146 virtual shared_ptr<BinNormalisation> get_first_norm()
const;
148 virtual shared_ptr<BinNormalisation> get_second_norm()
const;
151 shared_ptr<BinNormalisation> apply_first;
152 shared_ptr<BinNormalisation> apply_second;
154 void set_defaults()
override;
155 void initialise_keymap()
override;
156 bool post_processing()
override;
static const char *const registered_name
Name which will be used when parsing a BinNormalisation object.
Definition: ChainedBinNormalisation.h:77
Declaration of class stir::BinNormalisation.
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
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
A BinNormalisation class that simply multiplies the factors given by 2 BinNormalisation objects...
Definition: ChainedBinNormalisation.h:70
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
Declaration of class stir::RegisteredParsingObject.
The (abstract) base class for the projection data.
Definition: ProjData.h:103