STIR  6.2.0
Public Member Functions | List of all members
stir::ecat::ecat7::CListEventDataECAT962 Class Reference

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

#include "stir/listmode/CListRecordECAT962.h"

Public Member Functions

bool is_prompt () const
 
Succeeded set_prompt (const bool prompt=true)
 
void get_sinogram_and_ring_coordinates (int &view, int &tangential_pos_num, unsigned int &ring_a, unsigned int &ring_b) const
 
void set_sinogram_and_ring_coordinates (const int view_num, const int tangential_pos_num, const unsigned int ring_a, const unsigned int ring_b)
 

Detailed Description

Class for storing and using a coincidence event from a listmode file.

The private definition is specific to the 962. Public members are generic though.

For the 962 the event word is 32 bit. To save 1 bit in size, a 2d sinogram encoding is used (as opposed to a detector number on the ring for both events). Both bin and view use 9 bits, so their maximum range is 512 values, which is fine for the 962 (which needs only 288).

The 962 has 2 other bits, one for the energy window, and a 'multiple' bit.

Todo:
use DetectionPosition etc.

Member Function Documentation

◆ get_sinogram_and_ring_coordinates()

void stir::ecat::ecat7::CListEventDataECAT962::get_sinogram_and_ring_coordinates ( int &  view,
int &  tangential_pos_num,
unsigned int &  ring_a,
unsigned int &  ring_b 
) const

This routine returns the corresponding tangential_pos_num,view_num,ring_a and ring_b

◆ set_sinogram_and_ring_coordinates()

void stir::ecat::ecat7::CListEventDataECAT962::set_sinogram_and_ring_coordinates ( const int  view_num,
const int  tangential_pos_num,
const unsigned int  ring_a,
const unsigned int  ring_b 
)

This routine constructs a coincidence event


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