STIR
6.2.0
|
A class for a general element of a listmode file. More...
#include "stir_experimental/listmode/CListRecordLMF.h"
Public Member Functions | |
CListRecordLMF & | operator= (const CListEventDataLMF &event) |
bool | is_time () const |
bool | is_event () const |
virtual CListEvent & | event () |
virtual const CListEvent & | event () const |
virtual ListTime & | time () |
virtual const ListTime & | time () const |
bool | operator== (const CListRecord &e2) const |
double | get_time_in_secs () const |
Succeeded | set_time_in_secs (const double time_in_secs) |
unsigned int | get_gating () const |
Succeeded | set_gating (unsigned int g) |
bool | is_prompt () const |
Succeeded | set_prompt (const bool prompt=true) |
Changes the event from prompt to delayed or vice versa. More... | |
Public Member Functions inherited from stir::ListTime | |
virtual unsigned long | get_time_in_millisecs () const =0 |
double | get_time_in_secs () const |
virtual Succeeded | set_time_in_millisecs (const unsigned long time_in_millisecs)=0 |
Succeeded | set_time_in_secs (const double time_in_secs) |
Public Member Functions inherited from stir::ListEvent | |
virtual LORAs2Points< float > | get_LOR () const =0 |
Finds the LOR between the coordinates where the detection took place. More... | |
virtual void | get_bin (Bin &bin, const ProjDataInfo &) const |
Finds the bin coordinates of this event for some characteristics of the projection data. More... | |
virtual bool | is_valid_template (const ProjDataInfo &) const =0 |
This method checks if the template is valid for LmToProjData. More... | |
Friends | |
class | CListModeDataLMF |
A class for a general element of a listmode file.
I really have no clue how time info is handled in LMF. At the moment, I store both time and CListEvent info in one CListRecordLMF. That's obviously not necessary nor desirable.
|
inlinevirtual |
Changes the event from prompt to delayed or vice versa.
Default implementation just returns Succeeded::no.
Reimplemented from stir::CListEvent.