21#ifndef __stir_listmode_CListModeDataROOT_H__
22#define __stir_listmode_CListModeDataROOT_H__
113 std::string
get_name()
const override;
129 inline unsigned long int get_total_number_of_events()
const override;
133 Succeeded check_scanner_definition(std::string& ret);
135 Succeeded check_scanner_match_geometry(std::string& ret,
const shared_ptr<Scanner>& scanner_sptr);
138 std::string hroot_filename;
141 shared_ptr<InputStreamFromROOTFile> root_file_sptr;
148 std::string originating_system;
154 int num_detectors_per_ring;
156 int max_num_non_arccorrected_bins;
158 int default_num_arccorrected_bins;
162 float inner_ring_diameter;
164 float average_depth_of_interaction;
177 int max_num_timing_bins;
179 float size_timing_bin;
181 float timing_resolution;
188 float energy_resolution;
190 float reference_energy;
Declaration of class stir::CListModeData.
Classes for listmode events for GATE simulated ROOT data.
Declaration of class stir::KeyParser.
Succeeded get_next_record(CListRecord &record) const override
Gets the next record in the listmode sequence.
Definition CListModeDataROOT.cxx:231
bool has_delayeds() const override
Return if the file stores delayed events as well (as opposed to prompts)
Definition CListModeDataROOT.h:127
void set_defaults()
Set private members default values;.
Definition CListModeDataROOT.cxx:262
std::string get_name() const override
returns the header filename
Definition CListModeDataROOT.cxx:211
Succeeded set_get_position(const SavedPosition &) override
Set the position for reading to a previously saved point.
Definition CListModeDataROOT.cxx:256
Succeeded reset() override
Call this function if you want to re-start reading at the beginning.
Definition CListModeDataROOT.cxx:238
shared_ptr< CListRecord > get_empty_record_sptr() const override
Get a pointer to an empty record.
Definition CListModeDataROOT.cxx:217
CListModeDataROOT(const std::string &hroot_filename_prefix)
construct from the filename of the Interfile header
Definition CListModeDataROOT.cxx:38
SavedPosition save_get_position() override
Save the current reading position.
Definition CListModeDataROOT.cxx:250
The base class for reading PET (i.e. coincidence) list mode data.
Definition CListModeData.h:51
Class for records in a PET list mode file.
Definition CListRecord.h:67
A class to parse Interfile headers.
Definition KeyParser.h:162
unsigned int SavedPosition
Use this typedef for save/set_get_position.
Definition ListModeData.h:129
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44