STIR 6.5.0
stir::ecat::CListSinglesECAT8_32bit Class Reference

A class for storing and using a singles bucket record from a listmode file from the ECAT 8_32bit scanner. More...

#include "stir/listmode/CListRecordECAT8_32bit.h"

Inheritance diagram for stir::ecat::CListSinglesECAT8_32bit:

Public Member Functions

Succeeded init_from_data_ptr (const void *const ptr)
bool is_accumulated_singles () const
 Returns true if this word is a singles record (type=1, subtype=0b10).
unsigned int get_bucket_index () const override
 Returns the singles bucket index.
float get_singles_count () const override
 Number of singles in this record.

Detailed Description

A class for storing and using a singles bucket record from a listmode file from the ECAT 8_32bit scanner.

Singles records are emitted by the scanner approximately once per second per bucket. Each record encodes the singles count for one detector bucket over the preceding interval. These are used to estimate dead time and randoms.

The PETLINK singles word has type=1, deadtimeetc=0b10 (i.e. is_other() == true in CListDataAnyECAT8_32bit), so it falls through the existing time/event checks.

Member Function Documentation

◆ get_bucket_index()

unsigned int stir::ecat::CListSinglesECAT8_32bit::get_bucket_index ( ) const
inlineoverridevirtual

Returns the singles bucket index.

Implements stir::ListAccumulatedSingles.

◆ get_singles_count()

float stir::ecat::CListSinglesECAT8_32bit::get_singles_count ( ) const
inlineoverridevirtual

Number of singles in this record.

The ECAT8 record stores this count divided by 8 (the 3 lowest bits are not stored), so it is scaled back here.

Implements stir::ListAccumulatedSingles.


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