66 cout <<
"This optimizer is only a squeleton template to explain how to add an optimizer into CASToR." << endl;
67 cout <<
"If you want to implement your own optimizer, start from here." << endl;
68 cout <<
"The following options can be used (in this particular order when provided as a list):" << endl;
69 cout <<
" my parameter: blablabla" << endl;
126 if (
m_verbose>=2)
Cout(
"iOptimizerTemplate::Initialize() -> Use the template optimizer" << endl);
141 FLTNB a_multiplicativeCorrections,
FLTNB a_additiveCorrections,
174 FLTNB a_multiplicativeCorrections,
FLTNB a_additiveCorrections,
194 *ap_backwardValues = 1.;
206 FLTNB a_sensitivity,
FLTNB* ap_correctionValues )
213 *ap_newImageValue = a_currentImageValue;
bool m_listmodeCompatibility
~iOptimizerTemplate()
The destructor of iOptimizerTemplate.
Declaration of class iOptimizerTemplate.
iOptimizerTemplate()
The constructor of iOptimizerTemplate.
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child optimizer.
bool m_histogramCompatibility
int ReadOptionsList(const string &a_optionsList)
A function used to read options from a list of options.
int InitializeSpecific()
This function is used to initialize specific stuff to the child optimizer.
int DataSpaceSpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_backwardValues, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function performs the data space operations specific to the optimizer (computes the values to be...
This class is designed to generically described any iterative optimizer.
This class is designed to manage and store system matrix elements associated to a vEvent...
Declaration of class sOutputManager.
int ReadConfigurationFile(const string &a_configurationFile)
A function used to read options from a configuration file.
void ShowHelpSpecific()
A function used to show help about the child optimizer.
int SensitivitySpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_weight, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function compute the weight associated to the provided event (for sensitivity computation) ...
int ImageSpaceSpecificOperations(FLTNB a_currentImageValue, FLTNB *ap_newImageValue, FLTNB a_sensitivity, FLTNB *ap_correctionValues)
This function perform the image update step specific to the optimizer.