32 #ifndef __stir_listmode_CListModeDataSAFIR_H__ 33 #define __stir_listmode_CListModeDataSAFIR_H__ 59 template <
class CListRecordT>
69 const std::string& crystal_map_filename,
70 const std::string& template_proj_data_filename,
71 const double lor_randomization_sigma = 0.0);
72 CListModeDataSAFIR(
const std::string& listmode_filename,
const shared_ptr<const ProjDataInfo>& proj_data_info_sptr);
74 std::string get_name()
const override;
75 shared_ptr<CListRecord> get_empty_record_sptr()
const override;
94 std::string listmode_filename;
95 mutable shared_ptr<InputStreamWithRecords<CListRecordT, bool>> current_lm_data_ptr;
96 mutable std::vector<unsigned int> saved_get_positions;
98 shared_ptr<DetectorCoordinateMap> map;
The base class for reading PET (i.e. coincidence) list mode data.The only difference w...
Definition: CListModeData.h:50
Declaration of class stir::ProjDataInfo.
SavedPosition save_get_position() override
Definition: CListModeDataSAFIR.h:84
unsigned int SavedPosition
Use this typedef for save/set_get_position.
Definition: ListModeData.h:130
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
Declaration of class stir::ProjData.
Class for records in a PET list mode file.
Definition: CListRecord.h:66
Declaration of class stir::DetectorCoordinateMap.
Declaration of class stir::CListModeData.
Declaration of class stir::CListEventSAFIR and stir::CListRecordSAFIR with supporting classes...
bool has_delayeds() const override
Definition: CListModeDataSAFIR.h:91
Class for reading SAFIR listmode data with variable geometry.
Definition: CListModeDataSAFIR.h:60
Succeeded set_get_position(const SavedPosition &pos) override
Set the position for reading to a previously saved point.
Definition: CListModeDataSAFIR.h:85
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
Declarations of classes stir::CListRecord, and stir::CListEvent which are used for list mode data...