STIR 6.5.0
stir::ListAccumulatedSingles Class Referenceabstract

Class for an accumulated singles record in a listmode file. More...

#include "stir/listmode/ListAccumulatedSingles.h"

Inheritance diagram for stir::ListAccumulatedSingles:

Public Member Functions

virtual unsigned int get_bucket_index () const =0
 Returns the singles bucket index.
virtual float get_singles_count () const =0
 Returns the accumulated singles count for this bucket.

Detailed Description

Class for an accumulated singles record in a listmode file.

Provides an interface to singles bucket data embedded in list-mode streams, following the pattern of ListTime and ListEvent.

Each record holds the number of singles accumulated by one singles unit (bucket) over some time interval. This is not a histogram in the sense of having multiple bins, and it does not describe individual singles events (which would need a different class).

Member Function Documentation

◆ get_bucket_index()

virtual unsigned int stir::ListAccumulatedSingles::get_bucket_index ( ) const
pure virtual

Returns the singles bucket index.

Implemented in stir::ecat::CListSinglesECAT8_32bit.

◆ get_singles_count()

virtual float stir::ListAccumulatedSingles::get_singles_count ( ) const
pure virtual

Returns the accumulated singles count for this bucket.

Implemented in stir::ecat::CListSinglesECAT8_32bit.


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