STIR 6.4.0
ListEvent.h
Go to the documentation of this file.
1
2//
13/*
14 Copyright (C) 2003- 2011, Hammersmith Imanet Ltd
15 Copyright (C) 2019, National Physical Laboratory
16 Copyright (C) 2019, University College of London
17 This file is part of STIR.
18
19 SPDX-License-Identifier: Apache-2.0
20
21 See STIR/LICENSE.txt for details
22*/
23
24#ifndef __stir_listmode_ListEvent_H__
25#define __stir_listmode_ListEvent_H__
26
27#include "stir/Bin.h"
28#include "stir/ProjDataInfo.h"
30#include "stir/LORCoordinates.h"
31
32START_NAMESPACE_STIR
33
35
46{
47public:
48 virtual ~ListEvent() {}
49 virtual bool is_prompt() const = 0; // {return helper_is_prompt();}
50
52
66 virtual LORAs2Points<float> get_LOR() const = 0;
67
69
85 virtual void get_bin(Bin& bin, const ProjDataInfo&) const;
86
88
92 virtual bool is_valid_template(const ProjDataInfo&) const = 0;
93
94}; /*-coincidence event*/
95
96END_NAMESPACE_STIR
97
98#endif
Declaration of class stir::Bin.
defines the stir::CartesianCoordinate3D<coordT> class
defines various classes for specifying a line in 3 dimensions
Declaration of class stir::ProjDataInfo.
A class for storing coordinates and value of a single projection bin.
Definition Bin.h:49
A class for LORs.
Definition LORCoordinates.h:296
Class for storing and using gamma events from a list mode file.
Definition ListEvent.h:46
virtual void get_bin(Bin &bin, const ProjDataInfo &) const
Finds the bin coordinates of this event for some characteristics of the projection data.
Definition ListEvent.cxx:31
virtual bool is_valid_template(const ProjDataInfo &) const =0
This method checks if the template is valid for LmToProjData.
virtual LORAs2Points< float > get_LOR() const =0
Finds the LOR between the coordinates where the detection took place.
An (abstract base) class that contains information on the projection data.
Definition ProjDataInfo.h:70