STIR  6.2.0
Public Member Functions | Friends | List of all members
stir::CListRecordLMF Class Reference

A class for a general element of a listmode file. More...

#include "stir_experimental/listmode/CListRecordLMF.h"

Inheritance diagram for stir::CListRecordLMF:
Inheritance graph
[legend]

Public Member Functions

CListRecordLMFoperator= (const CListEventDataLMF &event)
 
bool is_time () const
 
bool is_event () const
 
virtual CListEventevent ()
 
virtual const CListEventevent () const
 
virtual ListTimetime ()
 
virtual const ListTimetime () 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
 

Detailed Description

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.

Member Function Documentation

◆ set_prompt()

Succeeded stir::CListRecordLMF::set_prompt ( const bool  prompt = true)
inlinevirtual

Changes the event from prompt to delayed or vice versa.

Default implementation just returns Succeeded::no.

Reimplemented from stir::CListEvent.


The documentation for this class was generated from the following file: