STIR
6.2.0
|
Class for general SAFIR record, containing a union of data, time and raw record and providing access to certain elements. More...
#include "stir/listmode/CListRecordSAFIR.h"
Public Member Functions | |
DataType | get_data () const |
Returns event_data (without checking if the type is really event and not time). | |
bool | is_time () const override |
bool | is_event () const override |
CListEvent & | event () override |
const CListEvent & | event () const override |
virtual CListEventSAFIR< CListRecordSAFIR< DataType > > & | event_SAFIR () |
virtual const CListEventSAFIR< CListRecordSAFIR< DataType > > & | event_SAFIR () const |
ListTime & | time () override |
const ListTime & | time () const override |
virtual bool | operator== (const CListRecord &e2) const |
unsigned long | get_time_in_millisecs () const override |
Succeeded | set_time_in_millisecs (const unsigned long time_in_millisecs) override |
bool | is_prompt () const override |
Succeeded | init_from_data_ptr (const char *const data_ptr, const std::size_t size_of_record, const bool do_byte_swap) |
std::size_t | size_of_record_at_ptr (const char *const, const std::size_t, const bool) const |
Public Member Functions inherited from stir::ListTime | |
double | get_time_in_secs () const |
Succeeded | set_time_in_secs (const double time_in_secs) |
Public Member Functions inherited from stir::CListEventSAFIR< CListRecordSAFIR< DataType > > | |
CListEventSAFIR () | |
LORAs2Points< float > | get_LOR () const override |
Returns LOR corresponding to the given event. | |
void | get_bin (Bin &bin, const ProjDataInfo &proj_data_info) const override |
Override the default implementation. | |
bool | is_valid_template (const ProjDataInfo &) const override |
This method checks if the template is valid for LmToProjData. More... | |
bool | is_prompt () const override |
Returns 0 if event is prompt and 1 if delayed. | |
void | set_map_sptr (shared_ptr< const DetectorCoordinateMap > new_map_sptr) |
Function to set map for detector indices to coordinates. More... | |
void | set_scanner_sptr (shared_ptr< const Scanner > new_scanner_sptr) |
Public Member Functions inherited from stir::CListEvent | |
virtual Succeeded | set_prompt (const bool prompt=true) |
Changes the event from prompt to delayed or vice versa. More... | |
Class for general SAFIR record, containing a union of data, time and raw record and providing access to certain elements.