STIR  6.2.0
ListEvent.h
Go to the documentation of this file.
1 //
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 
32 START_NAMESPACE_STIR
33 
35 
45 class ListEvent
46 {
47 public:
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 
96 END_NAMESPACE_STIR
97 
98 #endif
Declaration of class stir::ProjDataInfo.
defines various classes for specifying a line in 3 dimensions
Class for storing and using gamma events from a list mode file.
Definition: ListEvent.h:45
A class for storing coordinates and value of a single projection bin.
Definition: Bin.h:48
Declaration of class stir::Bin.
An (abstract base) class that contains information on the projection data.
Definition: ProjDataInfo.h:69
defines the stir::CartesianCoordinate3D<coordT> class