STIR 6.4.0
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:

Public Member Functions

virtual Succeeded set_prompt (const bool prompt=true)
 Changes the event from prompt to delayed or vice versa.
 
- 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.
 
virtual void get_bin (Bin &bin, const ProjDataInfo &) const
 Finds the bin coordinates of this event for some characteristics of the projection data.
 
virtual bool is_valid_template (const ProjDataInfo &) const =0
 This method checks if the template is valid for LmToProjData.
 

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::CListEventPENN, stir::CListRecordLMF, stir::ecat::CListEventECAT8_32bit, stir::ecat::ecat7::CListEventECAT966, stir::ecat::ecat7::CListRecordECAT962, and stir::GE::RDF_HDF5::CListRecordGEHDF5.

References set_prompt().

Referenced by set_prompt().


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