SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SamplingConfig.h
Go to the documentation of this file.
1
17
18#ifndef _SEIMPLEMENTATION_CONFIGURATION_SAMPLINGCONFIG_H_
19#define _SEIMPLEMENTATION_CONFIGURATION_SAMPLINGCONFIG_H_
20
21#include "Configuration/Configuration.h"
22
23namespace SourceXtractor {
24
26
27public:
28
29 explicit SamplingConfig(long manager_id);
30
31 virtual ~SamplingConfig() = default;
32
34
35 void preInitialize(const UserValues& args) override;
36
37 void initialize(const UserValues& args) override;
38
40 return m_adaptive_target;
41 }
42
43 double getScaleFactor() const {
44 return m_scale_factor;
45 }
46
47 size_t getMaxFitSize() const {
48 return m_max_fit_size;
49 }
50
51
52private:
56};
57
58
59} /* namespace SourceXtractor */
60
61#endif /* _SEIMPLEMENTATION_CONFIGURATION_SAMPLINGCONFIG_H_ */
std::map< std::string, boost::program_options::variable_value > UserValues
void preInitialize(const UserValues &args) override
std::map< std::string, OptionDescriptionList > getProgramOptions() override
double getAdaptiveTargetPrecision() const
void initialize(const UserValues &args) override
virtual ~SamplingConfig()=default