Skip to content

Commit

Permalink
Expose current_time in LmToProjData.
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Jehl committed Oct 15, 2024
1 parent 33a0106 commit 3bfb890
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/include/stir/listmode/LmToProjData.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ class LmToProjData : public LmToProjDataAbstract
bool get_store_prompts() const;
void set_store_delayeds(bool);
bool get_store_delayeds() const;
double get_current_time() const;
void set_num_segments_in_memory(int);
int get_num_segments_in_memory() const;
void set_num_events_to_store(long int);
Expand Down
6 changes: 6 additions & 0 deletions src/listmode_buildblock/LmToProjData.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ LmToProjData::get_output_filename_prefix() const
return output_filename_prefix;
}

double
LmToProjData::get_current_time() const
{
return this->current_time;
}

void
LmToProjData::set_output_projdata_sptr(shared_ptr<ProjData>& arg)
{
Expand Down

0 comments on commit 3bfb890

Please sign in to comment.