13#ifndef RooFit_RooHelpers_h 
   14#define RooFit_RooHelpers_h 
   51   std::vector<RooMsgService::StreamConfig> 
fOldConf;
 
 
   81   std::vector<RooMsgService::StreamConfig> 
_oldConf;
 
 
   87                            double min = -std::numeric_limits<double>::max(),
 
 
Abstract base class for binned and unbinned datasets.
 
Abstract interface for all probability density functions.
 
Abstract base class for objects that represent a real value and implements functionality common to al...
 
Hijacks all messages with given level and topic (and optionally object name) while alive.
 
std::ostringstream & stream()
 
RooFit::MsgLevel _oldKillBelow
 
HijackMessageStream(RooFit::MsgLevel level, RooFit::MsgTopic topics, const char *objectName=nullptr)
Hijack all messages with given level and topics while this object is alive.
 
std::vector< RooMsgService::StreamConfig > _oldConf
 
~HijackMessageStream()
Deregister the hijacked stream and restore the stream state of all previous streams.
 
const HijackMessageStream & operator<<(const T &v) const
 
Switches the message service to a different level while the instance is alive.
 
RooFit::MsgLevel fOldKillBelow
 
LocalChangeMsgLevel(RooFit::MsgLevel lvl=RooFit::DEBUG, unsigned int extraTopics=0u, unsigned int removeTopics=0u, bool overrideExternalLevel=true)
Change message level (and topics) while this object is alive, reset when it goes out of scope.
 
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.
 
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.
 
Wrap an object into a TObject. Sometimes needed to avoid reinterpret_cast or enable RTTI.