17#ifndef ROOFIT_ROOFITCORE_INC_ROOHELPERS_H_
18#define ROOFIT_ROOFITCORE_INC_ROOHELPERS_H_
35 msg.setStreamStatus(0,
true);
42 msg.setStreamStatus(0,
true);
61 std::vector<RooMsgService::StreamConfig>
_oldConf;
65std::vector<std::string>
tokenise(
const std::string &str,
const std::string &delims);
Hijacks all messages with given level and topic (and optionally object name) while alive.
RooFit::MsgLevel _oldKillBelow
HijackMessageStream(RooFit::MsgLevel level, RooFit::MsgTopic topics, const char *objectName=nullptr)
std::vector< RooMsgService::StreamConfig > _oldConf
virtual ~HijackMessageStream()
Switches the message service to verbose while the instance alive.
RooFit::MsgLevel fOldKillBelow
RooMsgService::StreamConfig fOldConf
static RooMsgService & instance()
Return reference to singleton instance.
std::vector< std::string > tokenise(const std::string &str, const std::string &delims)
Tokenise the string by splitting at the characters in delims.
RooFit::MsgLevel minLevel