17#ifndef __stir_listmode_CListModeDataGEHDF5_H__
18#define __stir_listmode_CListModeDataGEHDF5_H__
45 std::string
get_name()
const override;
47 virtual std::time_t get_scan_start_time_in_secs_since_1970()
const;
67 std::string listmode_filename;
68 shared_ptr<InputStreamWithRecordsFromHDF5<CListRecordT>> current_lm_data_ptr;
69 unsigned long first_time_stamp;
70 unsigned long lm_duration_in_millisecs;
Declaration of class stir::CListModeData.
Classes for listmode records of GE RDF9 data.
The base class for reading PET (i.e. coincidence) list mode data.
Definition CListModeData.h:51
Class for records in a PET list mode file.
Definition CListRecord.h:67
Succeeded set_get_position(const SavedPosition &) override
Set the position for reading to a previously saved point.
Definition CListModeDataGEHDF5.cxx:120
Succeeded reset() override
Call this function if you want to re-start reading at the beginning.
Definition CListModeDataGEHDF5.cxx:108
bool has_delayeds() const override
returns false, as GEHDF5 listmode data does not store delayed events (and prompts)
Definition CListModeDataGEHDF5.h:61
CListModeDataGEHDF5(const std::string &listmode_filename)
Constructor taking a filename.
Definition CListModeDataGEHDF5.cxx:39
shared_ptr< CListRecord > get_empty_record_sptr() const override
Get a pointer to an empty record.
Definition CListModeDataGEHDF5.cxx:59
SavedPosition save_get_position() override
Save the current reading position.
Definition CListModeDataGEHDF5.cxx:114
std::string get_name() const override
Returns the name of the list mode data.
Definition CListModeDataGEHDF5.cxx:47
Succeeded get_next_record(CListRecord &record) const override
Gets the next record in the listmode sequence.
Definition CListModeDataGEHDF5.cxx:101
A class for a general element (or "record") of a GE RDF9 listmode file.
Definition CListRecordGEHDF5.h:196
unsigned int SavedPosition
Use this typedef for save/set_get_position.
Definition ListModeData.h:129
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...