STIR  6.2.0
AbsTimeIntervalFromECAT7ACF.h
Go to the documentation of this file.
1 //
2 //
3 /*
4  Copyright (C) 2005- 2005 , Hammersmith Imanet Ltd
5  SPDX-License-Identifier: Apache-2.0
6  See STIR/LICENSE.txt for details
7 */
8 #ifndef __stir_AbsTimeIntervalFromECAT7ACF__H__
9 #define __stir_AbsTimeIntervalFromECAT7ACF__H__
10 
21 #include <string>
22 
23 START_NAMESPACE_STIR
24 class Succeeded;
25 
35 class AbsTimeIntervalFromECAT7ACF : public RegisteredParsingObject<AbsTimeIntervalFromECAT7ACF, AbsTimeInterval, AbsTimeInterval>
36 {
37 
38 public:
40  static const char* const registered_name;
41 
42  ~AbsTimeIntervalFromECAT7ACF() override {}
46 
47  AbsTimeIntervalFromECAT7ACF(const std::string& filename, const double duration_in_secs);
48 
49 private:
50  std::string _attenuation_filename;
51  double _transmission_duration;
52 
53  void set_defaults() override;
54  void initialise_keymap() override;
55  bool post_processing() override;
56 
57  Succeeded set_times();
58 };
59 
60 END_NAMESPACE_STIR
61 #endif
Declaration of class stir::AbsTimeInterval.
class for specifying a time interval via an ECAT7 .a file
Definition: AbsTimeIntervalFromECAT7ACF.h:35
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
static const char *const registered_name
Name which will be used when parsing a AbsTimeInterval object.
Definition: AbsTimeIntervalFromECAT7ACF.h:40
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
Declaration of class stir::RegisteredParsingObject.