17#ifndef ROOFIT_ROOFITCORE_INC_ROOHELPERS_H_
18#define ROOFIT_ROOFITCORE_INC_ROOHELPERS_H_
47 unsigned int extraTopics = 0u,
48 unsigned int removeTopics = 0u,
49 bool overrideExternalLevel =
true);
55 std::vector<RooMsgService::StreamConfig>
fOldConf;
86 std::vector<RooMsgService::StreamConfig>
_oldConf;
91std::vector<std::string>
tokenise(
const std::string &str,
const std::string &delims,
bool returnEmptyToken =
true);
96 double min = -std::numeric_limits<double>::max(),
double max = std::numeric_limits<double>::max(),
97 bool limitsInAllowedRange =
false, std::string extraMessage =
"");
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
static void setDirtyInhibit(Bool_t flag)
Control global dirty inhibit mode.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Hijacks all messages with given level and topic (and optionally object name) while alive.
std::ostringstream & stream()
RooFit::MsgLevel _oldKillBelow
std::vector< RooMsgService::StreamConfig > _oldConf
const HijackMessageStream & operator<<(const T &v) const
Switches the message service to a different level while the instance is alive.
RooFit::MsgLevel fOldKillBelow
std::vector< RooMsgService::StreamConfig > fOldConf
Mother of all ROOT objects.
MsgLevel
Verbosity level for RooMsgService::StreamConfig in RooMsgService.
MsgTopic
Topics for a RooMsgService::StreamConfig in RooMsgService.
std::vector< std::string > tokenise(const std::string &str, const std::string &delims, bool returnEmptyToken=true)
Tokenise the string by splitting at the characters in delims.
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 extraMessage="")
Check if the parameters have a range, and warn if the range extends below / above the set limits.
std::pair< double, double > getRangeOrBinningInterval(RooAbsArg const *arg, const char *rangeName)
Get the lower and upper bound of parameter range if arg can be casted to RooAbsRealLValue.
Disable all caches for sub-branches in an expression tree.
DisableCachingRAII(bool oldState)
Inhibit all dirty-state propagation, and assume every node as dirty.
Wrap an object into a TObject. Sometimes needed to avoid reinterpret_cast or enable RTTI.