17 #ifndef __stir_listmode_CListRecordPENN_H__ 18 #define __stir_listmode_CListRecordPENN_H__ 39 void init_from_data(
bool d,
int dt,
int xa,
int xb,
int za,
int zb,
int ea,
int eb);
41 inline bool is_prompt()
const {
return delay ==
false; }
49 return Succeeded::yes;
53 std::vector<int> segment_sequence;
54 std::vector<int> sizes;
59 short int orig_tof_bin;
65 unsigned short int orig_z1, orig_z2;
67 int quarter_of_detectors;
72 class CListTimePENN :
public ListTime 75 Succeeded init_from_data_ptr(
const void*
const ptr) {
return Succeeded::yes; }
76 bool is_time()
const {
return false; }
77 inline unsigned long get_time_in_millisecs()
const {
return 0; }
78 inline Succeeded set_time_in_millisecs(
const unsigned long time_in_millisecs) {
return Succeeded::yes; }
90 bool is_time()
const {
return false; }
95 bool is_event()
const {
return true; }
97 virtual const CListEventPENN& event()
const {
return this->event_data; }
98 virtual CListTimePENN& time() {
return this->time_data; }
99 virtual const CListTimePENN& time()
const {
return this->time_data; }
104 CListRecordPENN(
const shared_ptr<Scanner>& scanner_sptr)
105 : event_data(scanner_sptr)
108 virtual Succeeded init_from_data(
int is_delay,
int dt,
int xa,
int xb,
int za,
int zb,
int ea,
int eb)
111 this->event_data.init_from_data(is_delay, dt, xa, xb, za, zb, ea, eb);
114 return Succeeded::yes;
119 CListTimePENN time_data;
Class for storing and using a coincidence event from a list mode file for a cylindrical scanner...
Definition: CListEventCylindricalScannerWithDiscreteDetectors.h:31
Class for handling PENNPet Explorer events.
Definition: CListRecordPENN.h:30
Succeeded set_prompt(const bool _prompt=true)
Changes the event from prompt to delayed or vice versa.
Definition: CListRecordPENN.h:43
Class for records in a PET list mode file.
Definition: CListRecord.h:66
Declarations of class stir::CListEventCylindricalScannerWithDiscreteDetectors.
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
A class for storing and using a timing record from a listmode file.
Definition: ListTime.h:46
A class for storing 2 coordinates-sets of a detection, together with a timing-position index (for TOF...
Definition: DetectionPositionPair.h:40