LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst::jointcal::JointcalControl Struct Reference

#include <JointcalControl.h>

Public Member Functions

 JointcalControl (std::string const &sourceFluxField="slot_CalibFlux")
 
 ~JointcalControl ()
 
void validate () const
 

Public Attributes

std::string sourceFluxField
 "name of flux field in source catalog" ; More...
 

Detailed Description

Definition at line 39 of file JointcalControl.h.

Constructor & Destructor Documentation

◆ JointcalControl()

lsst::jointcal::JointcalControl::JointcalControl ( std::string const &  sourceFluxField = "slot_CalibFlux")
inlineexplicit

Definition at line 42 of file JointcalControl.h.

43  : // Set sourceFluxType to the value used in the source selector.
45  validate();
46  }

◆ ~JointcalControl()

lsst::jointcal::JointcalControl::~JointcalControl ( )
inline

Definition at line 48 of file JointcalControl.h.

48 {};

Member Function Documentation

◆ validate()

void lsst::jointcal::JointcalControl::validate ( ) const
inline

Definition at line 50 of file JointcalControl.h.

50  {
51  if (sourceFluxField.empty()) {
52  throw LSST_EXCEPT(pexExcept::InvalidParameterError, "sourceFluxField must be specified");
53  }
54  }

Member Data Documentation

◆ sourceFluxField

std::string lsst::jointcal::JointcalControl::sourceFluxField

"name of flux field in source catalog" ;

Definition at line 40 of file JointcalControl.h.


The documentation for this struct was generated from the following file:
lsst::jointcal::JointcalControl::validate
void validate() const
Definition: JointcalControl.h:50
LSST_EXCEPT
#define LSST_EXCEPT(type,...)
Create an exception with a given type.
Definition: Exception.h:48
lsst::pex::exceptions::InvalidParameterError
Reports invalid arguments.
Definition: Runtime.h:66
lsst::jointcal::JointcalControl::sourceFluxField
std::string sourceFluxField
"name of flux field in source catalog" ;
Definition: JointcalControl.h:40
std::string::empty
T empty(T... args)