Namespaces | |
namespace | MagicConstants |
Classes | |
struct | CreateGammaConstraintsOutput |
Functions | |
void | configureConstrainedGammas (RooArgList const &gammas, std::span< const double > relSigmas, double minSigma) |
Configure constrained gamma parameters for fitting. | |
CreateGammaConstraintsOutput | createGammaConstraints (RooArgList const ¶mList, std::span< const double > relSigmas, double minSigma, Constraint::Type type) |
template<class Arg_t , class... Params_t> | |
Arg_t & | getOrCreate (RooWorkspace &ws, std::string const &name, Params_t &&...params) |
void RooStats::HistFactory::Detail::configureConstrainedGammas | ( | RooArgList const & | gammas, |
std::span< const double > | relSigmas, | ||
double | minSigma | ||
) |
Configure constrained gamma parameters for fitting.
This function configures constrained gamma parameters for fitting. If a given relative sigma is less than or equal to zero or below a threshold, the gamma parameter is set to be constant. The function also sets reasonable ranges for the gamma parameter and provides a reasonable starting point for pre-fit errors.
gammas | The gamma parameters to be configured. |
sigmaRel | The relative sigma values to be used for configuring the limits and errors. |
minSigma | The minimum relative sigma threshold. If a relative sigma is below this threshold, the gamma parameter is set to be constant. |
Definition at line 44 of file HistFactoryImpl.cxx.
CreateGammaConstraintsOutput RooStats::HistFactory::Detail::createGammaConstraints | ( | RooArgList const & | paramList, |
std::span< const double > | relSigmas, | ||
double | minSigma, | ||
Constraint::Type | type | ||
) |
Definition at line 85 of file HistFactoryImpl.cxx.
Arg_t & RooStats::HistFactory::Detail::getOrCreate | ( | RooWorkspace & | ws, |
std::string const & | name, | ||
Params_t &&... | params | ||
) |
Definition at line 38 of file HistFactoryImpl.h.