Namespaces | |
namespace | Detail |
Classes | |
struct | BinnedLOutput |
class | HijackMessageStream |
Hijacks all messages with given level and topic (and optionally object name) while alive. More... | |
class | LocalChangeMsgLevel |
Switches the message service to a different level while the instance is alive. More... | |
struct | WrapIntoTObject |
Wrap an object into a TObject. Sometimes needed to avoid reinterpret_cast or enable RTTI. More... | |
Functions | |
bool | checkIfRangesOverlap (RooArgSet const &observables, std::vector< std::string > const &rangeNames) |
void | checkRangeOfParameters (const RooAbsReal *callingClass, std::initializer_list< const RooAbsReal * > pars, double min=-std::numeric_limits< double >::max(), double max=std::numeric_limits< double >::max(), bool limitsInAllowedRange=false, std::string const &extraMessage="") |
Check if the parameters have a range, and warn if the range extends below / above the set limits. | |
template<class T > | |
std::unique_ptr< T > | cloneTreeWithSameParameters (T const &arg, RooArgSet const *observables=nullptr) |
Clone RooAbsArg object and reattach to original parameters. | |
BinnedLOutput | getBinnedL (RooAbsPdf const &pdf) |
std::string | getColonSeparatedNameString (RooArgSet const &argSet, char delim=':') |
std::string | getRangeNameForSimComponent (std::string const &rangeName, bool splitRange, std::string const &catName) |
std::pair< double, double > | getRangeOrBinningInterval (RooAbsArg const *arg, const char *rangeName) |
void | getSortedComputationGraph (RooAbsArg const &func, RooArgSet &out) |
RooArgSet | selectFromArgSet (RooArgSet const &, std::string const &names) |
bool RooHelpers::checkIfRangesOverlap | ( | RooArgSet const & | observables, |
std::vector< std::string > const & | rangeNames | ||
) |
void RooHelpers::checkRangeOfParameters | ( | const RooAbsReal * | callingClass, |
std::initializer_list< const RooAbsReal * > | pars, | ||
double | min, | ||
double | max, | ||
bool | limitsInAllowedRange, | ||
std::string const & | extraMessage | ||
) |
Check if the parameters have a range, and warn if the range extends below / above the set limits.
[in] | callingClass | Class that's calling. Needed to include name and type name of the class in error message. |
[in] | pars | List of all parameters to be checked. |
[in] | min | Minimum of allowed range. min itself counts as disallowed. |
[in] | max | Maximum of allowed range. max itself counts as disallowed. |
[in] | limitsInAllowedRange | If true, the limits passed as parameters are part of the allowed range. |
[in] | extraMessage | Message that should be appended to the warning. |
Definition at line 118 of file RooHelpers.cxx.
std::unique_ptr< T > RooHelpers::cloneTreeWithSameParameters | ( | T const & | arg, |
RooArgSet const * | observables = nullptr |
||
) |
Clone RooAbsArg object and reattach to original parameters.
Definition at line 80 of file RooFitImplHelpers.h.
BinnedLOutput RooHelpers::getBinnedL | ( | RooAbsPdf const & | ) |
std::string RooHelpers::getColonSeparatedNameString | ( | RooArgSet const & | argSet, |
char | delim = ':' |
||
) |
std::string RooHelpers::getRangeNameForSimComponent | ( | std::string const & | rangeName, |
bool | splitRange, | ||
std::string const & | catName | ||
) |
std::pair< double, double > RooHelpers::getRangeOrBinningInterval | ( | RooAbsArg const * | arg, |
const char * | rangeName | ||
) |