STIR  6.2.0
SinglesRatesFromECAT7.h
Go to the documentation of this file.
1 //
2 //
3 /*
4  Copyright (C) 2000- 2007, Hammersmith Imanet Ltd
5  This file is part of STIR.
6 
7  SPDX-License-Identifier: Apache-2.0
8 
9  See STIR/LICENSE.txt for details
10 */
19 #ifndef __stir_data_SinglesRatesFromECAT7_H__
20 #define __stir_data_SinglesRatesFromECAT7_H__
21 
24 #include "stir/IO/stir_ecat7.h" // necessary for namespace macros
25 START_NAMESPACE_STIR
26 START_NAMESPACE_ECAT
27 START_NAMESPACE_ECAT7
28 
33 class SinglesRatesFromECAT7 : public RegisteredParsingObject<SinglesRatesFromECAT7, SinglesRates, SinglesRatesForTimeFrames>
34 {
35 public:
37  static const char* const registered_name;
38 
41 
43 
45  int read_singles_from_file(const std::string& ECAT7_filename, const std::ios::openmode open_mode = std::ios::in);
46 
47 private:
48  std::string ECAT7_filename;
49  virtual void set_defaults();
50  virtual void initialise_keymap();
51  virtual bool post_processing();
52 };
53 
54 END_NAMESPACE_ECAT7
55 END_NAMESPACE_ECAT
56 END_NAMESPACE_STIR
57 
58 #endif
static const char *const registered_name
Name which will be used when parsing a SinglesRatesFromECAT7 object.
Definition: SinglesRatesFromECAT7.h:37
Declaration of routines which convert CTI things into our building blocks and vice versa...
Declaration of class stir::SinglesRatesForTimeFrames.
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
A class that extracts singles info from an ECAT7 sinogram file.
Definition: SinglesRatesFromECAT7.h:33
Declaration of class stir::RegisteredParsingObject.