Logo ROOT  
Reference Guide
RooHelpers.cxx File Reference
#include "RooHelpers.h"
#include "RooAbsPdf.h"
#include "RooAbsData.h"
#include "RooDataHist.h"
#include "RooDataSet.h"
#include "RooAbsRealLValue.h"
#include "RooArgList.h"
#include "TClass.h"
Include dependency graph for RooHelpers.cxx:




bool RooHelpers::checkIfRangesOverlap (RooAbsPdf const &pdf, RooAbsData const &data, std::vector< std::string > const &rangeNames)
 Check if there is any overlap when a list of ranges is applied to a set of observables. More...
void RooHelpers::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. More...
std::string RooHelpers::getColonSeparatedNameString (RooArgSet const &argSet)
 Create a string with all sorted names of RooArgSet elements separated by colons. More...
std::pair< double, doubleRooHelpers::getRangeOrBinningInterval (RooAbsArg const *arg, const char *rangeName)
 Get the lower and upper bound of parameter range if arg can be casted to RooAbsRealLValue. More...
RooArgSet RooHelpers::selectFromArgSet (RooArgSet const &argSet, std::string const &names)
 Construct a RooArgSet of objects in a RooArgSet whose names match to those in the names string. More...
std::vector< std::string > RooHelpers::tokenise (const std::string &str, const std::string &delims, bool returnEmptyToken)
 Tokenise the string by splitting at the characters in delims. More...