21#ifndef __stir_data_SinglesRatesFromSglFile_H__
22#define __stir_data_SinglesRatesFromSglFile_H__
49 static const unsigned SIZE_OF_SINGLES_RECORD;
66 std::ostream&
write(std::ostream& output);
69 std::vector<int> _total_prompts;
70 std::vector<int> _total_randoms;
73 Main_header _singles_main_header;
76 std::string _sgl_filename;
78 virtual void set_defaults();
79 virtual void initialise_keymap();
80 virtual bool post_processing();
Declaration of class stir::RegisteredParsingObject.
Declaration of class stir::SinglesRatesForTimeSlices.
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files.
Definition RegisteredParsingObject.h:78
int read_singles_from_sgl_file(const std::string &sgl_filename)
The function that reads singles from *.sgl file.
Definition SinglesRatesFromSglFile.cxx:70
static const char *const registered_name
Name which will be used when parsing a SinglesRatesFromSglFile object.
Definition SinglesRatesFromSglFile.h:52
std::ostream & write(std::ostream &output)
Write the object to a stream in SGL format.
Definition SinglesRatesFromSglFile.cxx:215
SinglesRatesFromSglFile()
Default constructor.
Definition SinglesRatesFromSglFile.cxx:66
Declaration of routines which convert CTI things into our building blocks and vice versa.