17#ifndef __stir_listmode_CListRecordLMF_H__
18#define __stir_listmode_CListRecordLMF_H__
27class CListModeDataLMF;
35 inline bool is_prompt()
const {
return true; }
36 inline Succeeded set_prompt(
const bool prompt =
true)
60 inline unsigned long get_time_in_millisecs()
const {
return time; }
61 inline Succeeded set_time_in_millisecs(
const unsigned long time_in_millisecs)
86 bool is_time()
const {
return is_time_flag ==
true; }
87 bool is_event()
const {
return is_time_flag ==
false; }
89 virtual const CListEvent& event()
const {
return *
this; }
90 virtual ListTime& time() {
return *
this; }
91 virtual const ListTime& time()
const {
return *
this; }
96 inline double get_time_in_secs()
const {
return time_data.get_time_in_secs(); }
97 inline Succeeded set_time_in_secs(
const double time_in_secs) {
return time_data.set_time_in_secs(time_in_secs); }
98 inline unsigned int get_gating()
const {
return time_data.get_gating(); }
99 inline Succeeded set_gating(
unsigned int g) {
return time_data.set_gating(g); }
102 inline bool is_prompt()
const {
return event_data.is_prompt(); }
Declarations of classes stir::CListRecord, and stir::CListEvent which are used for list mode data.
defines the stir::CartesianCoordinate3D<coordT> class
Declaration of class stir::ProjDataInfoCylindrical.
Declaration of class stir::Succeeded.
Class for storing and using a coincidence event from a listmode file.
Definition CListRecordLMF.h:33
Class for storing and using a coincidence event from a list mode file.
Definition CListRecord.h:53
A class that reads the listmode data from an LMF file.
Definition CListModeDataLMF.h:35
A class for a general element of a listmode file.
Definition CListRecordLMF.h:79
Succeeded set_prompt(const bool prompt=true)
Changes the event from prompt to delayed or vice versa.
Definition CListRecordLMF.h:103
Class for records in a PET list mode file.
Definition CListRecord.h:67
A class for storing and using a timing 'event' from a listmode file.
Definition CListRecordLMF.h:58
a templated class for 3-dimensional coordinates.
Definition CartesianCoordinate3D.h:53
A class for LORs.
Definition LORCoordinates.h:296
A class for storing and using a timing record from a listmode file.
Definition ListTime.h:47
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44