Base class for reading listmode files from the PENNPet Explorer scanner.
More...
#include "stir/IO/InputStreamWithRecordsFromUPENN.h"
|
typedef std::vector< long long int >::size_type | SavedPosition |
|
|
unsigned long int | get_total_number_of_events (CListRecordPENN &record) |
|
virtual Succeeded | create_output_file (const std::string ofilename)=0 |
|
virtual Succeeded | set_up () |
| Must be called before calling for the first event.
|
|
virtual Succeeded | get_next_record (CListRecordPENN &record)=0 |
|
virtual Succeeded | reset ()=0 |
| go back to starting position
|
|
virtual SavedPosition | save_get_position ()=0 |
|
virtual Succeeded | set_get_position (const SavedPosition &)=0 |
|
std::vector< std::streampos > | get_saved_get_positions () const |
|
void | set_saved_get_positions (const std::vector< std::streampos > &) |
|
std::streambuf & | get_stream () |
|
virtual void | set_current_record ()=0 |
|
virtual void | set_new_record (const bool &d, const short int &_dt, const unsigned short int &_xa, const unsigned short int &_xb, const unsigned short int &_za, const unsigned short int &_zb, const unsigned short int &_ea, const unsigned short int &_eb)=0 |
|
virtual std::string | get_registered_name () const =0 |
| Returns the name of the type of the object. More...
|
|
| ParsingObject (const ParsingObject &) |
|
ParsingObject & | operator= (const ParsingObject &) |
|
void | ask_parameters () |
|
virtual std::string | parameter_info () |
|
bool | parse (std::istream &f) |
|
bool | parse (const char *const filename) |
|
|
std::string | filename |
|
std::streampos | starting_stream_position |
|
std::vector< std::streampos > | saved_get_positions |
|
const uint8_t * | current_record |
|
int | eventSize = 0 |
|
int | low_energy_window = 0 |
|
int | up_energy_window = 1000 |
|
int | timeout = 0 |
|
long unsigned int | N |
| Total number of events.
|
|
long unsigned int | abrupt_counter |
| Stop after a predefined number of records, regardless of their type.
|
|
bool | has_output = false |
| This is a flag about a low lever function that replicates a listmode file preserving control records that are skipped in normal operations.
|
|
bool | abrupt_stop |
| This is a lower counter to abruptly stop the listmode file.
|
|
int | minE_chan |
| Minimum energy channel.
|
|
int | maxE_chan |
| Maximum energy channel.
|
|
bool | keep_prompt |
| In some processes it might be better to filter prompts and delayeds early.
|
|
bool | keep_delayed |
| In some processes it might be better to filter prompts and delayeds early.
|
|
KeyParser | parser |
|
Base class for reading listmode files from the PENNPet Explorer scanner.
- abrupt_stop is a lower level counter to make the listmode operations be more consistent on
- how they process the total number of events. For example, if a file has 1M events (prompts + delay) and the user wishes to process 50% of the file. If in the e.g. lm_to_projdata sets 500K then each type of event (either prompt or delay) will continue until 500K events have been processed. This breaks the randoms' fraction. Setting the abrupt_stop to 500K, the InputStream will stop on the 500K^{th} event of either type.
- Requirements
This
needs access to the IRX libraries.
◆ post_processing()
bool stir::InputStreamWithRecordsFromUPENN::post_processing |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: