Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooHelpers.cxx File Reference
#include "RooHelpers.h"
#include "RooAbsRealLValue.h"
#include "TClass.h"
Include dependency graph for RooHelpers.cxx:

Namespaces

namespace  RooHelpers
 

Functions

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 extraMessage="")
 Check if the parameters have a range, and warn if the range extends below / above the set limits.
 
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.
 
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.