18 #ifndef __stir_IO_InputStreamFromROOTFileForECATPET_H__ 19 #define __stir_IO_InputStreamFromROOTFileForECATPET_H__ 68 :
public RegisteredParsingObject<InputStreamFromROOTFileForECATPET, InputStreamFromROOTFile, InputStreamFromROOTFile>
80 #if 0 // not used, so commented out 82 std::string chain_name,
83 int crystal_repeater_x,
int crystal_repeater_y,
int crystal_repeater_z,
84 int blocks_repeater_y,
int blocks_repeater_z,
85 bool exclude_scattered,
bool exclude_randoms,
86 float low_energy_window,
float up_energy_window,
96 virtual std::string method_info()
const;
98 Succeeded set_up(
const std::string& header_path)
override;
101 inline int get_num_rings()
const override;
103 inline int get_num_dets_per_ring()
const override;
105 inline int get_num_axial_blocks_per_bucket_v()
const override;
107 inline int get_num_transaxial_blocks_per_bucket_v()
const override;
109 inline int get_num_axial_crystals_per_singles_unit()
const override;
111 inline int get_num_trans_crystals_per_singles_unit()
const override;
113 inline void set_block_repeater_y(
int);
114 inline void set_block_repeater_z(
int);
117 void set_defaults()
override;
118 void initialise_keymap()
override;
119 bool post_processing()
override;
123 TBranch* br_crystalID1 =
nullptr;
124 TBranch* br_crystalID2 =
nullptr;
125 TBranch* br_blockID1 =
nullptr;
126 TBranch* br_blockID2 =
nullptr;
131 std::int32_t blockID1, blockID2;
132 std::int32_t crystalID1, crystalID2;
135 int block_repeater_y;
136 int block_repeater_z;
144 bool check_all_required_keywords_are_set(std::string& ret)
const;
147 #include "stir/IO/InputStreamFromROOTFileForECATPET.inl" A class for a general element of a listmode file for a Siemens scanner using the ROOT files...
Definition: CListRecordROOT.h:97
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
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.