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

Class for storing and using a coincidence event from a list mode file. More...

#include "stir/listmode/CListRecord.h"

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

Public Member Functions

virtual Succeeded set_prompt (const bool prompt=true)
 Changes the event from prompt to delayed or vice versa. More...
 
- Public Member Functions inherited from stir::ListEvent
virtual bool is_prompt () const =0
 
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...
 

Detailed Description

Class for storing and using a coincidence event from a list mode file.

CListEvent is used to provide an interface to the actual events (i.e. detected counts) in the list mode stream.

Todo:
this is still under development. Things to add are for instance energy windows and time-of-flight info. Also, get_bin() would need time info or so for rotating scanners.
See also
CListModeData for more info on list mode data.

Member Function Documentation

◆ set_prompt()

Succeeded stir::CListEvent::set_prompt ( const bool  prompt = true)
virtual

Changes the event from prompt to delayed or vice versa.

Default implementation just returns Succeeded::no.

Reimplemented in stir::GE::RDF_HDF5::CListRecordGEHDF5, stir::ecat::ecat7::CListRecordECAT962, stir::ecat::ecat7::CListEventECAT966, stir::CListRecordLMF, stir::ecat::CListEventECAT8_32bit, and stir::CListEventPENN.


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