SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <FlexibleModelFittingTaskFactory.h>
Public Member Functions | |
FlexibleModelFittingTaskFactory () | |
virtual | ~FlexibleModelFittingTaskFactory ()=default |
Destructor. More... | |
std::shared_ptr< Task > | createTask (const PropertyId &property_id) const override |
Returns a Task producing a Property corresponding to the given PropertyId. More... | |
void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override |
Registers all the Configuration dependencies. More... | |
void | configure (Euclid::Configuration::ConfigManager &manager) override |
Method which should initialize the object. More... | |
void | registerPropertyInstances (OutputRegistry &) override |
![]() | |
virtual | ~TaskFactory ()=default |
Destructor. More... | |
![]() | |
virtual | ~Configurable ()=default |
Destructor. More... | |
Private Attributes | |
std::string | m_least_squares_engine |
unsigned int | m_max_iterations {0} |
double | m_modified_chi_squared_scale {10} |
std::vector< std::shared_ptr < FlexibleModelFittingParameter > > | m_parameters |
std::vector< std::shared_ptr < FlexibleModelFittingFrame > > | m_frames |
std::vector< std::pair < std::string, std::vector < int > > > | m_outputs |
std::vector< std::shared_ptr < FlexibleModelFittingPrior > > | m_priors |
Definition at line 32 of file FlexibleModelFittingTaskFactory.h.
|
inline |
Definition at line 34 of file FlexibleModelFittingTaskFactory.h.
|
virtualdefault |
Destructor.
|
overridevirtual |
Method which should initialize the object.
The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.
manager | The manager to get the Configurations from |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 47 of file FlexibleModelFittingTaskFactory.cpp.
References Euclid::Configuration::ConfigManager::getConfiguration(), Elements::Logging::info(), SourceXtractor::logger, m_frames, m_least_squares_engine, m_max_iterations, m_modified_chi_squared_scale, m_outputs, m_parameters, and m_priors.
|
overridevirtual |
Returns a Task producing a Property corresponding to the given PropertyId.
Implements SourceXtractor::TaskFactory.
Definition at line 34 of file FlexibleModelFittingTaskFactory.cpp.
References m_frames, m_least_squares_engine, m_max_iterations, m_modified_chi_squared_scale, m_parameters, and m_priors.
|
overridevirtual |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 70 of file FlexibleModelFittingTaskFactory.cpp.
References m_outputs, std::vector< T >::push_back(), SourceXtractor::OutputRegistry::registerColumnConverter(), and std::vector< T >::size().
|
overridevirtual |
Registers all the Configuration dependencies.
Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use
manager | The manager to register the dependencies to |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 43 of file FlexibleModelFittingTaskFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
|
private |
Definition at line 52 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 47 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 48 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 49 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 53 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and registerPropertyInstances().
|
private |
Definition at line 51 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 54 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().