GooFit  v2.1.3
Public Member Functions | Protected Attributes | List of all members
GooFit::FitControl Class Reference

#include <FitControl.h>

Inheritance diagram for GooFit::FitControl:
GooFit::BinnedChisqFit GooFit::BinnedErrorFit GooFit::BinnedNllFit GooFit::UnbinnedNllFit

Public Member Functions

 FitControl (bool bin, std::string mn)
 
bool binnedFit () const
 
bool binErrors () const
 
bool metricIsPdf () const
 
std::string getMetric () const
 

Protected Attributes

bool errorsOnBins {false}
 

Detailed Description

Definition at line 13 of file FitControl.h.

Constructor & Destructor Documentation

◆ FitControl()

GooFit::FitControl::FitControl ( bool  bin,
std::string  mn 
)
inline

Definition at line 15 of file FitControl.h.

16  : binned(bin)
17  , metricName(mn) {}

Member Function Documentation

◆ binErrors()

bool GooFit::FitControl::binErrors ( ) const
inline

Definition at line 20 of file FitControl.h.

References errorsOnBins.

20 { return errorsOnBins; }

◆ binnedFit()

bool GooFit::FitControl::binnedFit ( ) const
inline

Definition at line 19 of file FitControl.h.

19 { return binned; }

◆ getMetric()

std::string GooFit::FitControl::getMetric ( ) const
inline

Definition at line 22 of file FitControl.h.

22 { return metricName; }

◆ metricIsPdf()

bool GooFit::FitControl::metricIsPdf ( ) const
inline

Definition at line 21 of file FitControl.h.

References errorsOnBins.

21 { return !errorsOnBins; }

Member Data Documentation

◆ errorsOnBins

bool GooFit::FitControl::errorsOnBins {false}
protected

Definition at line 25 of file FitControl.h.

Referenced by binErrors(), GooFit::BinnedErrorFit::BinnedErrorFit(), and metricIsPdf().


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