24#ifndef __stir_listmode_LmToProjDataWithRandomRejection_H__
25#define __stir_listmode_LmToProjDataWithRandomRejection_H__
28#include <boost/random/uniform_01.hpp>
29#include <boost/random/mersenne_twister.hpp>
68template <
typename LmToProjDataT>
80 float set_reject_if_above(
const float);
89 void get_bin_from_event(
Bin& bin,
const ListEvent&)
const override;
96 float reject_if_above;
100 typedef LmToProjDataT base_type;
101 typedef boost::mt19937 random_generator_type;
102 random_generator_type random_generator;
104 void set_defaults()
override;
105 void initialise_keymap()
override;
106 bool post_processing()
override;
Declaration of the stir::LmToProjData class which is used to bin listmode data to (3d) sinograms.
A class for storing coordinates and value of a single projection bin.
Definition Bin.h:49
Class for storing and using gamma events from a list mode file.
Definition ListEvent.h:46
void start_new_time_frame(const unsigned int new_frame_num) override
will be called when a new time frame starts
Definition LmToProjDataWithRandomRejection.cxx:128
LmToProjDataWithRandomRejection(const char *const par_filename)
Constructor that parses from a file.
Definition LmToProjDataWithRandomRejection.cxx:54
unsigned int seed
used to seed the pseudo-random number generator
Definition LmToProjDataWithRandomRejection.h:95
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44