STIR 6.4.0
LmToProjDataWithMC.h
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2003- 2005, Hammersmith Imanet
5 For GE internal use only
6*/
17
18#ifndef __stir_listmode_LmToProjDataWithMC_H__
19#define __stir_listmode_LmToProjDataWithMC_H__
20
25
26START_NAMESPACE_STIR
27
34class LmToProjDataWithMC : public LmToProjData
35{
36public:
37 LmToProjDataWithMC(const char* const par_filename);
38
39 virtual void get_bin_from_event(Bin& bin, const CListEvent&) const;
40 void process_new_time_event(const ListTime& time_event) override;
41 Succeeded set_up() override;
42
43protected:
45 shared_ptr<RigidObject3DMotion> ro3d_ptr;
49 shared_ptr<AbsTimeInterval> _reference_abs_time_sptr;
50
51 void start_new_time_frame(const unsigned int new_frame_num) override;
52
53 void set_defaults() override;
54 void initialise_keymap() override;
55 bool post_processing() override;
56
57private:
58 RigidObject3DTransformation _transformation_to_reference_position;
59
60 RigidObject3DTransformation ro3dtrans; // actual motion for current_time
61};
62
63END_NAMESPACE_STIR
64
65#endif
Declaration of class stir::AbsTimeInterval.
defines the stir::CartesianCoordinate3D<coordT> class
Declaration of the stir::LmToProjData class which is used to bin listmode data to (3d) sinograms.
Declaration of class stir::RigidObject3DMotionFromPolaris.
A class for storing coordinates and value of a single projection bin.
Definition Bin.h:49
Class for storing and using a coincidence event from a list mode file.
Definition CListRecord.h:53
A class for storing and using a timing record from a listmode file.
Definition ListTime.h:47
void process_new_time_event(const ListTime &time_event) override
will be called after a new timing event is found in the file
Definition LmToProjDataWithMC.cxx:121
bool post_processing() override
This will be called at the end of the parsing.
Definition LmToProjDataWithMC.cxx:55
void set_defaults() override
Set defaults before parsing.
Definition LmToProjDataWithMC.cxx:27
Succeeded set_up() override
Perform various checks.
Definition LmToProjDataWithMC.cxx:61
void initialise_keymap() override
Initialise all keywords.
Definition LmToProjDataWithMC.cxx:36
void start_new_time_frame(const unsigned int new_frame_num) override
will be called when a new time frame starts
Definition LmToProjDataWithMC.cxx:105
bool reference_position_is_average_position_in_frame
switch between constant reference position, or one for each frame
Definition LmToProjDataWithMC.h:47
shared_ptr< AbsTimeInterval > _reference_abs_time_sptr
constant reference position (if used)
Definition LmToProjDataWithMC.h:49
shared_ptr< RigidObject3DMotion > ro3d_ptr
motion information
Definition LmToProjDataWithMC.h:45
LmToProjData(const char *const par_filename)
Constructor taking a filename for a parameter file.
Definition LmToProjData.cxx:485
Class to perform rigid object transformations in 3 dimensions.
Definition RigidObject3DTransformation.h:66
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44