STIR
6.2.0
|
A class for storing 2 coordinates-sets of a detection, together with a timing-position index (for TOF), as suitable for PET. More...
#include "stir/DetectionPositionPair.h"
Public Member Functions | |
DetectionPositionPair () | |
default constructor More... | |
DetectionPositionPair (const DetectionPosition< coordT > &, const DetectionPosition< coordT > &, const int timing_pos=0) | |
const DetectionPosition< coordT > & | pos1 () const |
const DetectionPosition< coordT > & | pos2 () const |
int | timing_pos () const |
DetectionPosition< coordT > & | pos1 () |
DetectionPosition< coordT > & | pos2 () |
int & | timing_pos () |
bool | operator== (const DetectionPositionPair &) const |
comparison operators | |
bool | operator!= (const DetectionPositionPair &) const |
A class for storing 2 coordinates-sets of a detection, together with a timing-position index (for TOF), as suitable for PET.
Note: all parameters are w.r.t. to the original scanner object. In particular, the timing_pos
is an index in "unmashed" TOF bins (normally determined by the ADC of the scanner), which could have much higher resolution than what is used in the projection data from the scanner.
|
inline |
default constructor
sets TOF bin to 0, but leaves others coordinates undefined