SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::BackgroundConfig Class Reference

#include <BackgroundConfig.h>

Inheritance diagram for SourceXtractor::BackgroundConfig:
[legend]
Collaboration diagram for SourceXtractor::BackgroundConfig:
[legend]

Public Member Functions

 BackgroundConfig (long manager_id)
 
virtual ~BackgroundConfig ()=default
 
std::map< std::string, Configuration::OptionDescriptionListgetProgramOptions () override
 
void initialize (const UserValues &args) override
 
SeFloat getBackgroundLevel () const
 
bool isBackgroundLevelAbsolute () const
 
SeFloat getDetectionThreshold () const
 
bool isDetectionThresholdAbsolute () const
 
- Public Member Functions inherited from Euclid::Configuration::Configuration
 Configuration (long manager_id)
 
virtual ~Configuration ()=default
 
virtual void preInitialize (const UserValues &args)
 
virtual void postInitialize (const UserValues &args)
 
const std::set< std::type_index > & getDependencies ()
 
StategetCurrentState ()
 
State getCurrentState () const
 

Private Attributes

bool m_background_level_absolute
 
SeFloat m_background_level
 
bool m_detection_threshold_absolute
 
SeFloat m_detection_threshold
 

Additional Inherited Members

- Public Types inherited from Euclid::Configuration::Configuration
enum  State { State::CONSTRUCTED, State::PRE_INITIALIZED, State::INITIALIZED, State::FINAL }
 
typedef std::vector< boost::program_options::option_description > OptionDescriptionList
 
typedef std::map< std::string, boost::program_options::variable_value > UserValues
 
- Protected Member Functions inherited from Euclid::Configuration::Configuration
void declareDependency ()
 
T & getDependency ()
 
const T & getDependency () const
 

Detailed Description

Definition at line 30 of file BackgroundConfig.h.

Constructor & Destructor Documentation

◆ BackgroundConfig()

SourceXtractor::BackgroundConfig::BackgroundConfig ( long  manager_id)

Definition at line 33 of file BackgroundConfig.cpp.

◆ ~BackgroundConfig()

virtual SourceXtractor::BackgroundConfig::~BackgroundConfig ( )
virtualdefault

Member Function Documentation

◆ getBackgroundLevel()

SeFloat SourceXtractor::BackgroundConfig::getBackgroundLevel ( ) const
inline

Definition at line 42 of file BackgroundConfig.h.

References m_background_level.

◆ getDetectionThreshold()

SeFloat SourceXtractor::BackgroundConfig::getDetectionThreshold ( ) const
inline

Definition at line 50 of file BackgroundConfig.h.

References m_detection_threshold.

◆ getProgramOptions()

std::map< std::string, Configuration::OptionDescriptionList > SourceXtractor::BackgroundConfig::getProgramOptions ( )
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 41 of file BackgroundConfig.cpp.

References SourceXtractor::BACKGROUND_VALUE, std::string::c_str(), and SourceXtractor::THRESHOLD_VALUE.

Here is the call graph for this function:

◆ initialize()

void SourceXtractor::BackgroundConfig::initialize ( const UserValues args)
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 50 of file BackgroundConfig.cpp.

References SourceXtractor::BACKGROUND_VALUE, std::map< K, T >::end(), std::map< K, T >::find(), m_background_level, m_background_level_absolute, m_detection_threshold, m_detection_threshold_absolute, and SourceXtractor::THRESHOLD_VALUE.

Here is the call graph for this function:

◆ isBackgroundLevelAbsolute()

bool SourceXtractor::BackgroundConfig::isBackgroundLevelAbsolute ( ) const
inline

Definition at line 46 of file BackgroundConfig.h.

References m_background_level_absolute.

◆ isDetectionThresholdAbsolute()

bool SourceXtractor::BackgroundConfig::isDetectionThresholdAbsolute ( ) const
inline

Definition at line 54 of file BackgroundConfig.h.

References m_detection_threshold_absolute.

Member Data Documentation

◆ m_background_level

SeFloat SourceXtractor::BackgroundConfig::m_background_level
private

Definition at line 60 of file BackgroundConfig.h.

Referenced by getBackgroundLevel(), and initialize().

◆ m_background_level_absolute

bool SourceXtractor::BackgroundConfig::m_background_level_absolute
private

Definition at line 59 of file BackgroundConfig.h.

Referenced by initialize(), and isBackgroundLevelAbsolute().

◆ m_detection_threshold

SeFloat SourceXtractor::BackgroundConfig::m_detection_threshold
private

Definition at line 63 of file BackgroundConfig.h.

Referenced by getDetectionThreshold(), and initialize().

◆ m_detection_threshold_absolute

bool SourceXtractor::BackgroundConfig::m_detection_threshold_absolute
private

Definition at line 62 of file BackgroundConfig.h.

Referenced by initialize(), and isDetectionThresholdAbsolute().


The documentation for this class was generated from the following files: