Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooHelpers.cxx File Reference
#include <RooHelpers.h>
#include <RooAbsCategory.h>
#include <RooAbsData.h>
#include <RooAbsPdf.h>
#include <RooAbsRealLValue.h>
#include <RooArgList.h>
#include <RooDataHist.h>
#include <RooDataSet.h>
#include <RooSimultaneous.h>
#include <ROOT/StringUtils.hxx>
#include <TClass.h>
Include dependency graph for RooHelpers.cxx:

Namespaces

namespace  RooHelpers
 

Functions

bool RooHelpers::checkIfRangesOverlap (RooAbsPdf const &pdf, RooAbsData const &data, std::vector< std::string > const &rangeNames, bool splitRange)
 Check if there is any overlap when a list of ranges is applied to a set of observables.
 
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.
 
std::string RooHelpers::getColonSeparatedNameString (RooArgSet const &argSet)
 Create a string with all sorted names of RooArgSet elements separated by colons.
 
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.
 
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.